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.

  1. What blocksize will your system support?  
     
     

  2. What attributes will files have?  
     
     

  3. Where on your file system will file attributes be stored?  
     
     

  4. Where will filenames be stored? How long can they be?  
     
     

  5. Where will the root directory stored? How will you keep track of the root directory for resolving path names?  
     
     

  6. How will you manage free memory?  
     
     

  7. How will you keep track of which blocks are used by which files (FAT or inodes)?  
     
     

  1. 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.  
     
     
     
     
     
     
     

  2. In the space below, write the steps needed to create a file consisting of a single block in your file system.  
     
     
     
     
     
     
     

  3. In the space below, write the steps needed to edit a file with the path /usr/A.txt.  
     
     
     
     
     
     
     

  4. In the space below, write the steps needed to remove a file with the path /usr/A.txt.