I’m planning to use LUKS+btrfs, in a GPT partition.
What is better for hibernation?
a separate partition? I’ve tested successfully with a separate partition outside LUKS.
or a swap file. I suppose it could be in a separate subvolume of the btrfs partition. How to set it up? This solutiojn allows more flexibility, as I can change easily the size of the swap.