From owner-freebsd-arch@FreeBSD.ORG Tue May 15 00:38:57 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CB76106564A for ; Tue, 15 May 2012 00:38:57 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) by mx1.freebsd.org (Postfix) with ESMTP id BEF238FC08 for ; Tue, 15 May 2012 00:38:56 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.4/8.14.4) with ESMTP id q4F0ctsE014786; Mon, 14 May 2012 20:38:55 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.4/8.14.4/Submit) id q4F0cs3u014785; Mon, 14 May 2012 20:38:54 -0400 (EDT) (envelope-from wollman) Date: Mon, 14 May 2012 20:38:54 -0400 (EDT) From: Garrett Wollman Message-Id: <201205150038.q4F0cs3u014785@hergotha.csail.mit.edu> To: jilles@stack.nl X-Newsgroups: mit.lcs.mail.freebsd-arch In-Reply-To: <20120514224817.GA31383@stack.nl> References: <20120513220646.GA12826@stack.nl> <4FB0CF88.5010309@FreeBSD.org> <3D895644-0BA5-44F7-AC8F-07323729C1AA@bsdimp.com> <88BE52F2-E8CC-455D-B7AF-CB1F876D48B7@bsdimp.com> Organization: none X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (hergotha.csail.mit.edu [127.0.0.1]); Mon, 14 May 2012 20:38:55 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hergotha.csail.mit.edu Cc: arch@freebsd.org Subject: Re: [patch] halt/reboot/shutdown cleanup X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 00:38:57 -0000 In article <20120514224817.GA31383@stack.nl>, julles@stack.nl writes: >I have found 4 seconds of useless sleeps in the 'shutdown -r now' >process: 2 seconds in shutdown and 2 seconds in init. I have used an >init without the delay for quite a while without problems and the delay >in shutdown seems useless (between saying the shutdown is "now" and >actually signaling init to do it). It's useful to me, as it gives me time to log out cleanly. -GAWollman -- Garrett A. Wollman | What intellectual phenomenon can be older, or more oft wollman@bimajority.org| repeated, than the story of a large research program Opinions not shared by| that impaled itself upon a false central assumption my employers. | accepted by all practitioners? - S.J. Gould, 1993