Find the answer to your Linux question:
Results 1 to 4 of 4
hi all, I am working in linux kernel v2.6.26. Is there any document or reference files that contain explanation for why each function in linux kernel mainly in fs is ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    12

    Smile document for v2.6.26

    hi all,
    I am working in linux kernel v2.6.26. Is there any document or reference files that contain explanation for why each function in linux kernel mainly in fs is used???????????????????????????????????

    please do reply

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,090
    Not sure this is what you are looking for but you can find some kernel documentation here:

    Linux Kernel Documentation
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    12

    Smile

    In the below link the struct ext2_inode_info has i_data
    lxr.linux.no/linux+v2.6.26/fs/ext2/ext2.h


    i_data contains the physical block number
    whenever the rm file is performed the info of block number in super block & bmap
    should not be updated. To stop this process which function should be called.
    The below link contains the list of .c files

    lxr.linux.no/linux+v2.6.26/fs/

    each .c file contains the functions and the explanations.But I need few more explanations for this. Mainly for the above process

    Reply plz

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    Quote Originally Posted by sannan View Post
    In the below link the struct ext2_inode_info has i_data
    lxr.linux.no/linux+v2.6.26/fs/ext2/ext2.h


    i_data contains the physical block number
    whenever the rm file is performed the info of block number in super block & bmap
    should not be updated.
    Seems like you are dealing with ext2 file system.Why you want to prevent the update of super block and bitmap ? Incorrect superblock,bitmap will result in corrupting the system,and during next reboot fsck will be performed and all these files will be placed into lost+found directory.

    Regarding location of function , Please check source code of unlink() system call or read though the source code rm command.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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