ECE421 Operating Systems - Assignment 3: A level-1 index filesystem - Final polished working version.
USUniversity of MiamiECE421Operating SystemsJust what you've got so farC++Final polished working version
A level-1 index filesystem.
This is the same as assignment 2, except that this must be the final
working, well-organised, polished version. Test runs and everything.
Implement a level-1 index filesystem.
You can make any use you want of anything that I have posted on the
rabbit web page. Material from other sources is of course not allowed.
You must of course create a header block for every file, and you should
store some meta-data in there. At least store the creation date in there,
along with two bits of information: is the file protected against deletion,
and (for the future) does it contain executable code? (These correspond to
unix's w and x bits in the output from ls -l). And leave some more space
for things you might need in the future. So of course you should remove
the creation time information from directory entries. Rather than reduce
the size of an entry to 3 words, I would suggest increasing the maximum
filename length to 12 characters. You will also need to add a command
for changing a file's protection. You will also need to keep track of
which blocks are free and which are in use effectively.
Integrate it with the better-designed input/output library from class 4.
You will need to increase the size of iosb structure to include a pointer
to the in-memory copy of the header block and its block number (so that you
can save it to disc when the file is closed if you have modified it), and
to record your position (block number) within the file. If you want to add
more than that, that is perfectly OK.
In order to test this properly, you will need to be able to provide large
amounts of text. Rabbit has a public-domain text archive, linked to from
the home page, for exactly this sort of thing.
You will need to add at least two new commands to the program: one for
copying data from a tape to create a new disc file, and one to copy one
of your files out to a tape so that you can check it properly. For both
of these, the command will need to ask for the anme of the disc file and
the name of the real unix file to mount as a tape.
US代写,University of Miami代写,ECE421代写,Operating Systems代写,Just what you've got so far代写,C++代写,Final polished working version代写,US代编,University of Miami代编,ECE421代编,Operating Systems代编,Just what you've got so far代编,C++代编,Final polished working version代编,US代考,University of Miami代考,ECE421代考,Operating Systems代考,Just what you've got so far代考,C++代考,Final polished working version代考,UShelp,University of Miamihelp,ECE421help,Operating Systemshelp,Just what you've got so farhelp,C++help,Final polished working versionhelp,US作业代写,University of Miami作业代写,ECE421作业代写,Operating Systems作业代写,Just what you've got so far作业代写,C++作业代写,Final polished working version作业代写,US编程代写,University of Miami编程代写,ECE421编程代写,Operating Systems编程代写,Just what you've got so far编程代写,C++编程代写,Final polished working version编程代写,USprogramming help,University of Miamiprogramming help,ECE421programming help,Operating Systemsprogramming help,Just what you've got so farprogramming help,C++programming help,Final polished working versionprogramming help,USassignment help,University of Miamiassignment help,ECE421assignment help,Operating Systemsassignment help,Just what you've got so farassignment help,C++assignment help,Final polished working versionassignment help,USsolution,University of Miamisolution,ECE421solution,Operating Systemssolution,Just what you've got so farsolution,C++solution,Final polished working versionsolution,