\fBThis mkfs frontend is deprecated in favour of filesystem specific mkfs.<type> utils.\fP
.sp
\fBmkfs\fP is used to build a Linux filesystem on a device, usually a hard disk partition. The \fIdevice\fP argument is either the device name (e.g., \fI/dev/hda1\fP, \fI/dev/sdb2\fP), or a regular file that shall contain the filesystem. The \fIsize\fP argument is the number of blocks to be used for the filesystem.
.sp
The exit status returned by \fBmkfs\fP is 0 on success and 1 on failure.
.sp
In actuality, \fBmkfs\fP is simply a front\-end for the various filesystem builders (\fBmkfs.\fP\fIfstype\fP) available under Linux. The filesystem\-specific builder is searched for via your \fBPATH\fP environment setting only. Please see the filesystem\-specific builder manual pages for further details.
.SH"OPTIONS"
.sp
\fB\-t\fP, \fB\-\-type\fP\fItype\fP
.RS4
Specify the \fItype\fP of filesystem to be built. If not specified, the default filesystem type (currently ext2) is used.
.RE
.sp
\fIfs\-options\fP
.RS4
Filesystem\-specific options to be passed to the real filesystem builder.
.RE
.sp
\fB\-V\fP, \fB\-\-verbose\fP
.RS4
Produce verbose output, including all filesystem\-specific commands that are executed. Specifying this option more than once inhibits execution of any filesystem\-specific commands. This is really only useful for testing.
(Option \fB\-V\fP will display version information only when it is the only parameter, otherwise it will work as \fB\-\-verbose\fP.)
.RE
.SH"BUGS"
.sp
All generic options must precede and not be combined with filesystem\-specific options. Some filesystem\-specific programs do not automatically detect the device size and require the \fIsize\fP parameter to be specified.
.SH"AUTHORS"
.sp
.MTO"david\(atods.com""David Engel"","
.MTO"waltje\(atuwalt.nl.mugnet.org""Fred N. van Kempen"","
.MTO"sommel\(atsci.kun.nl""Ron Sommeling""."
.sp
The manual page was shamelessly adapted from Remy Card\(cqs version for the ext2 filesystem.