[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how can a kernel module unload itself?



> How can a kernel module unload itself?  When things go wrong, you
> know...
> I tried to call release module but it didn't work. Isn't there any exit
> function?

Module unloads itself if things go
wright. This should be compiled into
kernel and module loaded when needed.

Dynamic load is cool and error prone.
For all day task it is better to com-
pile in kernel as included. For au-
thomatic load, there is option to allow
it in kernel. When job(), load A, B...
When job() is over, unload B, A...

If you don't like that module to be
in your way, unload it manualy.

The answer is longer then question and
description of the problem. It should not
be that way.


                     Zoran




Reply to: