*BSD News Article 2304


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!network.ucsd.edu!sdd.hp.com!wupost!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!machine!chinet!randy
From: randy@chinet.chi.il.us (Randy Suess)
Newsgroups: comp.unix.bsd
Subject: Re: adding another swap partition
Message-ID: <1992Jul22.142107.10000@chinet.chi.il.us>
Date: 22 Jul 92 14:21:07 GMT
References: <1992Jul21.120540.14336@chinet.chi.il.us> <14inptINN564@agate.berkeley.edu>
Organization: Chinet - Public Access UNIX
Lines: 21

In article <14inptINN564@agate.berkeley.edu> wjolitz@soda.berkeley.edu (William F. Jolitz) writes:
>To add swap space, the device needs to be compiled into the kernel
>in advance, even if you don't plan to use it. It reserves space in
>it's swap space map for this (so eventually it can interleave them).

	Ok, that did it.  Thanks.  I am now able to have the swap
	partition on the second drive added with swapon. (at least
	the command completes with no errors.  Any way to actually
	see if the system knows about the second swap partition?)

	in /sys/compile/YOUR_SYSTEM_NAME/swap386bsd.c,
	duplicate the makedev(0,1) line in the swdevt struct
	and change the 1 to a 9.

	Thanks, Bill.

-- 
	I am created Shiva the Destroyer; Death, the shatterer of worlds!
	Who is this dog meat who stands before me now?
	That's the biz, sweetheart.
Randy Suess					 randy@chinet.chi.il.us