FRESH

Hacker News
Stop making swap partitions–use swap files instead
16 points by jenders
- Anything that does
create file
chmod 0600 file
should be umask 077
create file
by gucci-on-fleek
1 subcomments
- Probably not a great idea if you're using btrfs [0].
[0]: https://btrfs.readthedocs.io/en/latest/Swapfile.html#:~:text...
- just buy more RAM, it's cheap enough...
- Thank you for your opinion, Bill.
Just kidding, I agree with the sentiment. It's 2026 not 1976. You don't need separate physical partitions for most use cases.