Skip site navigation (1)Skip section navigation (2)
Date:      26 Sep 2002 10:09:22 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to shut down cleanly by killing power
Message-ID:  <87wup83hzx.fsf@pooh.int>
In-Reply-To: <a05111b00b9b8be1e3fae@[192.168.0.2]>
References:  <a05111b00b9b8be1e3fae@[192.168.0.2]>

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

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.
-- 
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




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