Question: 3 . 1 File System State Consider VSFS , assume an inode in it contains the following three things: [ file type, address - of
File System State
Consider VSFS assume an inode in it contains the following three things:
file type, addressofdata, referencecount
We have the initial state of the file system:
Init State:
Inode bitmap:
Inode: d a: r:
Data bitmap:
Data:
After conducting some operations, the file system state changes to:
Final State:
Inode bitmap:
Inode: d a: r:f a: r:
Data bitmap:
Data: m
Q: Please select which operation was conducted there resulting such a state change:
a createm
b mkdirm
c unlinkm
d Append a block to root directory
e Append a block to root inode
Then, the user took one more operation, leading to another final state:
Final State:
Inode bitmap:
Inode: d a: r:f a: r:
Data bitmap:
Data: mo
Q: What operation was it
a mkdiro
b unlinkm
c readm
d linkmo
e createo
File System Links
Imaging the following commands are run on a file system that supports hard and soft links.
echo file file
ln file file
echo file file
mv file file
We have the initial state of the file system:
Init State:
Inode bitmap:
Inode: d a: r:
Data bitmap:
Data:
After conducting some operations, the file system state changes to:
Final State:
Inode bitmap:
Inode: d a: r:f a: r:
Data bitmap:
Data: m
Q: Please select which operation was conducted there resulting such a state change:
a createm
b mkdirm
c unlinkm
d Append a block to root directory
e Append a block to root inode
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
