2 # Utility script for configuring a simple OBDFS mount
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
12 $OBDDIR/demos/basesetup.sh
14 if [ x$? != x0 ]; then
15 echo "Error running basesetup.sh"
19 #insmod $OBDDIR/class/obdclass.o
20 #insmod $OBDDIR/ext2obd/obdext2.o
21 #insmod $OBDDIR/obdfs/obdfs.o
23 plog log "ATTACHING device 0 SETUP $BASEDEV"
24 $OBDDIR/utils/obdctl << EOF
27 # setup $BASEDEV reiserfs
33 [ ! -d "$MNTOBD" ] && mkdir $MNTOBD
34 plog mount -t obdfs -odevice=/dev/obd0 none $MNTOBD