Re: [PATCH] Shutdown cooloff feature

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Tue, 29 Sep 2009 12:46:41 +0100 (BST)
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 <hostname> 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 <delphij_at_delphij.net>	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-----
>
Received on Tue Sep 29 2009 - 09:46:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC