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

Re: [MiNT] patch:MiNT:KM_FREE



Vincent Rivière <vincent.riviere@freesbee.fr> writes:

> For loading modules, the modprobe command takes the basename of a
> module (filename without extension) and search for it in a well-known
> directory, if it has not already been loaded.

Direct use of modprobe with a module name is rare these days.  Normally
a module is located via matching aliases stored in a special section of
the module so that the name does not matter.

> What happens on Linux if some pervert renames a module and tries to
> load it 2 times ?

You'll probably get a resource conflict (since the loaded module is
already claiming it) and the module will not load.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."