[RFC] kldunload -f argument.

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jul 9 04:11:37 PDT 2004


In message <20040709115858.47efb729 at dev.lan.Awfulhak.org>, Brian Somers writes:

>> >The idea is that the user can be more active in getting rid of the active
>> >module by QUIESCEing it, then running around murdering processes before
>> >unloading it.
>> 
>> I could maybe see a point in this but I cannot remember one single instance
>> where I would have actually done this myself.
>
>I guess if_tun.ko springs to mind.  I can reliably unload it if I quiesce it,
>kill all the ``Opened by PID N'' processes, then unload it.

Yeah, that would be somewhat similar to the geom case I guess.

I'll give kldunload a -q option too.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list