Results 1 to 5 of 5
hi , everyone.
i want to get the block numbers of a file. Could you tell me which function can i use?
thanx!...
- 06-04-2009 #1
How to get the block numbers of a file ?
hi , everyone.
i want to get the block numbers of a file. Could you tell me which function can i use?
thanx!
- 06-04-2009 #2
I'm not entirely sure what you mean by block number, are you referring to the inode number?
- 06-04-2009 #3
block numbers are stored in file's inode. They represent the location where the files contents are stored.
I would suggest downloading e2fsprogs and spending some time "debugfs" command will help you a lot -e2fsprogs has library that allows all activities with FS. If you want access blocks in "unprofessional messy way" you can check my tool giis source codes
- 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
-------------------
- 06-04-2009 #4
- 06-04-2009 #5
giis code doesn't use standard libraries to access FS. Whereas almost all other tools use e2fsprogs library.
- 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
