mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
specify scratch_dev on mount - don't rely on fstab or mtab.
This commit is contained in:
+4
-3
@@ -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"
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user