specify scratch_dev on mount - don't rely on fstab or mtab.
authorTim Shimmin <tes@sgi.com>
Wed, 5 Sep 2001 01:50:05 +0000 (01:50 +0000)
committerTim Shimmin <tes@sgi.com>
Wed, 5 Sep 2001 01:50:05 +0000 (01:50 +0000)
common.dump

index 67440b7c8937d811f567d87b5f91050398f99cec..094a11410f30cb64e77d37c2320845ab5b3dba5b 100644 (file)
@@ -272,9 +272,10 @@ _cleanup()
 
 _stable_fs()
 {
-    umount $SCRATCH_MNT >/dev/null 
-    mount $SCRATCH_MNT >/dev/null
-#    sync; sync; sleep 15
+    umount $SCRATCH_MNT >>$seq.full ||\
+       _error "unmount failed"
+    mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seq.full ||\
+       _error "mount failed"
 }
 
 #