It can be done in following way
[root@KASHISH KASHISH]# debugfs
debugfs 1.41.9 (22-Aug-2009)
debugfs: open -c /dev/sda5
/dev/sda5: catastrophic mode - not reading inode or group bitmaps
debugfs: stat <14>
Inode: 14 Type: regular Mode: 0644 Flags: 0x0
Generation: 1688944868 Version: 0x00000000
User: 0 Group: 0 Size: 48911
File ACL: 1507838 Directory ACL: 0
Links: 1 Blockcount: 8
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x4d75ffd3 -- Tue Mar 8 15:37:15 2011
atime: 0x4d75ffd3 -- Tue Mar 8 15:37:15 2011
mtime: 0x4d75ffd3 -- Tue Mar 8 15:37:15 2011
Size of extra inode fields: 0
BLOCKS:
(0-11):30720-30731
TOTAL: 12
--
Regards,
Kashish
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies