Get the App
SLTechnology News&Howtos  ›  Servers  › 

Unix basic tutorial 5 File system

Shulou Source: shulou.com Published: 2022-06-03 05:38:34 09月21日 Update

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

Tags: File system size information structure logic operating system unit factor data date permission title status fragment program type index device static Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Huawei Linux Shulou Tech Info