edited by
584 views
1 votes
1 votes

A file system with 512 GB disk uses a file descriptor with 16 direct block addresses, 1 indirect block address, 1 doubly indirect block address, 1 triple indirect block address. Size of each disk block is 256 bytes. And size of each disk block address is 8 bytes. The maximum possible file size is:_____ (in GB)

My answer is 0.008 GB

In their solution, they say it's 8 GB, which I think is wrong.

edited by

1 Answer

1 votes
1 votes
ans is 0.008GB (rounded)

no.  of enteries in single block is =256/8=32; it means each block contain 32 enteries

1 indirect block address point to 32 blocks

 1 doubly indirect block address points to 32*32 blocks

1 triple indirect block address points to 32*32*32 blocks

and size of each block is 256B

so

Total file size is  ((16+32+32^2+ 32^3)*256)/2^30

Related questions

1.2k
views
3 answers
2 votes
Meghashyam Sujay asked Dec 12, 2016
1,230 views
A file system with 512 GB disk uses a file descriptor with 16 direct block addresses, 1 indirect block address, 1 doubly indirectly block address and 1 triple indirect block ... is____________(in MB).Ans: 8.26 but in MadeEasy it is 8 how..?
2.2k
views
2 answers
2 votes
mcjoshi asked Oct 5, 2016
2,163 views
Which of the following statements are true?S1 : Using a larger block size in fixed block size file system leads to better disk throughput but poor disk space utilization.S2 : In ... ).Only S2 c).Both S1 and S2 d).Neither S1 nor S2
637
views
1 answers
1 votes
mcjoshi asked Sep 17, 2016
637 views
In particular Unix OS, each data block is 256 bits, each node has 4 direct data block addresses and 3 additional addresses: One for single indirect block, one for ... total size of a file possible in the file system (in k-bits) is________.
1.0k
views
1 answers
1 votes
Chetan28kumar asked Dec 12, 2018
1,030 views
Unix I-node has block size 8 KB and file possible with triple indirect is 128 GB.Number of bits disk block address contain is?