Re: linux shutdown
-----BEGIN PGP SIGNED MESSAGE-----
Thats not exactly true (as I pointed out earlier but I
might have accidently not
sent my response ot the list)
actually sync;sync;halt would work fine...under ideal conditions :)
but...under debian linux (and redhat) it will work fine
in fatc....you can just forhget the double sync and call halt (or
this was true that that was VERY BAD for a long time but...
check out the man page for halt:
If halt or reboot is
called when the system is not in runlevel 0 or 6, shut
down(8) will be invoked instead (with the flag -h or -r).
since sync;sync doesn't change the runlevel...and at runlevel
0 or 6 you don't have a shell anyway...
yes it is a BAD practice becaus eon OLDER syetms and
other Unix-like OSs it is not gauranteed to weork
On Thu, 30 Apr 1998, George Bonser wrote:
> On Thu, 30 Apr 1998, Arunas Norvaisa wrote:
> > Dear all,
> > I'm confused...
> > Have RTFMing and am using 'shutdown -r now' to restart my system.
> > BUT our system (Netware/Unix) admin (really old and experienced
> > 'wolf') have told me that he's using 'sync;sync;halt' and have tried
> > to persuade me to use 'his' command.
> sync; sync; halt is bad. Do not listen to this old idiot. He is going to
> cause you filesystem corruption. Use either ctl-alt-delete, shutdown -r
> George Bonser
> If I had a catchy quip, it would be here.
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com