Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Reading Ext4 Inode


    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,

  2. #2
    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...


  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    3rd rock from sun - Often seen near moon
    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 Online Linux Terminal

  4. $spacer_open

Posting Permissions

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