Re: modutils and 2.4.0-test6-pre1

From: Thomas Molina (tmolina@home.com)
Date: Wed Aug 02 2000 - 08:33:42 EST


On Wed, 2 Aug 2000, Keith Owens wrote:

> On Wed, 2 Aug 2000 07:36:27 -0500 (CDT),
> Thomas Molina <tmolina@home.com> wrote:
> >I have a (probably) dumb question here. Under the new scheme am I going
> >to run into difficulties? I do the following in rc.sysinit:
> >
> >mver=`uname -r`
> >rm -rf /lib/modules/default
> >ln -sf /lib/modules/$mver /lib/modules/default
> >INITLOG_ARGS= action "Finding module dependencies" depmod -a
> >
> >and in /etc/modules.conf I have stuff similar to the following:
> >
> >path[misc]=/lib/modules/default
>
> /lib/modules/default -> /lib/modules/`uname -r` so modutils will scan
> all of /lib/modules/`uname -r`. That includes the new build symlink so
> you will end up treating all of /usr/src/linux (or wherever) as modules,
> not nice.

So, in other words the above path in modules.conf should read:

path[misc]=/lib/modules/default/misc?

That would seem reasonable to me. I usually maintain at least two
development trees and two stable trees that I can switch between during
boot. Since there are some significant differences between 2.2 and 2.4
this flexibility is fairly important to me. Thanks.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST