Linux.com

Changing /etc/fstab does not always work

Posted by: Administrator on March 05, 2005 07:19 PM
On Slackware 10.0, modifying fstab doesn't give the desired effect: the swap file is not mounted at boot time. A quick workaround is to run<nobr> <wbr></nobr>/sbin/swapon -a in<nobr> <wbr></nobr>/etc/rc.d/rc.local. This also uses<nobr> <wbr></nobr>/etc/fstab to find available swap devices, but in contrast to the mounting done by init, it actually does work.

#

Return to Increase your available swap space with a swap file