closed by
3,224 views
1 votes
1 votes
closed with the note: got the answer
Consider a file system with 4096 byte blocks and 32-bit disk and file block pointers. Each file has 13 direct pointers, 4 singly-indirect pointers, a doubly-indirect pointer, and a triply-indirect pointer. The maximum disk size and the number of i-nodes that can fit in single block are........... and ........... respectively.
closed by

1 Answer

Best answer
2 votes
2 votes
Since block pointers are 32 bits, total size = 232 × 4096 = $2^{44}$ bytes. bytes maximum.

An inode has 13 + 4 + 1 + 1 = 19 pointers = 19 × 32 bits = 76 bytes.

Hence, the number of inodes per block = ⎣4096/76⎦ = 53.
selected by

Related questions

1 votes
1 votes
0 answers
3
1 votes
1 votes
1 answer
4
Chetan28kumar asked Dec 12, 2018
985 views
Unix I-node has block size 8 KB and file possible with triple indirect is 128 GB.Number of bits disk block address contain is?