From owner-freebsd-current@FreeBSD.ORG Tue Sep 29 11:46:42 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 4DB2E106566C for ; Tue, 29 Sep 2009 11:46:42 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2A07B8FC26 for ; Tue, 29 Sep 2009 11:46:42 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id B1E6346B17; Tue, 29 Sep 2009 07:46:41 -0400 (EDT) Date: Tue, 29 Sep 2009 12:46:41 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: d@delphij.net In-Reply-To: <4AC141B0.4090705@delphij.net> Message-ID: References: <4AC141B0.4090705@delphij.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Current 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:46:42 -0000 On Mon, 28 Sep 2009, Xin LI wrote: > I'm not sure if anyone would find this useful: Along similar lines, if we're looking at frequent admin errors: I've noticed an increasing number of people using "reboot" rather than "shutdown -r NOW" on the basis that on Linux (and perhaps other systems), reboot gives a clean application shutdown. I wonder if we should be making a similar change -- a lot of people may be risky data corruption/loss due to unclean application shutdown as a result of that misunderstanding. Robert > > - If a shutdown is initiated from a tty -and- > - It's not a restart -and- > - The time parameter is set to "now" > > Then, the shutdown(8) program would give something like this: > > Shutting down NOW, press ^C within 5 seconds to cancel... > > So the user would get a chance to terminate it before it's too late. > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.12 (FreeBSD) > > iEYEARECAAYFAkrBQa8ACgkQi+vbBBjt66D5iQCgmISna2P4CbX9qob5SuetGuoy > nUUAn0BtA/67Lyy8+91JppokUE57c/Ew > =Aytq > -----END PGP SIGNATURE----- >