martin f krafft wrote:
also sprach Bastian Blank <[EMAIL PROTECTED]> [2005.04.01.2104 +0200]:My sarcasm detector went off with this one, so I'll try to intervene. AFAIK the Gentoo /etc/rc does the following:
Uh, this looks like a "pull" type of thing in which ever init.dNo, it is not. The dependencies are cached.
script starts its dependencies. I don't think this is a good idea.
Cached? As in queried beforehand? As in two-pass algorithm, once iterating init.d with 'depends' as option, then with 'start' ?
Yeah, that sounds nice.
1. for all init.d scripts, read it, call depend(), determine its dependencies, store its start() function somewhere;
2. for all dependency-ordered determined, call the start() functions paralelizing when possible
And, yes, it's very nice.
HTH Massa
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]