Reloading kernel extensions

Sometimes it might be useful to reload a kernel extension in OSX without rebooting your Mac. This can be done in a terminal window with the following commands:

sudo kextunload /System/Library/Extensions/NameOfExtension.kext
sudo kextload /System/Library/Extensions/NameOfExtension.kext

Replace NameOfExtension.kext with the name of the extension you want to reload.

This entry was posted in Mac. Bookmark the permalink.

One Response to Reloading kernel extensions

  1. عمر ملقب بالثاني says:

    You may first want to check if the kernel extension being unloaded has dependencies, in which case unload will fail. Use kextstat and look at the “linked against” column.

    Third-party kexts usually don’t have dependencies but system kexts are tightly depend on one another.

    Take at least a glance at the before monkeying around with kexts.

    PS Danke für die kürze aber sachdienliche Posten

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

For spam filtering purposes, please copy the number 5729 to the field below: