[PATCH] Shutdown cooloff feature
rwatson at FreeBSD.org
Tue Sep 29 15:26:02 UTC 2009
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.
More information about the freebsd-current