Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, when the free Inode-list in the superblock is empty, there will be a function how update the inode-list with free inodes. On which location does the kernel prove this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    2

    Superblock/ Inode-List


    Hello,

    when the free Inode-list in the superblock is empty, there will be a function how update the inode-list with free inodes. On which location does the kernel prove this requirement? The requirement is: Free Inode-List = Empty!(ext2)
    Thanks for your help and sorry for my english
    best regards
    Chris

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    I don't your requirement. Could you please explain it ?
    In case you haven't checked , there is on-line linux source code navigator
    LXR / The Linux Cross Reference
    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

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    2
    Thanks for your answer!
    I checked the linux source but i canīt find the function which checks if the superblock free inode list is empty!!!

    struct ext2_super_block {
    374 __le32 s_inodes_count; /* Inodes count */
    375 __le32 s_blocks_count; /* Blocks count */
    376 __le32 s_r_blocks_count; /* Reserved blocks count */
    377 __le32 s_free_blocks_count; /* Free blocks count */
    378 __le32 s_free_inodes_count; /* Free inodes count */

    Where is the s_free_inodes_count is check if itīs empty or not?
    Thank you
    Esco

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    I don't know the exact function where and how it was checked. I would highly recommend you to drop a mail to ext3-developers list. I'm sure you get more answers. https://www.redhat.com/mailman/listinfo/ext3-users
    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
  •