From owner-cvs-all Mon Mar 26 12: 6: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 0536C37B71A; Mon, 26 Mar 2001 12:05:05 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2QK4RT34997; Mon, 26 Mar 2001 21:04:27 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2QK6gl09125; Mon, 26 Mar 2001 21:06:42 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200103262006.f2QK6gl09125@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Robert Watson Cc: Coleman Kane , Ian Dowse , Peter Jeremy , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/sbin/reboot reboot.c In-Reply-To: Message from Robert Watson of "Mon, 26 Mar 2001 12:58:23 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Mar 2001 21:06:42 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Mon, 26 Mar 2001, Coleman Kane wrote: > > > I am in agreement with Kris and Garrett on this one. I too have seen > > Linux init hold up the system until it is powered off. Typically, this > > is because of my own stupidity, but it is nice to be able to seperately > > down the box gracefully. > > However, what you could imagine is a scenario where: (a) reboot(8) and > halt(8) signal init(8) to perform sane system shutdown by default, but (b) > have a new flag that specifies that rather than taking down the system via > the supported shutdown sequence, to directly kill system processes and > request the kernel halt the system. This would distinguish the sane and > orderly shutdown of init from the "it's not working" behavior of reboot > and halt, while combining code paths in the common ("it is working") case. I've always considered shutdown(8) to be the way of shutting a system down in an orderly fasion and halt(8) & reboot(8) as being the way to ``just do it and do it now''. > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message