From owner-freebsd-current Mon Dec 16 21:48:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20D7437B401 for ; Mon, 16 Dec 2002 21:48:42 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8377043ED1 for ; Mon, 16 Dec 2002 21:48:41 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gBH5mdnZ021439; Mon, 16 Dec 2002 21:48:39 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gBH5mc1c021438; Mon, 16 Dec 2002 21:48:38 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Mon, 16 Dec 2002 21:48:38 -0800 From: David Schultz To: Christian Brueffer Cc: Matthew Dillon , current@FreeBSD.ORG Subject: Re: swapoff code comitted. Message-ID: <20021217054838.GA21287@HAL9000.homeunix.com> Mail-Followup-To: Christian Brueffer , Matthew Dillon , current@FreeBSD.ORG References: <200212151946.gBFJktmo090730@apollo.backplane.com> <20021215223540.GA601@unixpages.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021215223540.GA601@unixpages.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Christian Brueffer : > How about renaming swapon(8) into swapctl(8) after this function enhancement? > This name reflects it's purpose much better and would be consistent with the > other BSDs. It would be trivial to change the name, although I don't see what it buys you. NetBSD changed the name because they wanted to be able to set swap device priority and do other things through the same interface. From previous conversations, I gather that swap device priority is not a particularly desired feature for FreeBSD, and it would probably require rewriting the entire swap subsystem again in any case. Unless you intend to extend the interface further, having swapctl seems to me like changing mount/umount to mountctl. That's not to say I'm opposed to the idea, just that I don't care one way or the other. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message