Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am writing code to open ext4 partition understand superblock, gds and start reading individual inode entries. In new Ext4 group descriptor structure (ext4_group_desc) there are two fields bg_inode_table_lo ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3

    Reading Ext4 Inode


    Hi,

    I am writing code to open ext4 partition understand superblock, gds and start reading individual inode entries.

    In new Ext4 group descriptor structure (ext4_group_desc) there are two fields bg_inode_table_lo and bg_inode_table_hi.

    How can I read inode using these tow fields.

    For ext3 there is only bg_inode_table which gives location to read inode data.

    Please help.

    Thanks & Regards,
    sridhar.

  2. #2
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3
    adding more to my above query.

    I am trying to read all inodes of a ext4 superblock.

    I could able to read superblock, group descriptros.

    8192 inodes are stored in each block group.
    I could able to extract inodes upto 8000 using first group descriptor table.

    but I couldn't able to read inode from 8193

    I could see group descriptor table is correct but.
    Could you please help in this...

    -sridhar

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    What your are trying to achieve? Did you tried ext2lib?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •