Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!nntp.primenet.com!mr.net!uunet!in3.uu.net!netnews.nwnet.net!netra.oscs.montana.edu!jones From: jones@cs.montana.edu (Chris Jones) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: How to get more useable VM? Date: 18 Aug 1996 03:27:56 GMT Organization: Computer Science, Montana State University, Bozeman MT, 59717 Lines: 24 Message-ID: <4v62js$jlr@netra.oscs.montana.edu> References: <4u6ufm$vi@news.siemens.at> <4u7i1m$ktd@coli-gate.coli.uni-sb.de> <4v2dub$f3u@news.whirlpool.com> NNTP-Posting-Host: fubar.cs.montana.edu In article <4v2dub$f3u@news.whirlpool.com>, Doug Wegscheid <wegscd@whirlpool.com> wrote: >>config netbsd swap on <disk0> and <disk1> [and vnd<whatever>] > >I have hit the man pages and the FAQ, and am not seeing the answer: >how do you set up a vnd to page to a file (like my Windows swap file >on my MSDOS filesystem)? Use the vnconfig (vndconfig?) command. My NetBSD box just hit a power spike, so I can't verify this, but I think it's: vnconfig -c /cdrive/swapfile /dev/vnd0a You'll need to do that every time you boot, so I put the command in my rc.local, followed by swapon /dev/vnd0a And, of course, you also need the "netbsd ... swap on ... and vnd0a" line in your kernel. I actually used vnd0b, since b is traditionally swap, but I suppose it doesn't matter. Chris -- ------------------------------------------------------------------------------- Chris Jones jones@fubar.cs.montana.edu Mad scientist in training... "Is this going to be a stand-up programming session, sir, or another bug hunt?"