From 4aa3efd44e234cdc5a85517371b72369dd4af4b2 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Fri, 9 Apr 2021 03:39:46 -0400 Subject: [PATCH] Update easy-arch.sh --- easy-arch.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 3a37a9c..d514b68 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -68,11 +68,11 @@ btrfs su cr /mnt/@swap &>/dev/null # Mounting the newly created subvolumes. umount /mnt echo "Mounting the newly created subvolumes." -mount -o compress=zstd,subvol=@ $BTRFS /mnt +mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot} -mount -o compress=zstd,subvol=@home $BTRFS /mnt/home -mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots -mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log +mount -o ssd,noatime,space_cache.compress=zstd,subvol=@home $BTRFS /mnt/home +mount -o ssd,noatime,space_cache,compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots +mount -o ssd,noatime,space_cache,nodatacow,subvol=@var_log $BTRFS /mnt/var/log mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap mount $ESP /mnt/boot @@ -191,4 +191,4 @@ systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null systemctl enable snapper-cleanup.timer --root=/mnt &>/dev/null echo "Done, you may now wish to reboot (further changes can be done by chrooting into /mnt)." -exit \ No newline at end of file +exit