Anonymous user menu

Index allocation

A file system with 300GB disk uses a file descriptor with 8 direct block addresses,I indirect block address and 1 doubly indirect block address.The size of each disk block is 128 bytes and the size of each disk block is 128 bytes and the size of each disk block address is 8 bytes.The maximum possible file size in this file system is 

a. 3KB           b. 35KB                     c. 280KB               d. dependent on the size of the disk

Answer

1st 8 entries are for direct block address.

no. of addr in block= block size/addr size =x

                              = 128/8 bytes

                             = 16 bytes

(8 +x +x2 )*block size=(8 + 16 + 256)*128 bytes

                                  =280*128bytes

                                  =35KB,ans is b

0Comment