*BSD News Article 32593


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!metro!physiol.su.OZ.AU!john
From: john@physiol.su.OZ.AU (John Mackin)
Subject: Re: [FreeBSD] VM problem
Message-ID: <1994Jul8.014548.13045@physiol.su.OZ.AU>
Organization: The Land of Summer's Twilight
References: <CsHBBE.4u4@pts.mot.com> <BLYMN.94Jul7131347@mallee.awadi.com.au>
Date: Fri, 8 Jul 1994 01:45:48 GMT
Lines: 28

In article <BLYMN.94Jul7131347@mallee.awadi.com.au>,
	blymn@awadi.com.au (Brett Lymn) writes:

> It seems that there is a bizarre off-by-one error when you add swap
> on a second disk.  [...] As far as I could see when I was
> looking at the problem the swap code uses one more cylinder than the
> disklabel specifies - [...]

AAAAAAAARGH!

Do you mean it _overwrites_ the cylinder one past the end of the
second swap partition?

AAAAAARGGHHHHHHH!

I was just about to reconfigure my system with swap partitions on
each drive -- if this is true I will certainly change my thinking
and have just one big one.  Can someone please comment on this?
Is it really true?  Is anyone using multiple swaps and having it
work correctly?  (I'm a bit terrified by this, since I'll never forget
the time I configured an Ultrix 4.2 DECstation to take its crash
dump on the second swap partition and ended up with the dump
right in the middle of one of the filesystems...)

-- 
John Mackin <john@physiol.su.oz.au>
Knox's box is a 286.                 Fox in Socks does hacks and tricks
Knox's box is hard to fix.           To fix poor Knox's box for kicks.