2 # Utility script for cleaning up a simple OBDFS mounted filesystem
4 # Copyright (C) 2001 Cluster File Systems, Inc.
6 # This code is issued under the GNU General Public License.
7 # See the file COPYING in this distribution
9 OBDDIR="`dirname $0`/.."
10 . $OBDDIR/demos/config.sh
13 mount | grep "$MNTOBD " > /dev/null 2>&1
15 echo "Stuff still mounted on $MNTOBD; clean up first."
21 $OBDDIR/utils/obdcontrol -f << EOF
36 $OBDDIR/demos/baseclean.sh