this post was submitted on 13 Jan 2025
3 points (100.0% liked)

Arch Linux

7841 readers
7 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] pogodem0n 3 points 2 weeks 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.