4,670 views
2 votes
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 votes
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

Related questions

618
views
0 answers
0 votes
Balaji Jegan asked Dec 25, 2018
618 views
What are the differences among max file size and max possible file size and total size of file system in UNIX Inode?
893
views
1 answers
3 votes
Anup patel asked Oct 13, 2017
893 views
862
views
0 answers
1 votes
Shubhanshu asked Sep 5, 2017
862 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 ... .When to use what please clear this doubt.
3.1k
views
2 answers
2 votes
Shubhanshu asked Aug 16, 2017
3,133 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 ... location comprises of <In which direct/ indirect pointers branch the address is>