/sbin/reboot
Rob Farmer
rfarmer at predatorlabs.net
Fri Dec 10 06:20:44 UTC 2010
On Thu, Dec 9, 2010 at 21:35, Adam Vande More <amvandemore at gmail.com> wrote:
> On Thu, Dec 9, 2010 at 11:10 PM, Mark Andrews <marka at isc.org> wrote:
>
>> Why would you want it to be? One really shouldn't be running /sbin/reboot
>> directly as part of normal operations. shutdown does a graceful reboot if
>> and when operators need to perform reboot.
>>
>
> AFAIK, the only functional difference between the two is shutdown(8)
> notifies other logged in users of the impending shutdown. I've used
> reboot(8) for a long time with no ill effects so I'd be interested to hear
> what you meant there. Since an operator can use shutdown(8) to initiate the
> same shutdown sequence reboot(8) uses, it wouldn't seems to be a security
> based decision.
Shutdown runs rc.shutdown (stops all rc.d scripts). Also, halt/reboot
have options like -n and -q which can disrupt things worse than an
unintended clean reboot.
--
Rob Farmer
More information about the freebsd-stable
mailing list