mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 09:31:34 -05:00
Update easy-arch.sh
This commit is contained in:
parent
7da3dcd7cf
commit
4aa3efd44e
@ -68,11 +68,11 @@ btrfs su cr /mnt/@swap &>/dev/null
|
|||||||
# Mounting the newly created subvolumes.
|
# Mounting the newly created subvolumes.
|
||||||
umount /mnt
|
umount /mnt
|
||||||
echo "Mounting the newly created subvolumes."
|
echo "Mounting the newly created subvolumes."
|
||||||
mount -o compress=zstd,subvol=@ $BTRFS /mnt
|
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt
|
||||||
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot}
|
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot}
|
||||||
mount -o compress=zstd,subvol=@home $BTRFS /mnt/home
|
mount -o ssd,noatime,space_cache.compress=zstd,subvol=@home $BTRFS /mnt/home
|
||||||
mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
|
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
|
||||||
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
mount -o ssd,noatime,space_cache,nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
||||||
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
||||||
mount $ESP /mnt/boot
|
mount $ESP /mnt/boot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user