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()
|
_stable_fs()
|
||||||
{
|
{
|
||||||
umount $SCRATCH_MNT >/dev/null
|
umount $SCRATCH_MNT >>$seq.full ||\
|
||||||
mount $SCRATCH_MNT >/dev/null
|
_error "unmount failed"
|
||||||
# sync; sync; sleep 15
|
mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seq.full ||\
|
||||||
|
_error "mount failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user