diff --git a/easy-arch.sh b/easy-arch.sh index 64c320a..d8e1173 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -264,7 +264,7 @@ umount /mnt print "Mounting the newly created subvolumes." mount -o ssd,noatime,compress-force=zstd:3,discard=async,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 (@var_pkgs and @snapshots) from loop +for subvol in ${subvols[@]:2}; do # ":2" excludes first two subvols (@snapshots and @var_pkgs) from loop mount -o ssd,noatime,compress-force=zstd:3,discard=async,subvol=@$subvol $BTRFS /mnt/$(sed 's,_,/,g' <<< $subvol) done mount -o ssd,noatime,compress-force=zstd:3,discard=async,subvol=@snapshots $BTRFS /mnt/.snapshots