Understanding the concept of Inodes
- by darkie15
Hi All,
I am referring to the link: http://www.tux4u.nl/freedocs/unix/draw/inode.pdf
I am confused on parts:
1 12 direct block pointers
2 1 single indirect block pointer
3 1 double indirect block pointer
4 1 triple indirect block pointer
Now the diagram says that each pointer is 32/64 bits.
[Query]: Why and how are these values inferred? I mean why specifically have only 32 or 64 bit pointers?
The diagram says, One data block{8 KB} for each pointer {4 bytes/8 bytes}
[Query]: How does this actually work out? i.e. 8*1024 bytes / 8 bytes = 1024 bytes? What is the logic behind having a 8 bytes pointer for 8KB block?
Regards,
darkie.