Loading practice questions
Assume that an implementation of Unix operating system uses i-nodes to keep track of data blocks allocated to a file. It supports 12 direct block addresses, one indirect block address and one double indirect block address. The file system has 256 bytes block size and 2 bytes for disk block address. The maximum possible size of a file in this system is
Correct Answer: D — None of the above
Explanation:
With a 256-byte block and 2-byte addresses, a block holds 128 addresses. The max file size calculates to (12 + 128 + 128^2) × 256 bytes, which is slightly over 4 MB, meaning none of the listed options are correct.