fixing a corrupt /dev/hdar .. debugfs assistance...

Theodore Ts'o tytso at mit.edu
Wed Mar 22 02:40:12 UTC 2006


On Tue, Mar 21, 2006 at 01:51:20PM -0700, Chris Worley wrote:
> Thanks for the help.
> 
> Does <2> refer to a superblock?  

No, <2> refers to inode #2.  See the debugfs man page:

SPECIFYING FILES
       Many debugfs commands take a filespec as  an  argument  to  specify  an
       inode  (as  opposed to a pathname) in the filesystem which is currently
       opened by debugfs.  The filespec  argument  may  be  specified  in  two
       forms.  The first form is an inode number surrounded by angle brackets,
       e.g., <2>.  The second form is a pathname; if the pathname is  prefixed
       by  a  forward slash ('/'), then it is interpreted relative to the root
       of the filesystem which is currently opened by debugfs.   If  not,  the
       pathname  is  interpreted  relative to the current working directory as
       maintained by debugfs.  This may be modified by using the debugfs  com-
       mand cd.

						- Ted




More information about the Ext3-users mailing list