Question: In this project you will emulate a portable file system in user space. In other words, your file system will exist within a regular file

In this project you will emulate a portable file system in user space. In other words, your file system will exist within a regular file on the erdos system. Your file system library should provide functions to create the filesystem image, list the files currently in the file system, add files, and remove files. Files will persist in the file system when the program exits. You should first design a simple disk library that reads and writes 4-Kbyte disk blocks. Your file system will be built on top of this interface. your disk library will use a single Unix file to emulate a disk, which will be divided into 4-Kbyte blocks. Blocks will be written using a "block number." You will use this number to compute the offset into the Unix file. For instance, disk block 10 will be at byte offset 10 * 4096 = 40960

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!