From owner-freebsd-questions Thu Sep 26 8: 9:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AB4E37B401 for ; Thu, 26 Sep 2002 08:09:24 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 810CB43E7B for ; Thu, 26 Sep 2002 08:09:23 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.int (mail@pooh.int [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id g8QF9M1n090839 for ; Thu, 26 Sep 2002 10:09:23 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.36 #1 (Debian)) id 17uaGY-0006gI-00 for ; Thu, 26 Sep 2002 10:09:22 -0500 To: freebsd-questions@freebsd.org Subject: Re: How to shut down cleanly by killing power References: From: Kirk Strauser Date: 26 Sep 2002 10:09:22 -0500 In-Reply-To: Message-ID: <87wup83hzx.fsf@pooh.int> Lines: 19 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 At 2002-09-26T14:02:01Z, Petri Riihikallio writes: > A couple of days ago I sent a message asking how to shut down a FreeBSD > system when I KNOW the power will be off after the next script command. I haven't actually done this, so take my advice with a grain of salt. I think that the biggest hurdle will be making sure that your filesystems are cleanly unmounted. I would *think* that: umount -af sync; sync; sync umount -fr / should unmount everything except / , which it would remount as read-only. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message