File Header Module
Role in the System
This module houses the routines to define and manage a file header. The files associated with this module are filehdr.h and filehdr.cc. The file header locates where on the disk the file's data is stored. NACHOS implements this header as an array of pointers, where each cell points to a sector on the disk. The "ByteToSector" attribute of class "FileHeader" indicates which disk sector the file is stored. The attribute "FileLength" indicates the number of bytes in the file.
Uses Relation