this project requires you to build a simulation of a file system to store text objects.
Your file system simulation must understand the following commands (all filenames are single character):
cr a --> create a new file named a, size == 0
rm a --> remove file a
op a --> open file a
cl a --> close file a
rd a --> read file a
wr a --> write file a
cp a b --> copy file a to file b
You have to implement the file system structure using the following recommendations:
1. Linear list (utilizing a hash table)
1. Contiguous allocation.
2. Linked allocation (file allocation table FAT)
1. Free-space list.
1. Your choice.
The intent of this project is that you should have to face and solve several of the problems faced by designers of file systems.
However, several simplifications are necessary to achieve a realistic project:
1. The "disk" will be an array of bytes of fixed size (about 500k). You may define a class that is an array of fixed size
blocks representing disk sectors.
2. All files will be text objects (strings with embedded control characters).
3. You will need a way to drive the file system, i.e. to invoke the methods representing its interface. You should be able to
create, delete, read and write files, but when the end of the disk is reached you may terminate your program.
see zip for more info
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).