\section{Creating and formatting filesystems}
\begin{frame}
   {mkfs}

   \begin{itemize}
      \item General format for \textbf{mkfs}:

      \begin{cmd}
mkfs [-t fstype] [options] [device-file]
      \end{cmd}

      \item \filelink{[device-file]} is usually a device name like
      \filelink{/dev/sda3} or \filelink{/dev/vg/lvm1}.

      \item Each filesystem type has its own particular
      formatting options

      \item Each filesystem has its own \textbf{mkfs} program

      \item Equivalent commands:

      \begin{cmd}
$ sudo mkfs -t ext4 /dev/sda10
$ sudo mkfs.ext4 /dev/sda10
      \end{cmd}
   \end{itemize}

\end{frame}

\cprotect\note{

   Every filesystem type has a utility for
   \textbf{formatting} (making) a filesystem on a
   partition.  The generic name for these utilities is
   \textbf{mkfs}.
   However \textbf{mkfs} is just a front-end for
   filesystem-specific programs, each of which may have particular options:

   \begin{figure}[H]
      \includegraphics[width=5.5in]{IMAGES/mkfs}
      \caption{mkfs}
   \end{figure}
   \vspace{-20pt}
   One should look at the \textbf{man} page for each of the
   \textbf{mkfs.*} programs to see details.


}



