1 .\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be freely distributed.
3 .TH MKFS.MINIX 8 "June 2015" "util-linux" "System Administration"
5 mkfs.minix \- make a Minix filesystem
10 .RI [ size-in-blocks ]
13 creates a Linux MINIX filesystem on a device (usually a disk partition).
17 is usually of the following form:
21 /dev/hda[1\(en8] (IDE disk 1)
22 /dev/hdb[1\(en8] (IDE disk 2)
23 /dev/sda[1\(en8] (SCSI disk 1)
24 /dev/sdb[1\(en8] (SCSI disk 2)
28 The device may be a block device or an image file of one, but this is not
29 enforced. Expect not much fun on a character device :-).
33 parameter is the desired size of the file system, in blocks.
34 It is present only for backwards compatibility.
35 If omitted the size will be determined automatically.
36 Only block counts strictly greater than 10 and strictly less than
40 \fB\-c\fR, \fB\-\-check\fR
41 Check the device for bad blocks before creating the filesystem. If any
42 are found, the count is printed.
44 \fB\-n\fR, \fB\-\-namelength\fR \fIlength\fR
45 Specify the maximum length of filenames. Currently, the only allowable
46 values are 14 and 30 for file system versions 1 and 2. Version 3 allows
47 only value 60. The default is 30.
49 \fB\-i\fR, \fB\-\-inodes\fR \fInumber\fR
50 Specify the number of inodes for the filesystem.
52 \fB\-l\fR, \fB\-\-badblocks\fR \fIfilename\fR
53 Read the list of bad blocks from
55 The file has one bad-block number per line. The count of bad blocks read
59 Make a Minix version 1 filesystem. This is the default.
62 Make a Minix version 2 filesystem.
65 Make a Minix version 3 filesystem.
67 \fB\-V\fR, \fB\-\-version\fR
68 Display version information and exit. The long option cannot be combined
71 \fB\-h\fR, \fB\-\-help\fR
72 Display help text and exit.
74 The exit code returned by
76 is one of the following:
88 The mkfs.minix command is part of the util-linux package and is available from
89 https://www.kernel.org/pub/linux/utils/util-linux/.