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
>
|