Lably
Skip to content

Design of the FAT file system

Computer file system architecture design

  • 37 min read
  • 8 chapters

Related on Lably

Through File system, Boot sector and Linked list

Structure

A FAT file system is composed of four regions:

FAT uses little-endian format for all entries in the header (except for, where explicitly mentioned, some entries on Atari ST boot sectors) and the FAT(s). It is possible to allocate more FAT sectors than necessary for the number of clusters. The end of the last sector of each FAT copy can be unused if there are no corresponding clusters. The total number of sectors (as noted in the boot record) can be larger than the number of sectors used by data (clusters × sectors per cluster), FATs (number of FATs × sectors per FAT), the root directory (n/a for FAT32), and hidden sectors including the boot sector: this would result in unused sectors at the end of the volume. If a partition contains more sectors than the total number of sectors occupied by the file system it would also result in unused sectors, at the end of the partition, after the volume.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Computing and communication