From Wiki-UX.info

How do I completely remove a module from a system
Jump to: navigation, search

How do I completely remove a module from a system

A kernel module should not be removed from a system by simply deleting it from the /usr/conf/mod directory. First unload the module, then uninstall the module, and finally remove the module, if strictly required from the /usr/conf/mod directory as follows:

1. Unload the module:

# kcmodule -s <mydrivername>=unused

2. Uninstall the module:

# kcmodule -s <mydrivername>=uninstall

3. Remove the module from the /usr/conf/mod file:

# rm -f /usr/conf/mod/<mydrivername>

Reference

This page was last modified on 24 June 2009, at 19:00. This page has been accessed 1,203 times.