swap space in a file?

Rick Stevens rstevens at vitalstream.com
Thu Dec 14 17:50:01 UTC 2006


On Thu, 2006-12-14 at 11:34 -0600, Bruno Wolff III wrote:
> On Thu, Dec 14, 2006 at 09:13:24 -0500,
>   Tom Horsley <tomhorsley at adelphia.net> wrote:
> > > mkswap /swapfile  
> > 
> > So its easier than I thought! Never knew linux already knew how to use a plain
> > file for swap. Learn something every day. Thanks!
> 
> In FC5 I had problems with the swap file if it wasn't on the root file system
> at boot time. My theory is that swapon was running before the other file
> systems were mounted, but I never fully confirmed that that was the problem.

Hmmm, on both FC5 and FC6, swap isn't turned on until the local
filesystems are mounted so that shouldn't have been an issue.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     Try to look unimportant.  The bad guys may be low on ammo.     -
----------------------------------------------------------------------




More information about the fedora-list mailing list