[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How can I read superblock(ext2, ext3)'s information?



On Jun 12, 2003  14:48 +0900, ÀÌÁöÀº wrote:
> I'd like to read superblock's information on Redhat 7.3,
> but I don't know how to do it.
> 
> For example, 
>   Input : "/dev/sdj2"
>   Output : ext2_super_block struct's s_wtime
>            (I saw it at "/usr/include/ext2fs/ext2_fs.h")
> 
>   Input : "/dev/sdj1"
>   Output : ext3_super_block struct's s_wtime
>            (I saw it at "/usr/include/linux/ext3_fs.h")

"dumpe2fs -h /dev/sdj1" or "tune2fs -l /dev/sdj2"

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]