*BSD News Article 99450


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!news.telstra.net!nsw.news.telstra.net!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Powering Down
Date: Sat, 12 Jul 1997 13:02:23 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 24
Message-ID: <33C6F3BF.7741@OntheNet.com.au>
References: <33c49208.1255785@news.dixonssurgical.co.uk>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: jay@dixonssurgical.co.uk
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44289

Jay Dixon wrote:
> 
> Hi All
> 
> 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		--> stop timesharing and go to single-user
# shutdown -h now	--> stop timesharing, shutdown and 'halt' m/c
# shutdown -r now	--> stop timesharing, shutdown and reboot m/c

Of course "now" can be replaced with a valid future time, either
absolute (hhmm) or delta (+mm)!

There are 'shorthand' versions of these commands, such as "reboot" and
simply "halt" but I prefer to use the shutdown command as it gives
applications time to exit gracefully.

Tony