Project 5: File Systems

Due: Mon, Aug 14th before 11:59 pm

You may optionally work with a project partner for this project.


Please post your questions on Piazza so that your classmates with similar problems can benefit from it. However, if the question is about your code, visiting during office hours is the most efficient way of getting help. You should not post your code on Piazza.


There are two parts to this project:

Click on the above links to learn more about what you should do. READ EACH CAREFULLY!


Copying code is considered cheating. Read this for more info on what is OK and what is not!

Handing It In

If you are working in pairs, only one of you need to submit the source code.

Your handin directory is ~cs537-1/handin/$USER/p5

For the C/Linux part of this project, you should copy xv6_fsck.c as well as all other related header files, if any, into the linux/ subdirectory.

For the xv6 part of the project, copy all of your source files (but not .o files, please, or binaries!) into the xv6/ subdirectory of your p5 directory. A simple way to do this is to copy everything into the destination directory, then type make to make sure it builds, and then type make clean to remove unneeded binary files.

Into your p5 directory, put a README file. Describe a little bit about what you did for this project in this file.

Finally, also most importantly, if you are working with a partner, create another file called partner.txt in your p5 directory, where you should only write your partner's CS login. Both of you should create this file to be graded, and again, only one of you need to submit the source files. If there is no such file, we are assuming you are working alone.

For example, if Xiangjin works with Zhewen and let's assume Xiangjin is submitting the source files, then Xiangin will be turning in the source + the partner.txt file and Zhewen will be turning in only the partner.txt file. Xiangjin's partner.txt will contain a single line of Zhewen's CS login and Zhewen's partner.txt will contain only a single line of Xiangjin's CS login.