2 ms·
We're pointing to a block of data; that's the 4 KiB. You have 12 direct pointers — that's the "12". The "1024" appears to be the single indirect pointers: it s
by deathanatos 3y ago
We're pointing to a block of data; that's the 4 KiB. You have 12 direct pointers — that's the "12".
The "1024" appears to be the single indirect pointers: it seems like the inode only has 1 "single indirect pointer", so that points to a block's worth of pointers. (Hence the "indirect" part.) A block in this design is 4 KiB, and a pointer in this design is 4 B, so the block of pointers will hold 4 KiB / (4 B/pointer) = 1024 pointers — that's the "1024".
- SairajK19 3y agoThat explains it well. It's the number of pointers that a 4KiB block can hold. I got it. Many thanks.