How to verify block numbers of file ?
kashish bhatia
koolest77 at gmail.com
Tue Mar 8 10:01:54 EST 2011
yaah, I read the man page
It can be done in following way
[root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110308/9dacbc20/attachment.html
More information about the Kernelnewbies
mailing list