Re: programmatically loading and unloading drivers
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=XmufXdbJJ3/VdLY2UGwCteiEQDwXtj2+fRDsZXbU8Z4=; b=Yy4Qtf/YMu85R4zWmZG6Flm/KsaSogpbYN0mhcUp+CpwS3RB9lMopvFaM3Orf3yRVG LsMI6eDs0ZwgPmLuNHspXJ8nbj+C7Wj4OgoZT9Ow3LC08JDLwU+fVP2lgrlq6jvMxBvS 1xuu9cym5SQzlSqZwNLb6IYELGK6lhE90XReo= 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/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont