From owner-freebsd-questions Mon Mar 11 0:10: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smaug.rhavenn.net (smaug.rhavenn.net [209.150.195.53]) by hub.freebsd.org (Postfix) with ESMTP id 37EA637B405 for ; Mon, 11 Mar 2002 00:10:03 -0800 (PST) Received: from there (d90b67322ef25c3eec25f80d10242a60@gandalf.rhavenn.net [209.150.195.51]) by smaug.rhavenn.net (8.12.1/8.12.1) with SMTP id g2B8FCw0064521; Mon, 11 Mar 2002 02:15:12 -0600 (CST) Message-Id: <200203110815.g2B8FCw0064521@smaug.rhavenn.net> Content-Type: text/plain; charset="iso-8859-1" From: Henrik Hudson Reply-To: lists@rhavenn.net To: Chip Wiegand , "freebsd-questions@freebsd.org" Subject: Re: proper shutdown command Date: Mon, 11 Mar 2002 02:20:05 -0600 X-Mailer: KMail [version 1.3.2] References: <20020310222812.1b78e0cf.chip@wiegand.org> In-Reply-To: <20020310222812.1b78e0cf.chip@wiegand.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 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