Re: Kext user parameter without userland daemon
Re: Kext user parameter without userland daemon
- Subject: Re: Kext user parameter without userland daemon
- From: Nick Blievers <email@hidden>
- Date: Fri, 7 Jan 2011 09:23:13 +1100
I think you might be going about this the wrong way (or I am not understanding your requirements!).
Why don't you make your daemon load the necessary data into the kernel when it loads (or even have a bootstrap daemon that loads before the real daemon, and checks if the data has been loaded into the kernel)?
Is it really a requirement that the data is loaded before launchd? or simply before your daemon loads? If its the latter a bootstrap daemon should work.
Nick
On 07/01/2011, at 8:53 AM, Antoine Missout wrote:
> Yes and no,
>
> We could read them once the file system has been mounted. We just need to have them before launchd is started.
>
> And we only use this plist key short of finding another way to be loaded before any processes are launched.
>
> - Antoine
>
>
>
>
> On 2011-01-06, at 16:31, Quinn The Eskimo! wrote:
>
>>
>> On 6 Jan 2011, at 18:42, Antoine Missout wrote:
>>
>>> We use OSBundleRequired Root to be loaded before launchd if that is your question.
>>
>> Well, by specified OSBundleRequired "Root" you're telling the system that you have to be started in order to mount the root file system. This guarantees that you won't be able to read the file system to get your configuration parameters. At this point you'll have to get your configuration parameters via pre-boot mechanisms, which is kinda ugly (and outside my area of expertise).
>>
>> S+E
>> --
>> Quinn "The Eskimo!" <http://www.apple.com/developer/>
>> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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