Re: Debian GNU/Linux Reference Card under construction
On Fri, Apr 16, 2004 at 11:11:51AM +0200, Eduard Bloch wrote:
> > > - what's the different between poweroff and halt? They're probably not
> > > both necessary.
> > AFAIK, halt doesn't switch off the system, poweroff does.
> Lol. lrwxrwxrwx 1 root root 4 2004-04-15 09:56 /sbin/poweroff -> halt
-p When halting the system, do a poweroff. This is the
default when halt is called as poweroff.
(RB_HALT_SYSTEM, 0xcdef0123; since 1.1.76). The message `System
halted.' is printed, and the system is halted. Control is given
to the ROM monitor, if there is one. If not preceded by a sync(2),
data will be lost.
(0x4321fedc; since 2.1.30). The message `Power down.' is printed,
the system is stopped, and all power is removed from the system,
if possible. If not preceded by a sync(2), data will be lost.
Peter Mathiasson, peter at mathiasson dot nu, http://www.mathiasson.nu
GPG Fingerprint: A9A7 F8F6 9821 F415 B066 77F1 7FF5 C2E6 7BF2 F228