If I want to add a swapfile on Fedora Workstation with btrfs, where should I put it?

It seems the best is to create a dedicated btrfs subvolume to hold the swap file only.

This arrangement provide a chance to make suspend to disk work.

https://wiki.archlinux.org/index.php/btrfs#Swap_file

2 Likes