On May 6, 2005, at 2:48 PM, Andrew Gallatin wrote:
Could you give us a little more to go on, please? I'm really
interested in getting rid of KUNCExecute(), but I can't find any
...
I use devfs to dynamically create character devices nodes when my
driver is loaded. So I think I can probably use the WatchPaths
directive to watch for my character device nodes appearing. It will
require a wrapper shell script.... Hmm..
Yuck!
You ought to be able to register a service with launchd against a
'known'
port, and then simply message the port to have your service launched.
This is probably the easiest way to get launch/message-on-demand
semantics out of the kernel at this point.