Re: Finally adding that swap file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 29, 2005 at 18:13:35 +0200,
  Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
> On 10/29/05, Bruno Wolff III <bruno@xxxxxxxx> wrote:
> > You should at least try using swapon in rc.local to see if it works for you.
> > There might be something odd going on in my case.
> >
> 
> I added the swap file and acording to cat /proc/swaps it is working. I
> know that this is obvious, but before I screw anything up, I just need
> to add the line:
> swapon /home/swapfile
> to the end of /etc/rc.local so that it will (hopefully) be started at
> boot? Also, should I bother adding the line:
> /swapfile               swap                    swap    defaults        0 0
> to the end of /etc/fstab? Thanks for all your help. I really do appreciate it.

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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux