Re: /System/Library/Extensions vs /Library/StartupItems
Re: /System/Library/Extensions vs /Library/StartupItems
- Subject: Re: /System/Library/Extensions vs /Library/StartupItems
- From: Stephane <email@hidden>
- Date: Thu, 1 Feb 2007 17:21:21 +0100
On Feb 1, 2007, at 4:38 PM, Quinn wrote:
At 12:43 +0100 31/1/07, Stephane Sudre wrote:
Which one is supposed to be loaded first at Startup:
/System/Library/Extensions
or
/Library/StartupItems
?
Without further information, my answer is "The ordering between
these two is unspecified." You'll have to give more information
before you can get a meaningful answer.
Alternatively, explain why this ordering is important and perhaps
we can suggest a way to ensure that it's guaranteed to be correct.
Let's say I have a 2 Kernel Extensions:
Kext 1 is a fake I/O Kit Driver whose purpose is to be loaded as soon
as the network stack is available (and even before in theory, though
I've never seen it).
Kext 2 is a kernel extension depending on Kext 1.
Kext 1 seats in /System/Library/Extensions and is automatically
loaded by the OS.
Kext 2 seats in /Library/StartupItems and is loaded through the
StartupItems script.
On the current OS release (10.4), Kext 1 is alaways loaded before
Kext2 so everything is fine.
But if, hypothetically, one day in the distant future, there was a
major update to the OS, I'm wondering what could happen in such a
situation.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden