In a particular Unix OS, each data block is of size 1024 bytes, each inode has 10 direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum file size?
A. 512 MB
B. 2 GB
C. 8 GB
D. 16 GB
GATE 2004 · Operating System · File System · medium
Answer: The maximum file size is approximately 2 GB. Correct answer: B. 2 GB