Slide 4.3: A hard disk structure
Slide 4.5: The cost of disk accesses
Home

A Disk Access


A disk access can be divided into three distinct physical operations, each with its own cost:
FAT (File Allocation Table)
FAT describes the files, directories, and free space on a hard disk, or floppy disk. A disk is divided into partitions. Under the FAT file system each partition is divided into clusters, each of which can be one or more sectors, depending on the size of the partition. Each cluster is either allocated to a file or directory or it is free (unused).

A directory lists the name, size, modification time and starting cluster of each file or subdirectory it contains.

At the start of the partition is a table (the FAT) with one entry for each cluster. Each entry gives the number of the next cluster in the same file or a special value for “not allocated” or “this is the last cluster in the chain.” The first few clusters after the FAT contain the root directory.