Re: Starting a Volume Filter KEXT
Re: Starting a Volume Filter KEXT
- Subject: Re: Starting a Volume Filter KEXT
- From: "Duane Murphy" <email@hidden>
- Date: Tue, 10 Apr 2007 19:04:53 -0700
--- At Tue, 10 Apr 2007 17:52:36 -0700, Kevin Elliott wrote:
>At 17:45 -0700 on 4/10/07, Jason Townsend wrote:
>>On 4/10/07, Duane Murphy <email@hidden> wrote:
>>> We have a volume filter kext that we would like to start operating/
>>> matching without having to restart.
>>>
>>> How can we make that happen?
>>>
>>> I've tried a few flavors of installing the kext file, and touching /
>>> System/Library/Extensions/ but when an appropriate drive is inserted,
>>> the kext is not loaded. Of course restarting causes everything to work
>>> just dandy.
>>>
>>> How do we get the kext cache to notice our new file?
>>>
>>> Thanks for the help,
>>> ...Duane Murphy
>>
>>Try running "/sbin/kextload <path to your kext>". There's a man page
>>for this tool as well.
>
>That won't work in the general case, because your kext may not match
>anything at load time, and will eventually get unloaded automatically
>by kextd.
>
>The right solution is here:
><http://developer.apple.com/qa/qa2001/qa1319.html>
>
>Short answer is on 10.3 or later send SIGHUP to kextd if it's
>running. If it's not, require a restart.
Thanks folks. This looks like the ticket. I wish there was a better way
of getting the pid for kextd. Seems like using the kill API might be easier.
In any case, Thanks!
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden