From owner-freebsd-questions@FreeBSD.ORG Tue Oct 18 04:25:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2C5D16A41F for ; Tue, 18 Oct 2005 04:25:31 +0000 (GMT) (envelope-from dkelly@HiWAAY.net) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 0B93E43D46 for ; Tue, 18 Oct 2005 04:25:30 +0000 (GMT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 10202 invoked by uid 0); 18 Oct 2005 04:25:27 -0000 Received: from user-69-73-60-132.knology.net (HELO ?10.0.0.9?) (69.73.60.132) by smtp5.knology.net with SMTP; 18 Oct 2005 04:25:27 -0000 In-Reply-To: <20051018023528.28453.qmail@web54505.mail.yahoo.com> References: <20051018023528.28453.qmail@web54505.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Kelly Date: Mon, 17 Oct 2005 23:25:24 -0500 To: Alistar Erlas X-Mailer: Apple Mail (2.734) Cc: freebsd-questions@freebsd.org Subject: Re: User configurable swap files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 04:25:31 -0000 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.