Hi Dave,

On Fri, 25 Jan 2002, Dave Kleikamp wrote:

> You could build a wrapper around xpeek. xpeek doesn't verify that the
> volume is JFS (it probably should), but you can use it to look at the
> superblock:
>
> xpeek $1 << EOF | grep 's_magic:.*JFS1' > /dev/null
> sup
> x
> q
> EOF
> if [ $? = 0 ] ; then
>         echo "$1 is jfs"
> else
>         echo "$1 is NOT jfs"
> fi
>
> We're thinking about changing the name of xpeek to debug.jfs sometime in
> the near future, and it may be a good idea to make it detect whether the
> partition being looked at is really a JFS partition. But the wrapper
> should work today.

Thanks a lot for your hint! Meanwhile we manged to resolve that problem in
a different way (see my other post on the jfs list).

Bye,
        LenZ
-- 
------------------------------------------------------------------
 Lenz Grimmer                                           SuSE GmbH
 mailto:[EMAIL PROTECTED]                    Deutschherrnstr. 15-19
 http://www.suse.de/~grimmer/            90429 Nuernberg, Germany
                Paranoia is heightened awareness.

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to