2.4 File Entry Structure

The file structure of the file system consists of a linked list of linked lists. Each file entry contains a pointer to the next sibling (SiblingPtr) at its level in the hierarchy, and also a pointer (PrimaryPtr) to a chain of information structures (FileInfo) describing the file's extents. Note that a FileEntry can be superseded by including a valid pointer (SecondaryPtr) to the replacement FileEntry. In this case, the PrimaryPtr and SiblingPtr are invalid.

struct FileEntry
{
word Status
dword SiblingPtr
dword PrimaryPtr
dword SecondaryPtr
byte Attributes
word Time
word Date
word VarStructLen
byte NameLen
byte Name[8]
byte Ext[3]
}