Question: The code needs to be in C++ to develop a simple File System. In this project, you will develop a simple file system. In this

The code needs to be in C++ to develop a simple File System. The code needs to be in C++ to develop a simple File

In this project, you will develop a simple file system.

In this project you will develop a simple File System. The FS should operate on the simulated persistent memory with following properties: 20 Sectors, 64KB each Erase operation can be performed either on the single sector or on the whole simulated memory. Erase operation sets all bits of the sectors) to value 1. Write operation can be performed only in WORDs and on a WORD boundary (WORD is defined as 2 bytes). Write operation can set bits to 0, but cannot set bits to 1, i.e., it is equal to the AND operation between the WORD on the simulated memory and the WORD to be written. Addressing is "flat" beginning with the 0 byte of the first sector Implement following "driver" operations (functions) operating on a simulated memory device

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!