xfs
[Top] [All Lists]

Re: Simple XFS read?

To: Jim Mostek <mostek@xxxxxxx>
Subject: Re: Simple XFS read?
From: Steve Lord <lord@xxxxxxx>
Date: Mon, 17 Apr 2000 19:44:02 -0500
Cc: rob@xxxxxxxxxxxxxxxxxxx (Rob Aagaard), linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 17 Apr 2000 20:40:48 CDT
Sender: owner-linux-xfs@xxxxxxxxxxx

Jim,

Grub is a bootloader (I think) so far as I know, it is running before
the kernel - it needs to be self contained, sort of like sash on Irix.

Steve

> 
> You can also use the xfs_db command.
> With this command you can walk the path ...
> 
> Do a help.
> 
> For example,
> 
> sb 0
> p
> 
> prints the super block and you can see the root inode
> number, usually 128.
> 
> inode 128
> p
> 
> shows the inode and its contents. If the inode has all
> the components, you will see these listed with their inode
> #s and can then do
> 
> inode <new num>
> p
> 
> 
> Until you get there.
> 
> So, you could build a simple perl script that would use
> xfs_db ...
> 
> xfs_db -r <dev>
> 
> If the log is dirty, problems. you could mount/unmout first
> to make sure recovery ran and cleaned it up.
> 
> Enjoy,
> 
> Jim
> 

<Prev in Thread] Current Thread [Next in Thread>