1MKFS.MINIX(8)                System Administration               MKFS.MINIX(8)
2
3
4

NAME

6       mkfs.minix - make a Minix filesystem
7

SYNOPSIS

9       mkfs.minix [-c|-l filename] [-n namelength] [-i inodecount] [-v] device
10       [size-in-blocks]
11

DESCRIPTION

13       mkfs.minix creates a Linux MINIX filesystem on a device (usually a disk
14       partition).
15
16       The device is usually of the following form:
17
18              /dev/hda[1-8] (IDE disk 1)
19              /dev/hdb[1-8] (IDE disk 2)
20              /dev/sda[1-8] (SCSI disk 1)
21              /dev/sdb[1-8] (SCSI disk 2)
22
23       The size-in-blocks parameter is the desired size of the file system, in
24       blocks.  It is present only for backwards  compatibility.   If  omitted
25       the  size will be determined automatically.  Only block counts strictly
26       greater than 10 and strictly less than 65536 are allowed.
27

OPTIONS

29       -c     Check the device for bad blocks before creating the  filesystem.
30              If any are found, the count is printed.
31
32       -n namelength
33              Specify  the  maximum  length of filenames.  Currently, the only
34              allowable values are 14 and 30.  The default is 30.   Note  that
35              kernels older than 0.99p7 only accept namelength 14.
36
37       -i inodecount
38              Specify the number of inodes for the filesystem.
39
40       -l filename
41              Read  the  list  of  bad blocks from filename.  The file has one
42              bad-block number per line.  The count  of  bad  blocks  read  is
43              printed.
44
45       -1     Make a Minix version 1 filesystem.
46
47       -2, -v Make a Minix version 2 filesystem.
48
49       -3     Make a Minix version 3 filesystem.
50

EXIT CODES

52       The exit code returned by mkfs.minix is one of the following:
53
54       0      No errors
55
56       8      Operational error
57
58       16     Usage or syntax error
59

SEE ALSO

61       mkfs(8), fsck(8), reboot(8)
62

AVAILABILITY

64       The  mkfs.minix command is part of the util-linux package and is availā€
65       able from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
66
67
68
69util-linux                         June 2011                     MKFS.MINIX(8)
Impressum