Understanding the concept of Inodes

Posted by darkie15 on Stack Overflow See other posts from Stack Overflow or by darkie15
Published on 2010-05-02T21:11:25Z Indexed on 2010/05/02 21:18 UTC
Read the original article Hit count: 201

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about filesystems

Related posts about unix