1 .\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be freely distributed.
3 .TH MKFS.MINIX 8 "2 July 1996" "Util-linux 2.6" "Linux System Administrator's Manual"
5 mkfs.minix \- make a Linux MINIX filesystem
16 .RI [ size-in-blocks ]
19 creates a Linux MINIX file-system on a device (usually a disk partition).
23 is usually of the following form:
27 /dev/hda[1-8] (IDE disk 1)
28 /dev/hdb[1-8] (IDE disk 2)
29 /dev/sda[1-8] (SCSI disk 1)
30 /dev/sdb[1-8] (SCSI disk 2)
36 parameter is the desired size of the file system, in blocks.
37 It is present only for backwards compatibility.
38 If omitted the size will be determined automatically.
39 Only block counts strictly greater than 10 and strictly less than
44 Check the device for bad blocks before creating the file system. If any
45 are found, the count is printed.
48 Specify the maximum length of filenames.
49 Currently, the only allowable values are 14 and 30.
50 The default is 30. Note that kernels older than 0.99p7
51 only accept namelength 14.
54 Specify the number of inodes for the filesystem.
57 Read the bad blocks list from
59 The file has one bad block number per line. The count of bad blocks read
63 Make a Minix version 1 filesystem.
66 Make a Minix version 2 filesystem.
68 The exit code returned by
70 is one of the following:
82 The mkfs.minix command is part of the util-linux package and is available from
83 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.