edited by
4,398 views
3 votes
3 votes
Consider the organization of a UNIX file as represented by the inode

Assume that there are 12 direct block pointers, and a singly, doubly, and triply indirect

pointer in each inode. Further, assume that the system block size and the disk sector

size are both 8KB. If the disk block pointer is 32 bits, with 8 bits to identify the physical

disk and 24 bits to identify the physical block, then

a. What is the maximum file size supported by this system?

B. Assuming no information other than that the file inode is already in main mem-

ory, how many disk accesses are required to access the byte in position 13,423,956?
edited by

1 Answer

1 votes
1 votes
a)No of block address a block can contain $\frac{8\times 2^{10}\times 8}{2^{5}}=2^{11}$B

So, max file size supported by the system $1\times 2^{11}\times 2^{11}\times 2^{11}\times 8\times 2^{10}$B

                                                              $=2^{46}$B

b)As $=2^{46}> 13423956$ , So 1 disk access is enough to access the byte in position 13,423,956

Related questions

1 votes
1 votes
0 answers
3
srestha asked Jan 17, 2018
500 views
how 3 could be ans?
3 votes
3 votes
1 answer
4
Anup patel asked Oct 13, 2017
816 views