kldstat and module ref count

Sam Lawrance samuel.lawrance at studentmail.newcastle.edu.au
Thu Mar 25 14:14:15 PST 2004


Hi,

I've tried to find the answer to this but am stuck. How can I prevent a
kld module being unloaded if it is still in use?

Filesystem modules give "device busy" if you try to kldunload them while
still in use. Any sort of quick pointer in the right direction would be
much appreciated.

Cheers
-Sam.





More information about the freebsd-hackers mailing list