>>102433750
Thanks. And what's your opinion on excluding flatpaks from snapshots?
And what about compression level?
Here's my current plan:
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@ /dev/mapper/root /mnt
mkdir -p /mnt/{boot,btrfs,efi,home,root,.snapshots,var/cache,var/log,var/tmp,var/cache/pacman/pkg,var/lib/flatpak,var/lib/portables,var/lib/machines}
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@snapshots /dev/mapper/root /mnt/.snapshots
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@pkg /dev/mapper/root /mnt/var/cache/pacman/pkg
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@log /dev/mapper/root /mnt/var/log
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@tmp /dev/mapper/root /mnt/var/tmp
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@cache /dev/mapper/root /mnt/var/cache
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@flatpak /dev/mapper/root /mnt/var/lib/flatpak
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvolid=5 /dev/mapper/root /mnt/btrfs
>inb4 @home
Separate partition, not doing it.