10.B.1
Heä Thoáng File
Hieän thöïc heä thoáng file vaø thö muïc
Caùc phöông phaùp quaûn lkhoâng gian troáng
Sao löu vaø phuïc hoài
10.B.2
ñoà boá trí (layout) heä thoáng file (1)
i-nodes
Partition control block FCB’s
10.B.3
ñoà boá trí (layout) heä thoáng file (2)
Partition control block:
löu soá löôïng block trong partition, kích thöôùc block, soá löôïng free
block hieän thôøi vaø caùc con troû chæ ñeán chuùng,
löu soá löôïng free FCB hieän thôøi vaø caùc con troû chæ ñeán chuùng,
duï, UNIX File System: superblock”
File control block (FCB): moãi file ñöôïc quaûn lthoâng qua FCB
cuûa noù
löu caùc thoâng tin veà file , keå caû caùc con troû chæ ñeán caùc data block cuûa
noù
duï, UNIX File System: i-node
10.B.4
VFS–Virtual File System
disk
partition
disk
partition
ext2 file system FAT file system NFS file system
ÖÙng duïng
VFS
: goïi haøm/thuû tuïc
open, read, write, opendir,…
10.B.5
Hieän thöïc file
Caáp phaùt khoâng gian löu tröõ cho file/directory, muïc tieâu:
û duïng khoâng gian ñóa höõu hieäu
truy caäp file nhanh
Caùc phöông phaùp caáp phaùt phoå bieán
Caáp phaùt lieân tuïc (contiguous allocation)
Caáp phaùt theo danh saùch lieân keát (linked list allocation)
Caáp phaùt duøng chæ muïc (indexed allocation)