This is the starter code for Project 2. The following contents are provided:
- Makefile - Targets are explained in the assignment text
- README.md - This README
- helpers - Helper code implementing access to bitmaps and blocks
- hints - Incomplete bits and pieces that you might want to use as inspiration
- nufs.c - The main file of the file system driver
- test.pl - Tests to exercise the file system
You might need install an additional package to run the provided tests:
$ sudo apt-get install libtest-simple-perl
Then using make test
will run the provided tests.
Helpful note for running on codespaces: update packages, and then install the required packages, as stated on the project website:
sudo su
apt update
apt-get install libfuse-dev libbsd-dev pkg-config
Due to some gitignore issues on my homeserver, you may see the log and nufs files here. They should be deleted and ignored.