Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 2002 08:45:42 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        Petri Riihikallio <Petri.Riihikallio@metis.fi>
Cc:        questions@freebsd.org
Subject:   Re: How to shut down cleanly by killing power
Message-ID:  <87elbf1r7d.fsf@pooh.int>
In-Reply-To: <a05111b07b9b9ec1c1aac@[192.168.0.2]>
References:  <bulk.28113.20020926143904@hub.freebsd.org> <a05111b07b9b9ec1c1aac@[192.168.0.2]>

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

At 2002-09-27T11:21:18Z, Petri Riihikallio <Petri.Riihikallio@Metis.fi> writes:

> Thank you for your thoughts.

You are quite welcome.

>> I think that the biggest hurdle will be making sure that your filesystems
>> are cleanly unmounted.

> Yes, something like that should be done.

> There are still all the system daemons (sshd, postfix, named..)  started
> from rc that are still running. Should I try to notify them first? How
> will they react when disks change to read-only?

I don't *think* that any of those daemons would be harmed by unmounting the
drives.  After all, you can 'kill -9' them without any permanent bad
effects.

> I believe somebody (more competent than I) has written the necessary
> script for FreeBSD.

I would think so.  Other people have mentioned the 'shutdown -p' command;
does it do what you need?
-- 
Kirk Strauser

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?87elbf1r7d.fsf>