Thread (13 messages) 13 messages, 7 authors, 2011-03-08

How to verify block numbers of file ?

From: Manish Katiyar <hidden>
Date: 2011-02-20 20:39:49

On Sun, Feb 20, 2011 at 10:05 AM, kashish bhatia [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help