From owner-freebsd-questions Wed Aug 21 6:28:27 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 544D037B400 for ; Wed, 21 Aug 2002 06:28:24 -0700 (PDT) Received: from sdf.lonestar.org (sdf.lonestar.org [207.202.214.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8BD643E4A for ; Wed, 21 Aug 2002 06:28:23 -0700 (PDT) (envelope-from bmiddaug@sdf.lonestar.org) Received: by sdf.lonestar.org (8.11.6/8.11.6) id g7LDKRe07889; Wed, 21 Aug 2002 13:20:27 GMT Date: Wed, 21 Aug 2002 13:20:26 +0000 (UTC) From: "Bob M." X-X-Sender: bmiddaug@sdf.lonestar.org Cc: questions@freebsd.org Subject: Re: What is the proper shutdown procedure? In-Reply-To: <20020820123727.257bd2bf.nkinkade@dsl-only.net> Message-ID: 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 Thanks guys, I was using shutdown now to shutdown, but I was wondering if that was correct since I get this error message "/ was not dismounted properly" at the end of the boot process. I don't have the dmesg output with me now. I didn't know about halt and man shutdown doesn't refer to flushing cache, unmounting disks or stopping services. Is there a list of commands inherent to FreeBSD anywhere? Thanks again, Bob > > On Tue, 20 Aug 2002, Nathan Kinkade wrote: > > > --- "Bob M." wrote: > > > > > > Hi everybody, > > > I was wondering what process to follow when shutting > > > down. Do you umount > > > all the disks first? If so, any particular order? > > > would you do umount -A > > > and does this cover / also? Would you stop services > > > before or after or > > > not at all, does the o/s stop them for you? Do you > > > use *exit*? Can I > > > just hit the power button? :-) Thanks, > > > Bob > > > > shutdown -h now > > The -h is for halt and the now is the time > > > > check out man shutdown >On Tue, 20 Aug 2002, Dave McCammon wrote: > Or, if you are the only user of this machine, you can just type `halt` > to shutdown. From man 8 halt: > "The halt and reboot utilities flush the file system cache to disk, send > all running processes a SIGTERM (and subsequently a SIGKILL) and, > respectively, halt or restart the system ... Normally, the shutdown(8) > utility is used when the system needs to be halted or restarted, giving > users advance warning of their impending doom ..." > bmiddaugNOSPAM@sdf.lonestar.org (please remove NOSPAM to reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message