A unix i-node structure has 5 direct disk addresses, 3 indirect disk block…

A unix i-node structure has 5 direct disk addresses, 3 indirect disk block namely single, double and triple. If the disk block size is 2 KB and each block can hold 256 DBA (disk block addresses). Calculate the maximum file size (in GB)?

Answer: 32 to 33Maximum file size 5× 2KB + 256x2KB + 256 × 256 × 2KB + 256 × 256 × 256 × 2KB = 10 KB + 512 KB + 128MB + 32 GB ≈ 32

Attempted by 36 students.

Show answer & explanation

Correct answer: 32 to 33

Maximum file size

5× 2KB + 256x2KB + 256 × 256 × 2KB + 256 × 256 × 256 × 2KB

= 10 KB + 512 KB + 128MB + 32 GB ≈ 32

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…