/sbin/reboot
Eugene Grosbein
egrosbein at rdtc.ru
Fri Dec 10 08:40:38 UTC 2010
On 10.12.2010 11:35, Adam Vande More 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.
In short, one should use reboot/halt from single user mode
to avoid calling shutdown command sequences for non-running services.
For multi-user one should use shutdown to not miss these sequences.
Eugene Grosbein
More information about the freebsd-stable
mailing list