Whamcloud - gitweb
Fix a few compiler warnings.
[fs/lustre-release.git] / lustre / demos / basesetup.sh
index f2cf372..3b0bad8 100755 (executable)
@@ -10,6 +10,10 @@ OBDDIR="`dirname $0`/.."
 # source config info
 . $OBDDIR/demos/config.sh
 
+insmod obdclass
+insmod obdext2
+insmod obdfs
+
 # module configuration
 if [ "$MODCONF" -a -f $MODCONF ]; then
     if [ -z "`grep -i "alias  *char-major-$OBDMAJ  *obdclass" $MODCONF`" ]; then
@@ -54,7 +58,8 @@ fi
 
 
 if [ "$BASEDEV" ]; then
-    mke2fs -r 0 -b 4096 $BASEDEV
+    # echo "No mke2fs!!"
+     mke2fs -r 0 -b 4096 $BASEDEV
 else
     echo "\$BASEDEV not defined in demos/config.sh.  Please fix!"
     [ "$LOOPDEV" ] && losetup -d $LOOPDEV