From owner-cvs-src Mon Feb 24 0:51:34 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A86437B401; Mon, 24 Feb 2003 00:51:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D07CA43FCB; Mon, 24 Feb 2003 00:51:31 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1O8pV0U061804; Mon, 24 Feb 2003 00:51:31 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1O8pVsc061803; Mon, 24 Feb 2003 00:51:31 -0800 (PST) Message-Id: <200302240851.h1O8pVsc061803@repoman.freebsd.org> From: David Schultz Date: Mon, 24 Feb 2003 00:51:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/swapon swapon.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG das 2003/02/24 00:51:31 PST Modified files: sbin/swapon swapon.c Log: - 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 (in part) Reviewed by: mike (mentor) Revision Changes Path 1.17 +9 -3 src/sbin/swapon/swapon.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message