How to verify block numbers of file ?
Manish Katiyar
mkatiyar at gmail.com
Sun Feb 20 15:39:49 EST 2011
On Sun, Feb 20, 2011 at 10:05 AM, kashish bhatia <koolest77 at 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
More information about the Kernelnewbies
mailing list