From owner-freebsd-questions Fri Sep 27 6:45:56 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 C2D7637B401 for ; Fri, 27 Sep 2002 06:45:55 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5552643E81 for ; Fri, 27 Sep 2002 06:45:51 -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 g8RDjg1n018359; Fri, 27 Sep 2002 08:45:43 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.36 #1 (Debian)) id 17uvR8-0007Dv-00; Fri, 27 Sep 2002 08:45:42 -0500 To: Petri Riihikallio Cc: questions@freebsd.org Subject: Re: How to shut down cleanly by killing power References: From: Kirk Strauser Date: 27 Sep 2002 08:45:42 -0500 In-Reply-To: Message-ID: <87elbf1r7d.fsf@pooh.int> Lines: 27 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-27T11:21:18Z, Petri Riihikallio 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