2 .TH MKFS 8 "Jun 1995" "Version 1.9"
4 mkfs \- build a Linux file system
23 is used to build a Linux file system on a device, usually
24 a hard disk partition.
26 is either the device name (e.g.
29 or the mount point (e.g.
35 is the number of blocks to be used for the file system.
37 The exit code returned by
39 is 0 on success and 1 on failure.
43 is simply a front-end for the various file system builders
44 (\fBmkfs\fR.\fIfstype\fR)
45 available under Linux.
46 The file system-specific builder is searched for in a number
47 of directories like perhaps
53 (the precise list is defined at compile time but at least
58 and finally in the directories
59 listed in the PATH enviroment variable.
60 Please see the file system-specific builder manual pages for
65 Produce verbose output, including all file system-specific commands
67 Specifying this option more than once inhibits execution of any
68 file system-specific commands.
69 This is really only useful for testing.
72 Specifies the type of file system to be built.
73 If not specified, the default file system type
74 (currently ext2) is used.
77 File system-specific options to be passed to the real file
79 Although not guaranteed, the following options are supported
80 by most file system builders.
83 Check the device for bad blocks before building the file system.
86 Read the bad blocks list from
90 Produce verbose output.
92 All generic options must precede and not be combined with
93 file system-specific options.
94 Some file system-specific programs do not support the
96 (verbose) option, nor return meaningful exit codes.
97 Also, some file system-specific programs do not automatically
98 detect the device size and require the
100 parameter to be specified.
102 David Engel (david@ods.com)
104 Fred N. van Kempen (waltje@uwalt.nl.mugnet.org)
106 Ron Sommeling (sommel@sci.kun.nl)
108 The manual page was shamelessly adapted from Remy Card's version
109 for the ext2 file system.