Date: Sat, 4 Jan 2003 06:16:11 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Andy Farkas <andyf@speednet.com.au> Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/46633: Flase error report in swapon when adding too many disks Message-ID: <20030104141611.GA378@HAL9000.homeunix.com> In-Reply-To: <20030104105859.U47310-100000@hewey.af.speednet.com.au> References: <20030103225334.GC12586@HAL9000.homeunix.com> <20030104105859.U47310-100000@hewey.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Andy Farkas <andyf@speednet.com.au>: > > > +.Sh DIAGNOSTICS > > +These utilities may fail for the reasons described in > > +.Xr swapon 2 . > > Much better. (but shouldn't it say "This utility..."?) No. For better or for worse, I piggybacked swapoff(8) on the swapon(8) manpage, and someone stuck swapctl(8) on top of that. > It is still true that there is no mention in *any* man page about the > number of swap devices in 4.7-release/stable though - one must read LINT. > > man 2 swapon says: > > [EINVAL] The device configured by special was not configured > into the system as a swap device. In -CURRENT, the following was added along with the swapoff(2) code: +Additionally, +.Fn swapon +can fail for the following reasons: +.Bl -tag -width Er +.It Bq Er EINVAL +The system has reached the boot-time limit on the number of +swap devices, The doc update will probably show up in -STABLE if/when Matt backports swapoff(2). The work should be straightforward, but it's best not to complicate it by making minor tweaks now that will show up as merge conflicts later. 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?20030104141611.GA378>
