tac0S
Template Affectional Command Operating System
|
Data structures for managing a disk file header. More...
Go to the source code of this file.
Classes | |
class | FileHeader |
The following class defines the Nachos "file header" (in UNIX terms, the "i-node"), describing where on disk to find all of the data in the file. The file header is organized as a simple table of pointers to data blocks. More... | |
Macros | |
#define | NumDirect ((SectorSize - 2 * sizeof(int)) / sizeof(int)) |
#define | MaxFileSize (NumDirect * SectorSize) |
Enumerations | |
enum | File_type { f, d } |
enum that define if the FileHeader define a file or a directory | |
Data structures for managing a disk file header.
A file header describes where on disk to find the data in a file, along with other information about the file (for instance, its length, owner, etc.)
Copyright (c) 1992-1993 The Regents of the University of California. All rights reserved. See copyright.h for copyright notice and limitation of liability and disclaimer of warranty provisions.