Gentoo Archives: gentoo-kernel

From: Greg KH <gregkh@g.o>
To: gentoo-kernel@l.g.o
Subject: Re: [gentoo-kernel] linux-mod addition: modules.d file generation
Date: Mon, 06 Dec 2004 17:01:06
In Reply to: Re: [gentoo-kernel] linux-mod addition: modules.d file generation by Daniel Drake
On Sun, Dec 05, 2004 at 08:51:58PM +0000, Daniel Drake wrote:
> >I guess I don't see the need for why we have these modules.d files. > >Anyone want to hit me with the cluestick for being not awake yet today? > > To provide default options when loading or autoloading modules. For > example, I have the example in that file uncommented, and when I boot up, > nvidia module gets autoloaded with those options I have specified. To be > more specific, all of the /etc/modules.d/ files get aggregated into > /etc/modules.conf when "modules-update" is run (every bootup). > > Bear in mind that I am simply automating/generalising a process that is > already in place. Currently, > /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nvidia is copied into > /etc/modules.d but I am trying to generate a mechanism to automatically > generate this and generalise it so that other module ebuilds can use it too.
Ok, thanks for the explaination. Forgot about that "default options" for modules stuff. thanks, greg k-h -- gentoo-kernel@g.o mailing list