[Next] [Previous] [Up] [Top] [Contents]

4.1 File Systems

4.1.1 File system implementation

The disk must first be formatted and partitioned before it can be used by the OS. You format the disk with the format command which uses the /etc/format.dat configuration file for parameter values. You construct a new file system with newfs/mkfs. newfs is a friendly front-end to mkfs. It reads the disk label, builds the file system, and installs the bootstrap program if its the root partition. It sets aside space for inodes (default is 1 inode per 2048 bytes of data space) and reserves free space for use only by root (default is 10%, which can be reset later with tunefs). The new file system should be checked for internal consistency with fsck, and can then be mounted by the OS.


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]