5,743 views
2 2 votes
the unix i node holds 8 direct disk block address a single indirect and double indirect disk block addresses. if the disk blocks are accessible with 16 bits and disk bock offset is 12 bits. the maximum file size supported is (IN TERMS OF GB)??

1 Answer

Best answer
4 4 votes
8 Direct Disk Blocks
Single Indirect
Single, double indirect disk block
DBA: 16 bits= 2B
DB size = $2^12$B = 4KB
Maximum File size will be

no. of addresses per block = 4KB/2B = 2K

Max file size, when file is stored on single, double indirect disk block

= $2^{11}*2^{11}$ * 4KB = $2^{22} * 2^{12}$ B = $2^{34}$B = 16GB
edited
Position:
Show:

Related questions

0 0 votes
0 0 answers
867
867 views
Balaji Jegan asked Dec 25, 2018
867 views
What are the differences among max file size and max possible file size and total size of file system in UNIX Inode?
3 3 votes
1 1 answer
1.2k
1.2k views
Anup patel asked Oct 13, 2017
1,233 views
1 1 vote
0 0 answers
1.2k
1.2k views
Shubhanshu asked Sep 5, 2017
1,199 views
Explain the following terms with there respective formula (expression)1) Max file size2) Max possible file size3) Max Disk Size4) Total file size5) max possible size of t...
3 3 votes
2 2 answers
4.0k
4.0k views
Shubhanshu asked Aug 16, 2017
3,963 views
Q1 Consider the Unix file node which maintains 12 direct disk block addresses, 1 single indirect, 1 double indirect, and 1 triple indirect disk block addresses. The disk ...