2 .\" Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved.
3 .\" This file may be copied under the terms of the GNU Public License.
5 .TH MKE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
7 mke2fs \- create a Linux second extended file system
33 .I reserved-blocks-percentage
54 .I last-mounted-directory
65 is used to create a Linux second extended file system on a device (usually
69 is the special file corresponding to the device (e.g /dev/hdXX).
72 is the number of blocks on the device. If omitted,
74 automagically figures the file system size.
78 Specify the size of blocks in bytes.
81 Check the device for bad blocks before creating the file system, using a
85 Specify the size of fragments in bytes.
88 Specify the bytes/inode ratio.
90 creates an inode for every
92 bytes of space on the disk. This value defaults to 4096 bytes.
94 must be at least 1024.
97 Read the bad blocks list from
101 .I -m reserved-blocks-percentage
102 Specify the percentage of reserved blocks for the super-user. This value
106 .\" Check the device for bad blocks before creating the file system
107 .\" using the specified test.
110 Manually override the default value of the "creator os" field of the
111 filesystem. Normally the creator field is set by default to the native OS
112 of the mke2fs executable.
115 Quiet execution. Useful if mke2fs is run in a script.
121 Force mke2fs to run, even if the specified device is not a
122 block special device.
125 Set the volume label for the filesystem.
128 Set the last mounted directory for the filesystem. This might be useful
129 for the sake of utilities that key off of the last mounted directory to
130 determine where the filesytem should be mounted.
133 Write superblock and group descriptors only. This is useful if all of
134 the superblock and backup superblocks are corrupted, and a last-ditch
135 recovery method is desired. It causes mke2fs to reinitialize the
136 superblock and group descriptors, while not touching the inode table
137 and the block and inode bitmaps. The
139 program should be run immediately after this option is used, and there
140 is no guarantee that any data will be salvageable.
144 has been written by Theodore Ts'o <tytso@mit.edu>.
147 accepts the -f option but currently ignores it because the second
148 extended file system does not support fragments yet.
150 There may be some other ones. Please, report them to the author.
153 is available for anonymous ftp from ftp.ibp.fr and tsx-11.mit.edu in
154 /pub/linux/packages/ext2fs.