Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > reboot VS. shutdown -r now

reboot VS. shutdown -r now
Thread Tools
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jun 8, 2004, 11:01 AM
 
Is there any functional difference between these two rebooting methods? I have noticed that reboot is faster - is it safe? I have been using reboot lately but am concerned that it works so fast.

My Linux machine at work takes probably 20 seconds to shut down for a reboot.
     
rkt
Mac Enthusiast
Join Date: Oct 2000
Status: Offline
Reply With Quote
Jun 8, 2004, 12:45 PM
 
Originally posted by absmiths:
Is there any functional difference between these two rebooting methods? I have noticed that reboot is faster - is it safe?
from shutdown man page:
"-r Shutdown execs reboot(8) at the specified time."

(ie. they are identical)
     
absmiths  (op)
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jun 9, 2004, 02:59 PM
 
Originally posted by rkt:
from shutdown man page:
"-r Shutdown execs reboot(8) at the specified time."

(ie. they are identical)
OK, so shutdown merely prepends the optional delay before calling reboot? I see messages when I use shutdown about the system going down, but when I use reboot the system just goes down. As long as processes get to clean up and filesystems flushed I don't care. What I don't want is the equivalent of halt -nq (which is what our Alphas used to do by default - not very graceful).
     
rkt
Mac Enthusiast
Join Date: Oct 2000
Status: Offline
Reply With Quote
Jun 10, 2004, 12:56 PM
 
Originally posted by absmiths:
OK, so shutdown merely prepends the optional delay before calling reboot? I see messages when I use shutdown about the system going down, but when I use reboot the system just goes down. As long as processes get to clean up and filesystems flushed I don't care. What I don't want is the equivalent of halt -nq (which is what our Alphas used to do by default - not very graceful).
i'm guessing "shutdown" is more friendly towards other users, which is why you see more messages than just a vanilla reboot. indeed the shutdown man page amusingly comments:

"Shutdown provides an automated shutdown procedure for super-users to nicely notify users when the system is shutting down, saving them from system administrators, hackers, and gurus, who would otherwise not bother with such niceties."

straight "reboot" is fine if you're the only person using that machine...
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:44 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,