Unix basic tutorial 5 File system
1. File system: divided according to a certain structure
1) Boot Block | Super Block | inode table | data
Boot block: the bootstrap reads and loads the operating system when powered on
Super block: stores the title information of the file system: file system size, inode table size, data area usage
Inode table: each table entry stores the static information of a file: size, type, owner, index table, access rights, modification date
Data: access by block
2) Establishment of file system
# mkfs specialfile blocksize gap blocks
Specialfile: logical device number
Blocksize: the size of the file system block, usually 512
Gap: interval factor, small: fast, fragmented
Block: the size of the file system. (number of blocks)
3) installation and removal of file system
Mount specialfile directoryname
# mount / dev/hd03 / mnt
# umount / dev/hd03 or # umount / mnt
4) logical structure of file system