From owner-svn-src-all@FreeBSD.ORG Fri Dec 31 14:43:09 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8A25106566C; Fri, 31 Dec 2010 14:43:09 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id 85DCE8FC19; Fri, 31 Dec 2010 14:43:09 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 8B5BB1DD413; Fri, 31 Dec 2010 15:43:08 +0100 (CET) Received: by turtle.stack.nl (Postfix, from userid 1677) id 7420E1721E; Fri, 31 Dec 2010 15:43:08 +0100 (CET) Date: Fri, 31 Dec 2010 15:43:08 +0100 From: Jilles Tjoelker To: Pawel Jakub Dawidek Message-ID: <20101231144308.GA55052@stack.nl> References: <201012301806.oBUI6VcW046731@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201012301806.oBUI6VcW046731@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r216823 - head/sbin/shutdown X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2010 14:43:10 -0000 On Thu, Dec 30, 2010 at 06:06:31PM +0000, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Dec 30 18:06:31 2010 > New Revision: 216823 > URL: http://svn.freebsd.org/changeset/base/216823 > Log: > For compatibility with Linux and Solaris add poweroff(8). > It is implemented as a hard link to shutdown(8) and it is equivalent of: > # shutdown -p now If we go that way, then for consistency reboot(8) and halt(8) should also be equivalent to calling shutdown -r now and shutdown -h now respectively, unless conflicting options are given. Linux has a -f option for what's currently reboot's and halt's default action, and fastboot(8)/fasthalt(8) could also retain the current behaviour. I would be in favour of this change. -- Jilles Tjoelker