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

Re: where to install additional kernel modules?



On Sun, Aug 24, 2003 at 06:19:16PM +0200, martin f krafft wrote:
> also sprach Christoph Hellwig <hch@lst.de> [2003.08.24.1806 +0200]:
> > the right place is /lib/modules/${kver}/${package}
> 
> says who?

It's always been this way.  However, before 2.4, modutils had a set
list of directories that it looked at in /lib/moduiles/${kvers},
which included pcmcia, mtd, and rtai, all of which were for non-kernel
source module packages.  Other packages (including Comedi) put their
modules in misc/, rather than bother asking for another directory.  I
eventually asked David Hinds to add comedi to the list of search
directories, and mentioned something about searching all directories.
The next release searched all directories.

In reality, it doesn't matter what directory you put modules in,
since they all share the same namespace.  You can't have two module
files called module_x.o and expect it to work.  Users, however,
appreciate the separation.



dave...



Reply to: