Stop making swap partitions–use swap files instead
9 points by jenders 3 days ago | 5 comments
mdspan 3 days ago
Swap files are also much easier to set up than partitions if you're using full disk encryption.
replycharcircuit 16 minutes ago
Linux distros that do use swap files do so statically. It doesn't handle dynamically growing and shrinking it like other operating systems.
reply
One nice thing about swap partitions is that they can be fixed in place even before OS installation.
(Of course, if you’re using swap enough for this to be a huge factor, you probably have bigger problems. But I haven’t done the math.)