Finally adding that swap file

akonstam at trinity.edu akonstam at trinity.edu
Sat Oct 29 13:05:07 UTC 2005


On Fri, Oct 28, 2005 at 11:03:42PM -0500, Bruno Wolff III wrote:
> On Sat, Oct 29, 2005 at 03:03:35 +0200,
>   Dotan Cohen <dotancohen at gmail.com> wrote:
> > I have one hard disk with three partions: /, /boot, and /home. I want
> > to add a swap file on the /home partion, because it has the most
> > available space. I found lots of pages where it gives instructions on
> > how to add the file, but they all seem to want to put the file on /.
> 
> There does seem to be some sort of problem with it not being on /. The
> swapon -a during boot doesn't seem to turn on swapfiles on other partitions
> even though as far as I can tell they should be mounted by that point.
> swapon -a after boot does pick them up.
> I didn't pursue this too far, so I might have missed something. For the
> time being I put a swap file on both / and another file system (on a second
> disk). The one on / gives me enough swap space for normal use and I can
> turn on the other one manually after reboots.
> 

swapon should work on swap files no matter what partition they are in.
At it least it used to work for me on earlier Fedora versions.- 

=======================================================================
He was part of my dream, of course -- but then I was part of his dream too.
		-- Lewis Carroll
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484




More information about the fedora-list mailing list