Whamcloud - gitweb
Updates for Debian, devfs, and the device command.
[fs/lustre-release.git] / lustre / demos / obdfssetup.sh
index 6b992f7..46dcc2b 100755 (executable)
@@ -4,19 +4,21 @@ OBDDIR="`dirname $0`/.."
 .  $OBDDIR/demos/config.sh
 
 $OBDDIR/demos/basesetup.sh
+#losetup /dev/loop0 /tmp/obdfs.tmpfile
 
 if [ x$? != x0 ]; then 
     echo "Error running basesetup.sh"
     exit 4;
 fi
 
-insmod $OBDDIR/class/obdclass.o
-insmod $OBDDIR/ext2obd/obdext2.o
-insmod $OBDDIR/obdfs/obdfs.o
+#insmod $OBDDIR/class/obdclass.o
+#insmod $OBDDIR/ext2obd/obdext2.o
+#insmod $OBDDIR/obdfs/obdfs.o
 
-plog log "ATTACHING /dev/obd0"
+plog log "ATTACHING /dev/obd0, SETUP $BASEDEV"
 $OBDDIR/class/obdcontrol -f << EOF
-attach ext2_obd 
+device /dev/obd0
+attach obdext2
 setup $BASEDEV
 quit
 EOF