Whamcloud - gitweb
file export-do_kern_mount.patch was initially added on branch b1_5.
[fs/lustre-release.git] / lustre / tests / gns-upcall.sh
1 #!/bin/sh
2
3 MOUNT=`which mount 2>/dev/null`
4 test "x$MOUNT" = "x" && MOUNT="/bin/mount"
5
6 OPTIONS=$1
7 MNTPATH=$2
8
9 test "x$OPTIONS" = "x" || "x$MNTPATH" = "x" && 
10     exit 1
11
12 $MOUNT $OPTIONS $MNTPATH > /tmp/gns-log 2>&1
13 exit $?