Dotan Cohen wrote:
On 10/29/05, Bruno Wolff III <bruno@xxxxxxxx> wrote:
I think it is probably better to add the entry to /etc/fstab and use swapon -a
so that you can just make changes to /etc/fstab and not have to muck with
rc.local after every swapfile change.
Thanks. I dont intend to change swapfiles ever again! So in that sense
I will add the line to /etc/fstab, and add "swapon -a" to the end of
rc.local. I just want to hear someone say "You wont break anything"
before I do that.
"swapon -a" uses /etc/fstab to find swap files and partitions. If you
don't want to put an entry in /etc/fstab, then you have to give swapon
an argument that explicitly identifies the swap file or partition.
--
Bob Nichols Yes, "NOSPAM" is really part of my email address.