A file system of your own devising
Name
Lab exercises for April 10th. This is a written assignment. Due by the end of lab — no extensions.
Design
Read the project description for your file system. Then answer the questions below. Note that some answers are requirements specified in the assignment description.
-
What blocksize will your system support?
-
What attributes will files have?
-
Where on your file system will file attributes be stored?
-
Where will filenames be stored? How long can they be?
-
Where will the root directory stored? How will you keep track of the root directory for resolving path names?
-
How will you manage free memory?
-
How will you keep track of which blocks are used by which files (FAT or inodes)?
-
In the space below, draw a picture that shows how you will organize the primary portions of your disk, e.g. free space management, allocation tables, inodes, data blocks, etc.
-
In the space below, write the steps needed to create a file consisting of a single block in your file system.
-
In the space below, write the steps needed to edit a file with the path
/usr/A.txt
.
-
In the space below, write the steps needed to remove a file with the path
/usr/A.txt
.