summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-04-17 17:00:33 +0100
committerBlake Romero <blake@blkrom.com>2024-04-17 17:00:33 +0100
commit8710413a4860b8bf59e890093c5bfcfe76b9af8c (patch)
tree3bff539f580b629f6a3cd79e8c9384636c75b738
parentb6a229293b81c2bff2aff6a651033993107a9ee7 (diff)
Remove redundant btrfs mount options & move swapoff command
-rwxr-xr-xinstall-artix.sh4
1 files 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 "