Retrieving the Indirect blocks of file.
Hi...
I need to retrieve the inode of a file on EXT3. And also display the
direct data block numbers of that file. Now,we are focusing on Indirect chain.
But finding difficulties in understanding the CODE.
We have problems with understanding the structure of Indirect.
struct Indirect
{
__le32 *p;
__le32 key;
struct buffer_head *bh;
}
Any idea,how to trace Indirect chain of file??? please suggest..
This structure has been defined in fs/ext3/inode.c
Last edited by vishaluttamsalve; 12-22-2011 at 10:34 PM.
|