[plug] Forcing a kernel module to unload.

Peter F Bradshaw pfb at exadios.com
Tue Jul 18 00:46:29 WST 2006


Hi;

On Sun, 16 Jul 2006, Tomasz Grzegurzko wrote:

> Peter F Bradshaw wrote:
> > Hi;
> >
> > How can I force a kernel module to unload when it refuses to using
> > modprobe -r?
> >
> > Cheers
> >
> Your kernel would have to be compiled with module forced unloading
> support for starters, then
> # modprobe -rf <modname>

Unfortunately the modprobe does not support the '-f' flag.

>
> Tomasz

Cheers

-- 
Peter F Bradshaw, http://www.exadios.com
Public key at www.exadios.com/pfb.pgp.key and www.exadios.com/pfb.gpg.key
Personal site: http://personal.exadios.com
"I love truth, and the way the government still uses it occasionally to
 keep us guessing." - Sam Kekovich.



More information about the plug mailing list