On Fri, Dec 10, 2010 at 12:03 AM, Kevin Oberman <ober...@es.net> wrote:

> Unlike reboot, shutdown attempts to cleanly stop all processes. Things
> like databases can be badly damaged by a reboot. Other processes save
> state when stopped and that is lost with a reboot.
>

For the correct order, "shutdown -r" calls reboot which calls init which
calls rc.shutdown.

Doing a shutdown -r is the same as a reboot without the warning to logged in
users and shutdown handles the logging instead of reboot.

> Also, halt/reboot have options like -n and -q which can disrupt things
worse than an unintended clean reboot.

shutdown also give operator more possibilities than a clean shutdown some
which could be very bad.

-- 
Adam Vande More
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to