Question: A file F that is 100 KBytes long, has been opened by a process. The file system uses UNIX-like index structures (inodes) contain 10 direct

A file F that is 100 KBytes long, has been opened by a process. The file system uses UNIX-like index structures (inodes) contain 10 direct data block pointers and two indirect pointers for single and double indirection. The block size of the file system is 1 Kbytes and the size of a block pointer is 4 bytes. Assume that the inode structure of the file is in memory but none of its data blocks are. The process P , which has opened the file F, makes a read() call to get the data bytes from 10,000 to 10,5000 in the file . Ignore the effects of caching.

A) Explain how many blocks will be retrieved from disk to satisfy this request? Justify your answer.

B) What is the maximum file size that can be created in this system?

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!