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
c06241dc46
commit
31acfd3b0c
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ mountopts="ssd,noatime,compress-force=zstd:3,discard=async"
|
|||
mount -o $mountopts,subvol=@ $BTRFS /mnt
|
||||
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
|
||||
mount -o "$mountopts",subvol=@"$subvol" "$BTRFS" /mnt/$(sed 's,_,/,g' <<< "$subvol")
|
||||
mount -o "$mountopts",subvol=@"$subvol" "$BTRFS" /mnt/"$(sed 's,_,/,g' <<< "$subvol")"
|
||||
done
|
||||
chmod -R 750 /mnt/root
|
||||
mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue