From a289805b3fd004cf07eb8c1badf5d126b2532aad Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sat, 8 May 2021 09:08:27 +0200 Subject: [PATCH] Better mount options. --- easy-arch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index d313bba..f9c94c0 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -99,9 +99,9 @@ umount /mnt echo "Mounting the newly created subvolumes." mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt mkdir -p /mnt/{home,.snapshots,/var/log,boot} -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,compress=zstd,subvol=@var_log $BTRFS /mnt/var/log +mount -o ssd,noatime,space_cache.compress=zstd,autodefrag,discard=async,subvol=@home $BTRFS /mnt/home +mount -o ssd,noatime,space_cache,compress=zstd,autodefrag,discard=async,subvol=@snapshots $BTRFS /mnt/.snapshots +mount -o ssd,noatime,space_cache,compress=zstd,autodefrag,discard=async,subvol=@var_log $BTRFS /mnt/var/log chattr +C /mnt/var/log mount $ESP /mnt/boot/