New swapfile btrfs

I stopped my current swapfile, deleted it, and then did a # btrfs filesystem mkswapfile --size 2G swapfile
reference: https://btrfs.readthedocs.io/en/latest/Swapfile.html

Thing is, it creates it in my home even after doing /swapfile. I do have home and root on same partition so I guess it doesn’t matter size wise, just not sure about it being in home.

https://discovery.endeavouros.com/storage-and-partitions/adding-swap-after-installation/2021/03/

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.