-
A unix-style I-node has 10 direct pointers and one single, one double and one triple indirect pointers. Disk block size is 1 kbyte, disk block address is 32 bit, and 48-bit integers are used. What is the maximum possible file size?
-
- 224 byte
- 232 byte
- 234 byte
- 248 byte
- 224 byte
Correct Option: C
Size of 1 block = 1 kB
Block addresses size 1 pointer size = 32 bit = 4 bytes.
So , no. of pointers in = | B | |
22 |
1 block = 256
So direct pointer will have = 10 × 1kB = 10kB
Double will have = 256 × 256 × 1 kB
Triple will have = 256 × 256 × 256 × 1 kB = 28 × 28 × 28 × 210 B = 234 B
Hence (c) is correct option.