MKFS(8)

NAME
mkfs - make a Linux MINIX filesystem

SYNOPSIS
/etc/mkfs [ -c ] [ -n namelength ] device size-in-blocks
/etc/mkfs [ -l filename ] device size-in-blocks

DESCRIPTION
mkfs creates a Linux MINIX file-system on a device (usually a disk partition). The device is usually of the following form:
    /dev/hda[1-8]
    /dev/hdb[1-8]
    /dev/sda[1-8]
    /dev/sdb[1-8]
The size-in-blocks parameter is the desired size of the file system, in blocks. This information can be determined from the fdisk(8) program. Only block counts strictly greater than 10 and strictly less than 65536 are allowed.

OPTIONS

-c  Check the device for bad blocks before creating the file system. If any are found, the count is printed.

-n namelength
    Specify the maximum length of filenames. Currently, the only allowable values are 14 and 30.

-l filename
    Read the bad blocks list from filename. The file has one bad block number per line. The count of bad blocks read is printed.

SEE ALSO
fsck(8), mkefs(8), efsck(8), reboot(8)

AUTHOR
Linus Torvalds (torvalds@cs.helsinki.fi)