From: Tim Shimmin Date: Wed, 5 Sep 2001 01:50:05 +0000 (+0000) Subject: specify scratch_dev on mount - don't rely on fstab or mtab. X-Git-Tag: v1.1.0~1213 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c90936235461930cc15f6bf4e217d26a62c0b003;p=xfstests-dev.git specify scratch_dev on mount - don't rely on fstab or mtab. --- diff --git a/common.dump b/common.dump index 67440b7c..094a1141 100644 --- a/common.dump +++ b/common.dump @@ -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" } #