Enable swap from a file

Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Print this page

Some systems do not ship with swap partition. A swap file is used instead.

Also put swapon /swapfile in /etc/rc.local. In this way, swap will be turned on later but without modifying /etc/fstab.

 

Oct 5, 2016 @ 13:02
Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Print this page

Leave a Reply

Your email address will not be published. Required fields are marked *

Please calculate * Time limit is exhausted. Please reload CAPTCHA.