Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 15:41:01 +0100
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        Chip Wiegand <chip@wiegand.org>
Cc:        Henrik Hudson <lists@rhavenn.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: proper shutdown command
Message-ID:  <3C8CC1FD.E9DF8C06@cs.umu.se>
References:  <20020310222812.1b78e0cf.chip@wiegand.org> <200203110815.g2B8FCw0064521@smaug.rhavenn.net> <20020311063745.07df8eb6.chip@wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chip Wiegand wrote:
> 
> On Mon, 11 Mar 2002 02:20:05 -0600
> Henrik Hudson <lists@rhavenn.net> wrote:
> 
> > Reading the manpage for shutdown and for halt:
> >
> > HALT sends all running processes a SIGTERM and then a SIGKILL if
> > needed
> >
> > SHUTDOWN runs through the INIT shutdown scripts
> >
> > What does this mean? If ALL your processes can be shutdown via a
> > SIGTERM then you're fine, but if you have processes like a MySQL db or
> > something which needs a special shutdown command passed to it in order
> > to exit cleanly or process something, this will not be executed and
> > data corruption or something else nasty "could" occur.
> >
> > Hope that helped.
> >
> > Henrik
> 
> That helps, thanks. So, I should be using shutdown instead of halt,
> regardless of halt being quicker to type. :-)
> 
> Thanks,
> Chip W.

If it is too much to type, why don't you make an alias, that can even be
shorter than halt? :-)

Best regards,
Paul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C8CC1FD.E9DF8C06>