modified: vli.sh

This commit is contained in:
bitterhalt 2024-07-04 08:27:34 +03:00
parent dac557bed8
commit 65315c2b5a

4
vli.sh
View File

@ -2371,9 +2371,9 @@ function format_create_install_system {
echo -e -n "\nCreating BTRFS subvolumes and mounting them to /mnt...\n"
if [[ "$hdd_ssd" == "ssd" ]]; then
export BTRFS_OPT=rw,defaults,noatime,compress=zstd
export BTRFS_OPT=rw,noatime,discard=async,compress-force=zstd,space_cache=v2,commit=120
elif [[ "$hdd_ssd" == "hdd" ]]; then
export BTRFS_OPT=rw,defaults,noatime,compress=zstd
export BTRFS_OPT=rw,noatime,compress-force=zstd,space_cache=v2,commit=120
fi
mount -o "$BTRFS_OPT" "$final_drive" /mnt
btrfs subvolume create /mnt/@