On Wed, Sep 17, 2008 at 7:59 PM, Manish Katiyar <[EMAIL PROTECTED]> wrote:

> On Wed, Sep 17, 2008 at 7:37 PM, Rohit Sharma <[EMAIL PROTECTED]>
> wrote:
> > I want to read ext2 inode.
> >
> > Its just like i have a inode no. say 1900..
> > so from the block group we can read the group descriptor and from there
> we
> > can identify the first block no. of the inode table.
> > So we can read the required inode no.i.e. 1900 from this inode table.
> > I found that there are 8176 inodes per block group using tune2fs utility,
> > so if i am interested in reading 8177th inode then i have to move on
> > to next block groups inode table.
>
> If you have 8176 inodes per block group this means you have a block
> size of 1024. Basically the number of inodes in a block group is
> blocksize*8 (1 inode block bitmap). If you want to read 8177th inode,
> go to second blockgroup and read the group descriptor, find the block
> number of inode table and read the first entry from there.
>

Hey manish,
I believe his question is how do we go to the next block group ?




>
> Hope that helps.
>
> Thanks -
> Manish katiyar
>
> >
> > I just want to verify if i am correct on this.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> > the body of a message to [EMAIL PROTECTED]
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [EMAIL PROTECTED]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>


-- 
Regards,
Sandeep.






"To learn is to change. Education is a process that changes the learner."

Reply via email to