Also, I got number of blocks and inodes in each group.
For now, how do I calculate at which physical sector inode 2 resides?
I don't understand which block does it mean. I doubt it is the physical one.wiki.osdev.org/Ext2 wrote: Next, we have to determine which block contains our inode. This is achieved from:
containing block = (index * INODE_SIZE) / BLOCK_SIZE
where INODE_SIZE is either fixed at 128 if VERSION < 1 or defined by a field in the Superblock if VERSION >= 1.0, and BLOCK_SIZE is defined by a field in the Superblock.
Has anybody any ideas?
Regards,
glauxosdev