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
Get step-by-step solutions from verified subject matter experts
