From owner-freebsd-arch@FreeBSD.ORG Sun Aug 22 22:46:06 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B873216A4CE; Sun, 22 Aug 2004 22:46:06 +0000 (GMT) Received: from gw.Awfulhak.org (awfulhak.demon.co.uk [80.177.173.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id E77DE43D1F; Sun, 22 Aug 2004 22:46:05 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.12.11/8.12.11) with SMTP id i7MMjxEd079226; Sun, 22 Aug 2004 23:45:59 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Sun, 22 Aug 2004 23:45:59 +0100 From: Brian Somers To: Giorgos Keramidas Message-Id: <20040822234559.038727bd@dev.lan.Awfulhak.org> In-Reply-To: <20040822144129.GA785@gothmog.gr> References: <20040821235048.6244270a@dev.lan.Awfulhak.org> <20040822020609.15d7cb27@localhost.pittgoth.com> <20040822095918.60146e21@dev.lan.Awfulhak.org> <20040821191659.GA94336@gothmog.gr> <20040821202252.GB94336@gothmog.gr> <20040821235048.6244270a@dev.lan.Awfulhak.org> <20040822020609.15d7cb27@localhost.pittgoth.com> <20040821191659.GA94336@gothmog.gr> <20040821202252.GB94336@gothmog.gr> <20040821235048.6244270a@dev.lan.Awfulhak.org> <20040822144129.GA785@gothmog.gr> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gw.lan.Awfulhak.org cc: Tom Rhodes cc: freebsd-arch@freebsd.org Subject: Re: Introducing a poweroff(8) command X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 22:46:06 -0000 On Sun, 22 Aug 2004 17:41:29 +0300, Giorgos Keramidas wrote: > On 2004-08-21 23:50, Brian Somers wrote: > > > > IMHO poweroff should behave like ``shutdown -p now'' rather than > > ``halt -p''. > > This is relatively easy too. See below :-) I was going to suggest that one of the other things that might be considered is whether a time argument should be required, or whether it should default to ``now''. I think however that the idea behind shutdown still stands - operators and admins should be encouraged to give their users fair warning before shutting the machine down.... This patch looks good to me (although I haven't actually tried it). -- Brian Don't _EVER_ lose your sense of humour !