Re: /proc entry UNregistration (fwd)

Bill Hawes (
Fri, 24 Jul 1998 12:40:38 -0400

Linux Lists wrote:

> I'm looking for information on how to UNregister a /proc entry when
> unloading a kernel module. I've found some other drivers that register
> /proc entries (by the means of the proc_register function), which is
> useful for monolythic kernels, but when it goes to modules, we need to
> clean up these entries before unloading the kernel module. For these
> cases, I couldn't find any reasonable example / documentation.

The fs/binfmt_misc.c code is a reasonable example of a module that
registers and unregisters /proc entries. (Many other modules do as


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at