From 2154a80e66fa70c9043be8cda84331ecaf7b7c84 Mon Sep 17 00:00:00 2001 From: fenris Date: Thu, 9 Dec 2021 18:09:40 +0100 Subject: [PATCH] fix mountoptions for btrfs --- 0-preinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index 5a16266..4963b73 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -101,7 +101,7 @@ if [[ "${DISK}" == "nvme" ]]; then createsubvolumes umount /mnt # mount @ subvolume - mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@ /dev/mapper/ROOT /mnt + mount -o ${mountoptions},subvol=@ /dev/mapper/ROOT /mnt # make directories home, .snapshots, var, tmp mkdir -p /mnt/{home,var,tmp,.snapshots} # mount subvolumes @@ -125,7 +125,7 @@ else createsubvolumes umount /mnt # mount all the subvolumes - mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@ /dev/mapper/ROOT /mnt + mount -o ${mountoptions},subvol=@ /dev/mapper/ROOT /mnt # make directories home, .snapshots, var, tmp mkdir -p /mnt/{home,var,tmp,.snapshots} # mount subvolumes