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/