From mboxrd@z Thu Jan 1 00:00:00 1970 From: koolest77@gmail.com (kashish bhatia) Date: Tue, 8 Mar 2011 20:31:54 +0530 Subject: How to verify block numbers of file ? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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