From: peter@nmti.com (Peter da Silva)
Subject: Re: Does 'shutdown' really shutdown?
Date: Fri, 24 Jun 1994 16:58:48 GMT [thread overview]
Message-ID: <id.6XNA1.V1@nmti.com> (raw)
In-Reply-To: werme.772464781@alingo.zk3.dec.com
In article <werme.772464781@alingo.zk3.dec.com>,
Eric Werme <werme@zk3.dec.com> wrote:
> I'm not completely certain how the shutdown stuff really works, but
> "shutdown -r" runs reboot *after* running rc0.d/K*.
I hate like hell to contradict you, since you're at DEC, but I think
you're wrong.
> I don't know if rc2.d/K* is checked.
I missed that he put the shutdown script in rc2.d. You're right that it's
the rc0.d directory that /sbin/rc0 looks at. The K scripts in rc2.d are used
when going from run level 3 to run level 2 or lower.
*however*, we've had problems in the past where shutdown -r didn't properly
run rc0. In addition, examining shutdown with "strings" shows that it's
calling "/sbin/reboot" directly. And, as I've mentioned, there's no code
in /sbin/rc0 to call reboot.
(It also shows an amazing amount of stuff statically linked in the
executable, including prompts from programs like "passwd". What
gives?)
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"
next prev parent reply other threads:[~1994-06-24 16:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-23 7:41 Does 'shutdown' really shutdown? Horst Luehrsen
1994-06-23 15:54 ` Peter da Silva
1994-06-24 13:33 ` Eric Werme
1994-06-24 16:58 ` Peter da Silva [this message]
1994-06-27 13:18 ` Eric Werme
1994-06-27 15:42 ` Peter da Silva
1994-06-27 16:18 ` Digital Jesus
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox