At 06:57 AM 4/2/00 -0400, you wrote:
>Morning Everyone:
>
>I'm running Red Hat 6.2.  When I shut down the machine, I see all of the
>different things shut down, such as httpd, gpm, etc.  Immediately after I
>see:
>
>   Sending all processes the kill signal
>
>I see the following message on the screen:
>
>   md: recovery thread got woken up ... md: recovery thread finished
>
>What is this?  Is this a script that runs?  If so, where does it run
>from?  Also, is there a good description that I can look at of exactly the
>steps that happen when the machine boots up, and when it shuts down?  I
>know that depending on the run level, anything with a S<number> link in
>the appropriate run level directory will get started up, and anything with
>a K<number> will be shut down, but my understanding is limited from
>there.  Any good pointers on where to look?
>
>Thanks.
>
>- Mike
>
Mike,
        One place to look to see the steps that are taken during shutdown
or reboot are /etc/rc.d/rc0.d for shutdown and /etc/rc.d/rc6.d for
reboot.  When you shutdown the system, it first runs all the K scripts
with the stop option, and then runs the S scripts with the start
option.  (Actually, it does this for the rc?.d directory when changing
to any run level.)  The number after the S or K determines the order
in witch they are run.  Note:  When determining the order, the leading
0 is important!  K04something would come before K1something.

Mikkel

--
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to