Re: [PATCH] Shutdown cooloff feature

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Tue, 29 Sep 2009 16:26:01 +0100 (BST)
On Tue, 29 Sep 2009, Pegasus Mc Cleaft wrote:

>> I could be convinced by an argument that reboot and shutdown -r should be 
>> the same, and that both should talk to init, which should perform the 
>> reboot system call.  Since init is what runs rc.shutdown, and it already 
>> knows if it's in multiuser mode (since it defines multiuser mode), it 
>> should be able to DRT.  My belief is that most people who type in "reboot" 
>> do so thinking it means the same thing as "shutdown -r ".
>
>   I have always used "reboot" to be the nasty "Just pop the reset button" 
> kind of shutdown. I have a system that hystorically locks up after BSD does 
> a proper shutdown/reboot and when I am working remotely, after doing many 
> sync's I call "reboot -nq" (it seems to like that :> ). I suppose in my mind 
> I have always thought of the reboot command as being a sledge hammer where 
> "shutdown -r" was the polite version. I wouldent want to loose the 
> brute-force power of "reboot".

Yes -- I think if we made this change, we'd want "-f" to force reboot w/o 
doing the harder work.  Or maybe -or is this, in practice.

Robert
Received on Tue Sep 29 2009 - 13:26:02 UTC

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