SUMMARY poweroff vs halt vs shutdown

From: Gerhard den Hollander <gerhard_at_jasongeo.com>
Date: Thu Oct 04 2001 - 08:09:59 EDT
my question (shortened for brevity) was:

> Does poweroff/halt indeed unmount all drives ?
> (the other drives on the system were cleanly unmounted according to the
> bootlog).
> 
> If so, why was I still seeing diskactivity when the machine powered down ?
> 
> What is the difference between halt, poweroff and shutdown ?

The answers:
Yes, poweroff and halt sync and unmount the drives
I was seeing diskactivity because the kernel waits for all diskacivity to
stop before powering off.
Most likely what I saw was the last disk being active and when that
activity stopped the machine powered off.

The difference between halt, poweroff and shutdown:

poweroff is the same as halt, but it also powers off the machine
Shutdown also runs the shutdown scripts (in rc0) to gracefully terminate
all running processes (databases and other ncie things).


Kind regards,
 --
Gerhard den Hollander                           Phone +31-10.280.1515
Global Technical Support                        Fax   +31-10.280.1511 
Jason Geosystems BV                 (When calling please note: we are in GMT+1)

gdenhollander@jasongeo.com                          POBox 1573
visit us at http://www.jasongeo.com                 3000 BN Rotterdam  
JASON.......#1 in Reservoir Characterization        The Netherlands

      This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
       If you are not the intended recipient, we request that you do not
         disseminate, forward, distribute or copy this e-mail message.
      If you have received this e-mail message in error, please notify us
           immediately by telephone and destroy the original message.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 4 07:07:24 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:26 EST