Re: Starting a Volume Filter KEXT
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com --- 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 <duanemurphy@mac.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy