bug fixes

This commit is contained in:
mfgbhatti 2022-01-28 15:47:34 +00:00
parent 6559a4faeb
commit 88b0241bc5
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ if [[ "$LAYOUT" ]]; then
mkfs.btrfs -L "ROOT" "$PART3" -f mkfs.btrfs -L "ROOT" "$PART3" -f
mount -t btrfs "$PART3" /mnt mount -t btrfs "$PART3" /mnt
for x in "${SUBVOLUMES[@]}"; do for x in "${SUBVOLUMES[@]}"; do
btrfs subvolume create /mnt/"$x" btrfs subvolume create /mnt/"${x}"
done done
umount /mnt umount /mnt
for y in "${SUBVOLUMES[@]}"; do for y in "${SUBVOLUMES[@]}"; do
mount -o "$MOUNTOPTION",subvol="$y" "$PART3" /mnt mount -o "$MOUNTOPTION",subvol="${y}" "$PART3" /mnt
done done
else else
modprobe dm-mod modprobe dm-mod