Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 11:30:03 -0400
From:      "Brian T. Schellenberger" <bts@babbleon.org>
To:        Kirk Strauser <kirk@strauser.com>, freebsd-questions@freebsd.org
Subject:   Re: How to shut down cleanly by killing power
Message-ID:  <200209261130.03929.bts@babbleon.org>
In-Reply-To: <87wup83hzx.fsf@pooh.int>
References:  <a05111b00b9b8be1e3fae@[192.168.0.2]> <87wup83hzx.fsf@pooh.int>

next in thread | previous in thread | raw e-mail | index | archive | help

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 
<Petri.Riihikallio@Metis.fi> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209261130.03929.bts>