edited by
551 views
1 votes
1 votes
A file system with 300 GB uses a file descriptor with 8 direct block address. 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 256 Bytes and the size of each disk block address is 16 Bytes. The maximum possible file size in this file system is?

The answer given was 70KB.

Thanks!
edited by

1 Answer

Best answer
4 votes
4 votes
No. of block pointers in a block: 256B/16B = 16

Direct blocks size: 8*256B

Singly indirect block size: 1*16*256B

Doubly indirect block size: 1*16*16*256B

Maximum possible size: 8*256B + 1*16*256B + 1*16*16*256B = 70KB
selected by

Related questions

1 votes
1 votes
0 answers
1
1 votes
1 votes
2 answers
2