From 8710413a4860b8bf59e890093c5bfcfe76b9af8c Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 17 Apr 2024 17:00:33 +0100 Subject: Remove redundant btrfs mount options & move swapoff command --- install-artix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-artix.sh b/install-artix.sh index 2b4bc81..edea102 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -191,7 +191,7 @@ btrfs -q subvolume create /mnt/@var # Mount BTRFS subvolumes umount /mnt -options="noatime,space_cache=v2,compress=zstd,ssd,discard=async" +options="noatime,compress=zstd" mount -o "${options},subvol=@" "${root}" /mnt mkdir /mnt/{boot,home,.snapshots,tmp,var} mount -o "${options},subvol=@home" "${root}" /mnt/home @@ -381,9 +381,9 @@ if [[ "${enable_aur}" == true ]]; then fi # FINISH +swapoff -a umount -R /mnt [[ "${encrypt}" == true ]] && cryptsetup close root -swapoff -a set +x echo " -- cgit