File Allocation Table
A file system used in legacy Windows operating systems. Has multiple versions, including 12, 16, and 32-bit variation (FAT12, FAT16, and FAT32 respectively). FAT32 supports a maximum of 4 GiB of storage. Has three main components, including the:
- volume boot record (VBR);
- directory entries; and the
- file allocation table.
In a FAT file system, there are usually two file allocation tables for redundancy.
# Process
- A file is called by the file name and path.
- The storage path leads to the location of the parent directory, of which the directory entry of the file is location.
- The OS refers to the parent directory and reads the directory entry.
- The directory entry provides the starting cluster and size of the file.
- The OS goes to the starting cluster and begins reading the data.
- Only the data within the cluster up to the size of the file is read; should the file size surpass one cluster, the FAT is needed to link a file’s clusters together.