bug fixes
This commit is contained in:
parent
6559a4faeb
commit
88b0241bc5
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue