From owner-freebsd-questions Tue Aug 20 12:36:55 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 709A937B400 for ; Tue, 20 Aug 2002 12:36:52 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C6643E75 for ; Tue, 20 Aug 2002 12:36:51 -0700 (PDT) (envelope-from nkinkade@dsl-only.net) Received: from sub21-156.member.dsl-only.net (freebsd.localhost.localdomain [127.0.0.1]) by sub21-156.member.dsl-only.net (8.12.5/8.12.4) with SMTP id g7KJbX8U034137; Tue, 20 Aug 2002 12:37:33 -0700 (PDT) (envelope-from nkinkade@dsl-only.net) Date: Tue, 20 Aug 2002 12:37:27 -0700 From: Nathan Kinkade To: questions@freebsd.org Cc: bmiddaug@sdf.lonestar.org Subject: Re: What is the proper shutdown procedure? Message-Id: <20020820123727.257bd2bf.nkinkade@dsl-only.net> In-Reply-To: <20020820182415.93143.qmail@web14803.mail.yahoo.com> References: <20020820182415.93143.qmail@web14803.mail.yahoo.com> X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 20 Aug 2002 11:24:15 -0700 (PDT) Dave McCammon 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 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 ..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message