A file system with GByte disk uses a file descriptor with direct block addresses, indirect block address and doubly indirect block address. The size of each disk block is Bytes and the size of each disk block address is Bytes. The maximum possible file size in this file system is
View worked solution
Answer: B
To find the maximum possible file size, we first determine how many disk block addresses (pointers) can fit into a single disk block.
Step 1: Calculate the number of addresses per block
Step 2: Calculate the maximum number of blocks a file can use
The file descriptor contains:
- Direct blocks: blocks
- Single indirect block: blocks
- Doubly indirect block: blocks
Step 3: Calculate the maximum file size
Converting this to KBytes ():
Thus, the maximum possible file size is 35 KBytes, which corresponds to option B.
Free practice · Your answers on this page are not saved.
