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 ...
- 05-12-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 12
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
- 05-12-2009 #2forum.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 Documentationoz
→ 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.
- 05-14-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 12
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
- 05-14-2009 #4
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
-------------------


Reply With Quote

