shutdown -h now -- why leave power on?

Sepherosa Ziehau sepherosa at gmail.com
Sun Oct 2 01:01:27 PDT 2005


On 10/1/05, Jonas Sundström <jonas at xxxxxxxxxxx> wrote:
> David Cuthbert wrote:
> > Something I've always wondered (and been a bit
> > annoyed with)... why does "shutdown -h now" respond
> > with:
> >
> > Shutting down ACPI
> >
> >    The operating system has halted.
> >     Please press any key to reboot.
> >
> >
> > I realise this is a BSDism, but I've never understood the
> > point. Why not keep ACPI running and instruct it to shut
> > down the machine? Amongst other things, it makes it
> > easier to do a remote power cycle with WoL (and other
> > situations where you might not necessarily have a
> > keyboard attached).
>
> As others have pointed out, shutdown -p is what you want.
>
> In NetBSD on Sun hardware with OpenBoot firmware
> "shutdown -h now" gets you back to the firmware prompt.
> The OS halts and you're dropped in "BIOS", so to speak.
> It works over serial too, so you can use it headless.
>
> I believe Solaris works this way too, but I haven't tried it myself.

On Solaris, "shutdown -g 0 -i 0" will shutdown the machine.  I don't
known whether this command will turn off the power or not, since my
Sun workstation is quite old, every time I will have to unplug the
wire (power button is malfunction) to stop it :-P

>
> I really like the Sun Blade 100, but I'm extra sensitive to noise,
> so it's got to go. :I
>
> /Jonas Sundström.                 www.kirilla.com
>
>


--
Live Free or Die






More information about the Kernel mailing list