Since swapfile shouldn’t be in a snapshot, and I want my system encrypted therefore I am asking if it could be possible to make efi partition big enough to include swapfile inside it?

I can’t find documentation for this process, so would it require some extra steps to make it work?

  • pogodem0n@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Have your swap file in another btrfs subvolume. E.g: @swap mounted to /swap and put your swap file there. All subvolumes under the root subvolume will be excluded from your snapshots.