Force the mounting of NTFS drives

This commit is contained in:
Manuel Thalmann 2023-08-10 20:02:38 +02:00
parent a8534f6872
commit 9fdb3d979f

View file

@ -4,7 +4,7 @@ pushd "${BASH_SOURCE%/*}" > /dev/null;
extraMounts() extraMounts()
{ {
disks=($(bash -c "echo $ARCH_DISK*")); disks=($(bash -c "echo $ARCH_DISK*"));
mount --mkdir -t ntfs3 "${disks[-1]}" "$ARCH_MOUNT_ROOT/mnt/win"; mount --mkdir -o force -t ntfs3 "${disks[-1]}" "$ARCH_MOUNT_ROOT/mnt/win";
} }
PARTITION_SCRIPT="$(realpath ./partition.sh)" \ PARTITION_SCRIPT="$(realpath ./partition.sh)" \