Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 15:43:08 +0100
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r216823 - head/sbin/shutdown
Message-ID:  <20101231144308.GA55052@stack.nl>
In-Reply-To: <201012301806.oBUI6VcW046731@svn.freebsd.org>
References:  <201012301806.oBUI6VcW046731@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101231144308.GA55052>