The hard disk is comprised of a large number of sequentially numbered
sectors. As files are created, free sectors are allocated to hold the file
contents and marked as allocated. To keep track of the sectors and whether they
are allocated or free, and to which file they belong, the operating system
maintains a number of tables.