mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add sleep on bcachefs mount
This commit is contained in:
parent
f7443b1257
commit
05a594d023
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ for i in bcachefs btrfs ext4 swap vfat xfs; do
|
||||||
mkswap /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log
|
mkswap /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log
|
||||||
else
|
else
|
||||||
mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log
|
mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log
|
||||||
sync
|
sleep 5
|
||||||
mount -o loop /test.img /mnt &>"${_NO_LOG}" || echo "Mount error: ${i}" >> filesystems-error.log
|
mount -o loop /test.img /mnt &>"${_NO_LOG}" || echo "Mount error: ${i}" >> filesystems-error.log
|
||||||
umount /mnt || echo "Unmount error: ${i}" >> filesystems-error.log
|
umount /mnt || echo "Unmount error: ${i}" >> filesystems-error.log
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue