Date: Mon, 11 Mar 2002 06:37:45 +0000 From: Chip Wiegand <chip@wiegand.org> To: Henrik Hudson <lists@rhavenn.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: proper shutdown command Message-ID: <20020311063745.07df8eb6.chip@wiegand.org> In-Reply-To: <200203110815.g2B8FCw0064521@smaug.rhavenn.net> References: <20020310222812.1b78e0cf.chip@wiegand.org> <200203110815.g2B8FCw0064521@smaug.rhavenn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > On Sunday 10 March 2002 16:28, Chip Wiegand wrote: > > I read that there is a differance between using - > > halt and shutdown. Supposedly using halt runs the risk of causing a > > non-graceful shutdown. Is this true? I use halt just because it's > > shorter to type than shutdown -h now. Am I doing any damage to my > > system by using halt? (I rarely shutdown my pc anyway, maybe a > > couple times a year at most). > 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?20020311063745.07df8eb6.chip>