specify fs type

This commit is contained in:
Tobias Powalowski 2024-07-11 22:08:17 +02:00
parent fd4ce89829
commit 04803faf53

View file

@ -100,7 +100,7 @@ for i in bcachefs btrfs ext4 swap vfat xfs; do
else
mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log
sync
mount -o loop /test.img /mnt &>"${_NO_LOG}" || echo "Mount error: ${i}" >> filesystems-error.log
mount -o loop -t "${i}" /test.img /mnt &>"${_NO_LOG}" || echo "Mount error: ${i}" >> filesystems-error.log
umount /mnt || echo "Unmount error: ${i}" >> filesystems-error.log
fi
done