Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Source files

To help you understand all the code in the filesys/ directory, we’ve selected some key files and described them below:


Manages the directory structure. In Pintos, directories are stored as files.


Performs file reads and writes by doing disk sector reads and writes.


Top-level interface to the file system.


Utilities for modifying the file system’s free block map.


Simple utilities for the file system that are accessible from the kernel command line.


Manages the data structure representing the layout of a file’s data on disk.


A bitmap data structure along with routines for reading and writing the bitmap to disk files.

All the basic functionality of a file system is already in the skeleton code, so that the file system is usable from the start, as you’ve seen in Project 1. However, the current file system has some severe limitations which you will remove in this project.