On Friday 25 January 2002 09:20 am, Lenz Grimmer wrote:
> Hi there,
>
> does anybody have a good idea on how to solve Thomas' problem?
> I am not aware of such a tool for JFS - is there another "trick"?
>
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.
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion