Get premium membership and access questions with answers, video lessons as well as revision papers.

What is the maximum file size supported by a file system with 16 direct blocks, single, double, and triple indirection? The block size is 512 bytes....

      

What is the maximum file size supported by a file system with 16 direct blocks, single,
double, and triple indirection? The block size is 512 bytes. Disk block numbers can be stored
in 4 bytes.

  

Answers


Faith
Number of blocks:
- Direct Blocks = 16 blocks
- Single Indirect Blocks = 512 / 4 = 128 blocks
- Double Indirect Blocks = 128 * 128 = 16384 blocks
- Triple Indirect Blocks = 128 * 128 * 128 = 2097152 blocks
Total number of blocks = direct + single + double + triple = 16 + 128 + 16384 + 2097152 = 2113680
Total number of bytes = 2113680 * 512 = 1.08220416 E 9 = 1.08 GB
Titany answered the question on April 26, 2022 at 11:41


Next: The board of directors of Rand Mills Limited have requested you to prepare a statement showing the working capital requirements for a level of activity...
Previous: The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over...

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions