Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'reboot vs shutdown -r now' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
reboot vs shutdown -r now
Authored by: PygmySurfer on Mar 14, '04 08:06:27AM

If the OS X man pages are correct, shutdown -r and reboot are definitely NOT equivalent. The reboot command seems to just flush the filesystem cache, send first a SIGTERM and then a SIGKILL to all processes, and reboot.

Shutdown warns users, sends a SIGTERM to the 'init' process to bring the system to Single-User mode, and then calls reboot.

Be careful not to confuse the OS X (and Solaris, and probably other UNIX-like OSes) reboot command with the Linux reboot command. On Linux, reboot calls shutdown, thus switching to the proper run-level, executing the shutdown scripts, etc. Looks like Linux implemented it backwards. :)



[ Reply to This | # ]