X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdemos%2Fsnapsetup.sh;fp=lustre%2Fdemos%2Fsnapsetup.sh;h=8bb36a066e94fc8e81a148034cdb2957472a8661;hb=fe852b97e1d80516a45d67b89108bf4cac87672a;hp=f7ef4dfe3c51b8fcc09a8acfd0cfdc6782af0969;hpb=bbb126f8d22cff6180bf362487cc373facdb9274;p=fs%2Flustre-release.git diff --git a/lustre/demos/snapsetup.sh b/lustre/demos/snapsetup.sh index f7ef4df..8bb36a0 100755 --- a/lustre/demos/snapsetup.sh +++ b/lustre/demos/snapsetup.sh @@ -3,13 +3,11 @@ # not already mounted on /mnt/obd, we call the basic OBD setup script to # create and mount a filesystem for us. OBDDIR="`dirname $0`/.." - . $OBDDIR/demos/config.sh # prepare the snapshot drive with a file to be COW'd - -mount | grep $MNTOBD > /dev/null 2>&1 +mount | grep "$MNTOBD " > /dev/null 2>&1 if [ x$? = x0 ]; then echo "Stuff still mounted on $MNTOBD; clean up first." exit