blocks] mkfs.ext2 [
System administration command. Format device as a Linux Second Extended Filesystem. You may specify the number of blocks on the device or allow mke2fs to guess.
Specify block size in bytes.
Scan device for bad blocks before execution.
Specify fragment size in bytes.
Create an inode for each bytes-per-inode of space. bytes-per-inode must be 1024 or greater; it is 4096 by default.
Create an ext3 journal. This is the same as invoking mkfs.ext3.
Consult filename for a list of bad blocks.
Reserve percentage percent of the blocks for use by privileged users.
Don’t create the filesystem, just show what would happen if it were run. This option is overridden by -F.
Set filesystem operating system type to os. The default value is usually Linux.
Set filesystem revision number to revision.
Force mke2fs to run even if filesystem is mounted or device is not a block special device. This option is probably best avoided.
Use specified parameterlist to create an ext3 journal. The following two parameters may be given in a comma-separated list:
Create a journal of journal-size megabytes. The size may be between 1024 filesystem blocks and 102,400 filesystem blocks in size (e.g., 1-100 megabytes if using 1K blocks, 4-400 megabytes if using ...