kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: mkatiyar@gmail.com (Manish Katiyar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to verify block numbers of file ?
Date: Sun, 20 Feb 2011 12:39:49 -0800	[thread overview]
Message-ID: <AANLkTingedQV_B3tGpTJtPee3A8HWQj5MfyYqtN3oWTP@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=CgWv8fU1Qh1hjjjsVnDBLGbr2Ur0yCq+P4Fpa@mail.gmail.com>

On Sun, Feb 20, 2011 at 10:05 AM, kashish bhatia <koolest77@gmail.com> wrote:
> Hi, Manish
>
> How to use debugfs?


debugfs:  ncheck 12
Inode	Pathname
12	//abc

debugfs:  stat <12>
Inode: 12   Type: regular    Mode:  0644   Flags: 0x0
Generation: 143681507    Version: 0x00000000
User:  1000   Group:  1000   Size: 104466
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 208
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x4d617b78 -- Sun Feb 20 12:37:12 2011
atime: 0x4d617b78 -- Sun Feb 20 12:37:12 2011
mtime: 0x4d617b78 -- Sun Feb 20 12:37:12 2011
BLOCKS:
(0-11):35-46, (IND):47, (12-102):48-138
TOTAL: 104


>
>
>
>
>
> --
> Regards,
> Kashish
>
>



-- 
Thanks -
Manish

  reply	other threads:[~2011-02-20 20:39 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 [this message]
2011-03-08 10:25       ` kashish bhatia
2011-03-08 13:54         ` Vineet Agarwal
2011-03-08 15:01           ` kashish bhatia

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=AANLkTingedQV_B3tGpTJtPee3A8HWQj5MfyYqtN3oWTP@mail.gmail.com \
    --to=mkatiyar@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).