Computer Science, asked by itsdummy4938, 11 months ago

A file system with 300 gbyte disk uses a file descriptor with 8 direct block addresses, 1 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 address is 8 bytes. The maximum possible file size in this file system is

Answers

Answered by gurukulamdivya
1

Answer:

Total number of possible addresses stored in a disk block = 128/8 = 16

Maximum number of addressable bytes due to direct address block = 8*128

Maximum number of addressable bytes due to 1 single indirect address block = 16*128

Maximum number of addressable bytes due to 1 double indirect address block = 16*16*128

The maximum possible file size = 8*128 + 16*128 + 16*16*128 = 35KB

Similar questions