From owner-freebsd-questions Thu Sep 26 8:30:42 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 70C2737B401 for ; Thu, 26 Sep 2002 08:30:41 -0700 (PDT) Received: from ncsmtp02.ogw.rr.com (ncsmtp02.ogw.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9253143E65 for ; Thu, 26 Sep 2002 08:30:35 -0700 (PDT) (envelope-from bts@fake.com) Received: from mail8.nc.rr.com (fe8 [24.93.67.55]) by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g8QFUrut024932; Thu, 26 Sep 2002 11:30:56 -0400 (EDT) Received: from this.is.fake.com ([24.162.238.30]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 26 Sep 2002 11:30:33 -0400 Received: by this.is.fake.com (Postfix, from userid 111) id 7865ABA12; Thu, 26 Sep 2002 11:30:04 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: "Brian T. Schellenberger" To: Kirk Strauser , freebsd-questions@freebsd.org Subject: Re: How to shut down cleanly by killing power Date: Thu, 26 Sep 2002 11:30:03 -0400 User-Agent: KMail/1.4.2 References: <87wup83hzx.fsf@pooh.int> In-Reply-To: <87wup83hzx.fsf@pooh.int> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209261130.03929.bts@babbleon.org> 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 What is wrong with shutdown -p now ? (Or shutdown -h now, if you don't have APM?) On Thursday 26 September 2002 11:09 am, Kirk Strauser wrote: | 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. -- Brian, the man from Babble-On . . . . bts@babbleon.org (personal) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message