From owner-freebsd-current@FreeBSD.ORG Tue Sep 29 11:09:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A818106568B for ; Tue, 29 Sep 2009 11:09:00 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E83D18FC0C for ; Tue, 29 Sep 2009 11:08:59 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EED5E6D41B; Tue, 29 Sep 2009 11:08:58 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id C7E02844FF; Tue, 29 Sep 2009 13:08:58 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Daniel Braniss References: <4AC141B0.4090705@delphij.net> Date: Tue, 29 Sep 2009 13:08:58 +0200 In-Reply-To: (Daniel Braniss's message of "Tue, 29 Sep 2009 10:16:26 +0200") Message-ID: <86fxa6gg8l.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current , d@delphij.net Subject: Re: [PATCH] Shutdown cooloff feature X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 11:09:00 -0000 Daniel Braniss writes: > Xin LI writes: > > I'm not sure if anyone would find this useful: > >=20 > > - If a shutdown is initiated from a tty -and- > > - It's not a restart -and- > > - The time parameter is set to "now" > >=20 > > Then, the shutdown(8) program would give something like this: > >=20 > > Shutting down NOW, press ^C within 5 seconds to cancel... > >=20 > > So the user would get a chance to terminate it before it's too late. > I know we are living in a virtual world, where even shutting down > a computer is just a 'wish', but lets keep some sanity, now means now. The "now" is not an issue; I think his point is that you *really* don't want to accidentally type "shutdown -h now" or "shutdown now" instead of "shutdown -r now" in an ssh session to a remote system - especially at 6 pm on a Friday night when the machine is in a colo center that's only manned during business hours. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no