A directory table is a special type of file that represents a directory (folder).

Each file or directory stored within it is represented by a 32-byte entry in the table. Each entry records the name, extension, attributes the date and time of creation, the address of the first cluster of the file/directory's data and finally the size of the file/directory.

All Directory Tables are stored in the Data Region aside from the Root Directory Table in FAT12 and FAT16 file systems, which occupies the special Root Directory Region location.

The actual number of entries in a directory stored in the Data Region can grow by adding another cluster to the chain in the FAT.

Important: before each entry there can be "fake entries" to support the Long File Name.

A directory entry is a data structure that describes the characteristics of a file or directory, beginning with a length octet describing the size of the entire entry. Entries themselves are of variable length, up to 255 octets in size.

Attributes for the file described by the directory entry are stored in the directory entry itself (unlike UNIX).

The root directory entry is a variable length object, so that the name can be of variable length.

File Attributes →