Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
sudo dd if=/dev/zero of=/swapfile bs=1M count=17408
sudo mkswap /swapfile
sudo chmod 600 /swapfile
sudo swapon /swapfile


Info
titleBTRFS
For please see BTRFS swapfile for information on creating a swapfile.

Making swap persistent

Doing the above will simply create and enable our swap file.  After a reboot our swap file won't be enabled. 

...