minor update
This commit is contained in:
parent
29d6e1f365
commit
a5da808a38
|
|
@ -97,7 +97,8 @@ if [[ "${DISK}" == "nvme" ]]; then
|
||||||
# mount subvolumes
|
# mount subvolumes
|
||||||
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@home /dev/mapper/ROOT /mnt/home
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@home /dev/mapper/ROOT /mnt/home
|
||||||
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@.snapshots /dev/mapper/ROOT /mnt/.snapshots
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@.snapshots /dev/mapper/ROOT /mnt/.snapshots
|
||||||
mount -t btrfs /dev/mapper/ROOT /mnt/var
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@tmp /dev/mapper/ROOT /mnt/tmp
|
||||||
|
mount -o subvol=@var /dev/mapper/ROOT /mnt/var
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [[ "${FS}" == "btrfs" ]]; then
|
if [[ "${FS}" == "btrfs" ]]; then
|
||||||
|
|
@ -124,7 +125,8 @@ else
|
||||||
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
mkdir -p /mnt/{home,var,tmp,.snapshots}
|
||||||
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@home /dev/mapper/ROOT /mnt/home
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@home /dev/mapper/ROOT /mnt/home
|
||||||
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@.snapshots /dev/mapper/ROOT /mnt/.snapshots
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@.snapshots /dev/mapper/ROOT /mnt/.snapshots
|
||||||
mount -t btrfs /dev/mapper/ROOT /mnt/var
|
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@tmp /dev/mapper/ROOT /mnt/tmp
|
||||||
|
mount -o subvol=@var /dev/mapper/ROOT /mnt/var
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# checking if user selected btrfs
|
# checking if user selected btrfs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue