mkfs \- construct a file system
file system are normally created with the
by writing on the special file
The numeric size specifies the number of sectors in the file system.
builds a file system with a root directory and a
The number of i-nodes is calculated as a function of the file system size.
No boot program is initialized by
The optional arguments allow fine tune control over the
parameters of the file system.
specify the number of sectors per track on the disk.
specify the number of tracks per cylinder on the disk.
gives the primary block size for files on the file system.
It must be a power of two, currently selected from 4096 or 8192.
gives the fragment size for files on the file system.
represents the smallest amount of disk space that will be allocated to a file.
It must be a power of two currently selected from the range 512 to 8192.
specifies the number of disk cylinders per cylinder group.
This number must be in the range 1 to 32.
specifies the minimum percentage of free disk space allowed.
Once the file system capacity reaches this threshold, only
the super-user is allowed to allocate disk blocks. The default
If a disk does not revolve at 60 revolutions per second, the
parameter may be specified.
Users with special demands for their file systems are referred to
the paper cited below for a discussion of the tradeoffs in using
different configurations.
McKusick, Joy, Leffler; "A Fast File System for Unix",
Computer Systems Research Group, Dept of EECS, Berkeley, CA 94720;
There should be some way to specify bad blocks.