From: koolest77@gmail.com (kashish bhatia)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to verify block numbers of file ?
Date: Tue, 8 Mar 2011 20:31:54 +0530 [thread overview]
Message-ID: <AANLkTi=1N=2k1fcsSbsK_V_un7WxytOp1bXnrXdTOmY1@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikGZ08eUh5y200++=CJzk5Y3e1D0Oej_u0dfeit@mail.gmail.com>
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
prev parent reply other threads:[~2011-03-08 15:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 13:22 How to verify block numbers of file ? kashish bhatia
2011-02-20 14:02 ` Abhijit Hoskeri
2011-02-20 15:17 ` kashish bhatia
2011-02-20 15:42 ` Abhijit Hoskeri
2011-02-21 5:27 ` SandeepKsinha
2011-02-21 5:43 ` Greg Freemyer
2011-02-20 14:18 ` abhi
2011-02-20 17:03 ` Manish Katiyar
2011-02-20 18:05 ` kashish bhatia
2011-02-20 20:39 ` Manish Katiyar
2011-03-08 10:25 ` kashish bhatia
2011-03-08 13:54 ` Vineet Agarwal
2011-03-08 15:01 ` kashish bhatia [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=1N=2k1fcsSbsK_V_un7WxytOp1bXnrXdTOmY1@mail.gmail.com' \
--to=koolest77@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).