1 .\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be freely distributed.
3 .\" " for emacs hilit19 mode
4 .TH MKFS 8 "10 January 1994" "Linux 0.99" "Linux Programmer's Manual"
6 mkfs \- make a Linux MINIX filesystem
8 .BR "mkfs [ \-c ] [ \-n"
21 creates a Linux MINIX file-system on a device (usually a disk partition).
25 is usually of the following form:
38 parameter is the desired size of the file system, in blocks. This
39 information can be determined from the
41 program. Only block counts strictly greater than 10 and strictly less than
46 Check the device for bad blocks before creating the file system. If any
47 are found, the count is printed.
50 Specify the maximum length of filenames. No space is allowed between the
53 .IR namelength. Currently, the only allowable
58 Specify the number of inodes for the filesystem.
61 Read the bad blocks list from
63 The file has one bad block number per line. The count of bad blocks read
66 The exit code returned by
68 is one of the following:
81 Linus Torvalds (torvalds@cs.helsinki.fi)
83 Error code values by Rik Faith (faith@cs.unc.edu)
85 Inode request feature by Scott Heavner (sdh@po.cwru.edu)
87 Support for the file system valid flag by Dr. Wettstein
88 (greg%wind.uucp@plains.nodak.edu)
90 Check to prevent mkfs of mounted filesystem and boot sector clearing
91 by Daniel Quinlan (quinlan@yggdrasil.com)