[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Where is inode table



On Wed, Aug 11, 1999 at 08:38:02PM +0530, Sumit Rangwala wrote:
> Hello
> 
>         I am using Redhat 5.2 and was trying to read inode table through the
> file /dev/hda3
> I was unable to find out the offset at which the inode table starts.
>         Can anybody help me out.

You need to learn about the super block format of ext2fs. It is in:

linux/include/linux/ext2_fs.h (struct ext2_super_block)

You can chase things from there. Try dumpe2fs /dev/hda3 and look at 
the source code of dumpe2fs to understand the filesystem structure.

	-Arun

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------