]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add a clearer error message for the case where swapon hits the
authorDavid Schultz <das@FreeBSD.org>
Mon, 24 Feb 2003 08:51:31 +0000 (08:51 +0000)
committerDavid Schultz <das@FreeBSD.org>
Mon, 24 Feb 2003 08:51:31 +0000 (08:51 +0000)
commit4937798d565eab9bf594d51b141f3b2fa9b3d4b0
treed318d0a4d20bbbb215389c6d5d3dad61c5062550
parent9cdb2d4d9d590a2a24bf7a304ca67f65daad98a6
- Add a clearer error message for the case where swapon hits the
  NSWAPDEV limit.
- Don't warn about devices that are not in use in 'swapoff -a'.
- Re-add behavior mistakenly removed in revision 1.44:
  If using 'swapon -a', do not warn if the device is already in use.

PR: 46633
Submitted by: Andy Farkas <andyf@speednet.com.au> (in part)
Reviewed by: mike (mentor)
sbin/swapon/swapon.c