*BSD News Article 99380


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.cc.swin.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!ais.net!newsfeed.direct.ca!news.he.net!rtd.com!dgy
From: dgy@rtd.com (Don Yuniskis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Powering Down
Date: 10 Jul 1997 17:52:42 GMT
Organization: CICDO
Lines: 37
Message-ID: <5q37ha$kao@baygull.rtd.com>
References: <33c49208.1255785@news.dixonssurgical.co.uk>
NNTP-Posting-Host: seagull.rtd.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44227

In article <33c49208.1255785@news.dixonssurgical.co.uk>,
Jay Dixon <jay@dixonssurgical.co.uk> wrote:
>
>I am currently running FreeBSD 2.2.1 and am shutting down using the
>"shutdown now" command as directed in the handbook.
>
>When I power back on again I am told that "/" was not unmounted
>properley and all the flags on my disk are dirty.
>
>How should I be shutting down to power off?

#shutdown now

wait for series of messages indicating status of shutdown process.
then you'll be prompted for the name of the shell you want to use
and terminal type, etc.

Now, you are in "single user" mode.  Note that none of the other VTY's
will be operational (assuming you had configured more than one).
`ps -al` should show your shell (sh) and perhaps two or three other
system processes (like swapper, etc.).

As an old habit that refuses to die, I do

#sync
#sync

they are probably unnecessary  :>  followed by

#halt

Now you'll get a message "syncing disks" and eventually "The system has
halted"

Now you can remove power or strike any key to reboot...

--don