From owner-freebsd-questions Mon Mar 11 6:38:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by hub.freebsd.org (Postfix) with ESMTP id 6A5EB37B417 for ; Mon, 11 Mar 2002 06:38:27 -0800 (PST) Received: from chip.wiegand.org [66.114.152.128] by pioneernet.net (SMTPD32-6.06) id A1F49F0800C2; Mon, 11 Mar 2002 06:40:52 -0800 Date: Mon, 11 Mar 2002 06:37:45 +0000 From: Chip Wiegand To: Henrik Hudson 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> Organization: Alternative Operating Systems X-Mailer: Sylpheed version 0.7.0claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 11 Mar 2002 02:20:05 -0600 Henrik Hudson 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