Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions