[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Shutdown porcess



> Chris Fowler wrote:
> 
> 
> shutdown -r calls init with option of 6.  Init then shutsdown the
> machine
> and issues either the /sbin/halt or /sbin/shutdown command.  The
> script that gets executed is /etc/rc.d/rc6.d/S01reboot or
> /etc/rc.d/rc0.d/S01halt
> 
>  I need to know that the halt command does.  I believe it sets the
> clean bit on the FS or umounts it.  I'm not sure.

shutdown -h shuts the machine down without rebooting.

You shouldn't have to umount root manually, the shutdown process handles
that.  If your root file system is not getting properly unmounted, then
you've got something else going on, like a process that's not dieing and
therefore keeping the filesystem from being unmounted.

> 
> Chris
> -----Original Message-----
> From: I.Herman
> To: Chris Fowler
> Sent: 1/2/01 7:27 PM
> Subject: Re: [ale] Shutdown porcess
> 
> I usually just use the Shutdown command.
> 
> at root:  shutdown -r now
> that does a "restart now"
> 
> or
> 
> shutdown now
> 
> just shuts down w/out restarting..
> 
> both of these cleanly unmounts the filesystem

--
Until later: Geoffrey		esoteric at denali.atlnet.com

"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.