Re: programmatically loading and unloading drivers
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I don't think the api used in kextload and kextunload are public. We have always used these directly (either in a script or execv) to load our kexts. You really don't want to use some other way because Apple changes how kextload works on occasion. On Oct 31, 2011, at 11:09 AM, Joel Reymont wrote:
Chris,
By programmatically I meantusing the APIs that kextload an kextunload use, rather than invoking the programs themselves.
--- Sent from my iPhone
On Oct 31, 2011, at 4:00 PM, Chris Logsdon <Log@charismac.com> wrote:
You can use kextload and kextunload to do this. The unload will fail if a kext is in use though.
-Chris
Sent from my iPhone
On Oct 31, 2011, at 6:36 AM, "Joel Reymont" <joelr1@gmail.com> wrote:
Is it possible to programmatically load and unload drivers?
Thanks, Joel
--- http://twitter.com/wagerlabs
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/chrisl%40charismac.com
This email sent to chrisl@charismac.com
Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/nelson%40thursby.com
This email sent to nelson@thursby.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Nelson