Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 23:25:24 -0500
From:      David Kelly <dkelly@HiWAAY.net>
To:        Alistar Erlas <millueradfa@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: User configurable swap files
Message-ID:  <B5FE1320-5B2E-4293-8B70-E75C6D7E52AE@HiWAAY.net>
In-Reply-To: <20051018023528.28453.qmail@web54505.mail.yahoo.com>
References:  <20051018023528.28453.qmail@web54505.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Oct 17, 2005, at 9:35 PM, Alistar Erlas wrote:

> Hello,
>
> I have a feature idea that might be interesting and I
> think would be very useful.
>
> I think it would be an excellent feature to be able,
> in addition to using a swap partition, also be able to
> create files in a filesystem that can be used for
> additional VM space, especially which can be created
> while the kernel is running and a maximum size that
> can also be configured during run time.

Already exists. Look for the "swapfile" parameter in /etc/defaults/ 
rc.conf. Its run from /etc/rc.d/addswap. There is no reason you can't  
do the two step procedure manually from the keyboard.

See also swapon(8), and mdconfig(8).

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5FE1320-5B2E-4293-8B70-E75C6D7E52AE>