Question: Question 2 : File System ( Max Mark: 1 5 / 1 0 0 ) A simple file system has the same structure as the
Question : File System Max Mark:
A simple file system has the same structure as the one in Task First, there is an
inode bitmap, which marks whether each corresponding inode is allocated or free
There are inodes. Each allocated inode has contents consisting of three fields. The
first field is either f file or d directory The second field a either points to a single data
block or is which indicates that the files is empty. Note that in this limited file system,
each file or directory can only occupy a single data block. The third field is a reference
count for files. For directories, it indicates the number of directories within this directory.
Task: Answer the questions in each of the following cases.
Consider the state of the file system below:
inode bitmap
inodes d a: r:f a: r:d a: r:
d a: r:f a: r:f a: r:
data bitmap
data mag
me
rw
Question: List all the files and directories that are currently in this file system.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
