Date: Tue, 31 Dec 2002 11:44:30 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/46633: Flase error report in swapon when adding too many disks Message-ID: <20021231110927.X35303-100000@hewey.af.speednet.com.au> In-Reply-To: <200212310040.gBV0e3SC098849@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Dec 2002, David Schultz wrote: > Thus spake Willem Jan Withagen <wjw@files.digiware.nl>: > > When adding too many disk for swapping the error reported is a 'strange one' > > Nicer would be to respond something like: > > All swapdisk slots are occupied. > > If swapon(2) returned EBUSY in this case, you'd get the message > 'Device busy' without having to make a special case out of it. > Does that sound better? The error is not 'device busy', the error is 'out of swapdisk slots'. The first time this happened to me, I was stumped as to why it wouldn't let me do it; the error message was not intuative at all. Man pages were useless, there is no mention of swap device limits there. Only after asking the maillists did I find out you have to look in LINT to find that there is a limit. Nowhere does it say how to find out what the current limit is. It is not common knowledge that Freebsd has a limit to the number of swap devices you can use. And it seems that this knowledge has been dropped from -current: $ grep -i swap /sys/i386/conf/NOTES $ Have a happy new year! -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021231110927.X35303-100000>