[KLUG Members] Re: Suse module directories

members@kalamazoolinux.org members@kalamazoolinux.org
Wed, 26 May 2004 14:12:26 -0400


On Wed, May 26, 2004 at 01:35:16PM -0400, Mike Williams was only escaped
   alone to tell thee:

> dalton:/usr/src # ls /lib/modules/
> .                 2.4.21-144-default           
> 2.4.21-override-default              scripts
> ..                2.4.21-215-default           precompiled
> 
> 
> What's override and what are defaults?

So far as I know, the stock kernel module install creates a directory
(or overwrites) in /lib/modules with the exact name of the kernel.
That's how the kernel knows where to look. Those are the only files or
dirs in /lib/modules on Gentoo or Debian, IIRC.

grimace:02:04:39:~$ ls -Al /lib/modules/
total 12
drwxr-xr-x  3 root root 4096 Apr  4 13:42 2.6.4
drwxr-xr-x  3 root root 4096 May 12 03:28 2.6.5
drwxr-xr-x  3 root root 4096 May 24 17:49 2.6.6
grimace:02:04:43:~$

So you can have dirs in there named 2.4.19-ihatecompilingnewkernels-1.

-- 
Contrariwise, if it was so, it might be; and if it were so, it
would be; but as it isn't, it ain't. That's logic. -- L. Carroll