fix mountoptions for btrfs
This commit is contained in:
parent
48dc88b0c5
commit
2154a80e66
|
|
@ -101,7 +101,7 @@ if [[ "${DISK}" == "nvme" ]]; then
|
||||||
createsubvolumes
|
createsubvolumes
|
||||||
umount /mnt
|
umount /mnt
|
||||||
# mount @ subvolume
|
# 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
|
# make directories home, .snapshots, var, tmp
|
||||||
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
||||||
# mount subvolumes
|
# mount subvolumes
|
||||||
|
|
@ -125,7 +125,7 @@ else
|
||||||
createsubvolumes
|
createsubvolumes
|
||||||
umount /mnt
|
umount /mnt
|
||||||
# mount all the subvolumes
|
# 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
|
# make directories home, .snapshots, var, tmp
|
||||||
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
||||||
# mount subvolumes
|
# mount subvolumes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue