Do filesystem operations cause the calling thread to block waiting
for the operation to complete? Blocking is simulated by calling
Scheduler.yield; more realistically, the thread would wait for an
interrupt to inform it that the operation is complete.
Do file operations cause the calling thread to block waiting for
the operation to complete? Blocking is simulated by calling
Scheduler.yield; more realistically, the thread would wait for an
interrupt to inform it that the operation is complete.
BlockSize -
Static variable in class nachos.kernel.filesys.Message
The size of data blocks used in the distributed filesystem.
This class contains debugging methods for generating user-selectable
debugging printout and for placing assertions in the code that
terminate execution and print debugging messages when they fail.
The disk sector containing the directory of files.
disk -
Variable in class nachos.kernel.devices.DiskDriver
Raw disk device.
DISK -
Static variable in class nachos.kernel.Nachos
Are we going to be using the disk?
NOTE: We need the disk if either we are using the "real" Nachos
filesystem, or else we are using the disk as backing store for
virtual memory.
An ExceptionHandler object provides an entry point to the operating system
kernel, which can be called by the machine when an exception occurs during
execution in user mode.
This "filesystem stub" class implements a Nachos filesystem by simply
passing the filesystem operations through to the native filesystem on
the host platform.
This "stub" class implements file operations for Nachos by simply
passing the filesystem operations through to the native filesystem on
the host platform.
Print everything about the file system (for debugging):
the contents of the bitmap;
the contents of the directory;
for each file in the directory:
the contents of the file header;
the data in the file.
This class defines the statistics that are to be kept
about Nachos behavior -- how much time (ticks) elapsed, how
many user instructions executed, etc.