*BSD News Article 56388


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!EU.net!Austria.EU.net!newsfeed.ACO.net!swidir.switch.ch!in2p3.fr!univ-lyon1.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Swap
Date: 4 Dec 1995 15:33:23 GMT
Organization: Herve Schauer Consultants
Lines: 13
Message-ID: <49v4c3$dt1@sidhe.hsc-sec.fr>
References: <49lbp9$1b0@calweb.calweb.com>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.hsc-sec.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <49lbp9$1b0@calweb.calweb.com>,
Cameron Slye <cslye@calweb.com> wrote:
> So how can I go about adding some swap space in a file and not a device. 
> Say I am doing some big stuff and know I will need more, I know in other
> systems you can add swap space in a file.  Is this possable with FreeBSD ?

Yes, you have to use  vnconfig  for that. You  create a  file (with dd  for
example) and use vnconfig to config the file as a swap device. 

[ Cc: to Cameron ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-