mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
11f80239a8
commit
0ffe009e31
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ mountopts="ssd,noatime,compress-force=zstd:3,discard=async"
|
||||||
mount -o $mountopts,subvol=@ $BTRFS /mnt
|
mount -o $mountopts,subvol=@ $BTRFS /mnt
|
||||||
mkdir -p /mnt/{home,root,srv,.snapshots,var/{log,cache/pacman/pkg},boot}
|
mkdir -p /mnt/{home,root,srv,.snapshots,var/{log,cache/pacman/pkg},boot}
|
||||||
for subvol in "${subvols[@]:2}"; do # ":2" excludes first two subvols (@snapshots and @var_pkgs) from loop
|
for subvol in "${subvols[@]:2}"; do # ":2" excludes first two subvols (@snapshots and @var_pkgs) from loop
|
||||||
mount -o "$mountopts",subvol=@"$subvol" "$BTRFS" /mnt/"${subvol//_//}"
|
mount -o "$mountopts",subvol=@"$subvol" "$BTRFS" /mnt/"${subvol//_//}"
|
||||||
done
|
done
|
||||||
chmod 750 /mnt/root
|
chmod 750 /mnt/root
|
||||||
mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots
|
mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue