Anonymous user menu

I-node

A Unix-style I-node has 10 direct pointers and one single,one double and one one triple indirect pointers.Disk block size is 1Kb, disk block address is 32 bits, and 48-bits integers are used.What is the maximum possible file size?

a. 224 bytes                    b. 232 bytes                       c. 234  bytes                        d.248 bytes

Answer

size of one block = 210 bytes/ 32 bit

                           =256

maxi.file size for direct pointer=10KB

maxi.file size for single pointer=256*1KB

                                                =256KB

maxi.file size for double pointer=256*256*1KB

maxi.file size for triple pointer = 256*256*256*1KB

maxi.file size = 256*256*256*1KB

                     = 234bytes,so ans is c

 

 

0Comment