Correct snapshot vs snapshots
This commit is contained in:
parent
02f636c117
commit
0ae15f94ec
1 changed files with 4 additions and 1 deletions
|
@ -122,6 +122,9 @@ else
|
|||
part_root="/dev/disk/by-partlabel/arch"
|
||||
fi
|
||||
|
||||
# Wait for Partitions
|
||||
sleep 2
|
||||
|
||||
if [ $encryption -eq 1 ]; then
|
||||
echo "Creating Encrypted Root Partition"
|
||||
cryptsetup luksFormat --type luks1 --cipher aes-xts-plain64 --hash sha512 --key-size 512 "${part_root}"
|
||||
|
@ -136,7 +139,7 @@ mkfs.btrfs -L archlinux "${root_dev}"
|
|||
|
||||
echo "Creating BRTFS Subvolumes"
|
||||
mount "${root_dev}" /mnt
|
||||
for sv in "@" "@home" "@data" "@snapshot" "@log" "@pkg" "@machines" "@portables"; do
|
||||
for sv in "@" "@home" "@data" "@snapshots" "@log" "@pkg" "@machines" "@portables"; do
|
||||
btrfs su cr "/mnt/${sv}"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue