Question: Q . 4 ) ( 2 5 pts ) The file F which is 9 , 5 0 0 bytes long, has been opened by

Q.4)(25pts) The file F which is 9,500 bytes long, has been opened by process P for
write. The file system uses UNIX-like index structures (inodes), with 10 direct data block
pointers and three indirect pointers for single, double and triple indirection. The block
size of the file system is 1,000 bytes and the size of a block pointer is 10 bytes. Assume
that the inode structure for file F is in memory but none of its data blocks are.
Process P makes a write() call to to the file to append 800 new bvtes to the end of the
file.
a) How many blocks will be updated on disk to satisfy this request? Explain (10pts)
b) What is the maximum file size in this system? Explain(10pts)
c) Assume that text files have sizes in the range 1K-16K in this system. List someI
advantages and disadvantages, if the disk block size was changed to 16K.(5pts)
 Q.4)(25pts) The file F which is 9,500 bytes long, has been

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!