Re: Kext user parameter without userland daemon
Re: Kext user parameter without userland daemon
- Subject: Re: Kext user parameter without userland daemon
- From: Antoine Missout <email@hidden>
- Date: Fri, 7 Jan 2011 17:40:07 -0500
So, any suggestions except for hooking myself somewhere between after the root file system is mounted and before launchd is started and just reading a file (*horror*) from the disk ?
If that's the only way - looks fun - any pitfalls to avoid ?
- Antoine
On 2011-01-06, at 16:53, 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