Removed snapshot subvolume and changed naming.
This commit is contained in:
parent
d5c2012ba6
commit
55c5de7eb9
13
install.sh
13
install.sh
|
@ -196,21 +196,16 @@ mkfs.btrfs /dev/mapper/main &&
|
|||
|
||||
mount /dev/mapper/main /mnt &&
|
||||
|
||||
# Stupid naming convention for Timeshift only: https://github.com/teejee2008/timeshift#supported-system-configurations
|
||||
|
||||
btrfs subvolume create /mnt/@ &&
|
||||
btrfs subvolume create /mnt/@home &&
|
||||
btrfs subvolume create /mnt/@snapshots &&
|
||||
btrfs subvolume create /mnt/root &&
|
||||
btrfs subvolume create /mnt/home &&
|
||||
|
||||
umount /mnt &&
|
||||
echo
|
||||
|
||||
echo "Mounting.." &&
|
||||
mount -o compress=zstd,subvol=@ /dev/mapper/main /mnt &&
|
||||
mount -o compress=zstd,subvol=root /dev/mapper/main /mnt &&
|
||||
mkdir /mnt/home &&
|
||||
mount -o compress=zstd,subvol=@home /dev/mapper/main /mnt/home &&
|
||||
mkdir /mnt/.snapshots &&
|
||||
mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
|
||||
mount -o compress=zstd,subvol=home /dev/mapper/main /mnt/home &&
|
||||
mkdir /mnt/boot &&
|
||||
mount /dev/$boot /mnt/boot &&
|
||||
echo "Mounting complete." &&
|
||||
|
|
Loading…
Reference in New Issue