public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] update-modules
@ 2002-02-12 20:17 Gert Menke
  2002-02-17  4:49 ` Martin Schlemmer
  0 siblings, 1 reply; 4+ messages in thread
From: Gert Menke @ 2002-02-12 20:17 UTC (permalink / raw
  To: gentoo-dev

Hi,

I tried to figure out what this is for, but I seem to be missing something.
It seems to do nothing but to copy stuff from /etc/modules.d to
/etc/modules.conf and then run depmod -a.
What's the point in copying instead of using include?

Greetings
Gert


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] update-modules
  2002-02-12 20:17 [gentoo-dev] update-modules Gert Menke
@ 2002-02-17  4:49 ` Martin Schlemmer
  2002-02-17  7:56   ` Gert Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Schlemmer @ 2002-02-17  4:49 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]

On Tue, 2002-02-12 at 22:17, Gert Menke wrote:
> Hi,
> 
> I tried to figure out what this is for, but I seem to be missing something.
> It seems to do nothing but to copy stuff from /etc/modules.d to
> /etc/modules.conf and then run depmod -a.
> What's the point in copying instead of using include?
> 

just add whatever you need to a file in /etc/modules.d/

---------/etc/modules.d/sound-------------
alias sound-slot-0 sb
options sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
---------/etc/modules.d/sound-------------

and maybe:

---------/etc/modules.d/eth---------------
alias eth0 eepro100
options eepro100 options=48
---------/etc/modules.d/eth---------------


than after running:

# update-modules

it will include those in /etc/modules.conf

> Greetings
> Gert
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] update-modules
  2002-02-17  4:49 ` Martin Schlemmer
@ 2002-02-17  7:56   ` Gert Menke
  2002-02-17 12:09     ` Martin Schlemmer
  0 siblings, 1 reply; 4+ messages in thread
From: Gert Menke @ 2002-02-17  7:56 UTC (permalink / raw
  To: gentoo-dev

Hi,

On Sun, Feb 17, 2002 at 06:49:07AM +0200, Martin Schlemmer wrote:
> On Tue, 2002-02-12 at 22:17, Gert Menke wrote:
> > I tried to figure out what this is for, but I seem to be missing something.
> > It seems to do nothing but to copy stuff from /etc/modules.d to
> > /etc/modules.conf and then run depmod -a.
> > What's the point in copying instead of using include?
> just add whatever you need to a file in /etc/modules.d/
> than after running:
> # update-modules
> it will include those in /etc/modules.conf

Yes, I know that, but why are they _copied_ into modules.conf? They can be
included. modules.conf allows you to use the "include" statement.
I don't know if it acceps wildcards though.
However, if it does, there is no need for update-modules any more.
Just add "include /etc/modules.d/*" to /etc/modules.conf and run "depmod -a"
whenever you would have run update-modules.

Greetings
Gert


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] update-modules
  2002-02-17  7:56   ` Gert Menke
@ 2002-02-17 12:09     ` Martin Schlemmer
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Schlemmer @ 2002-02-17 12:09 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

On Sun, 2002-02-17 at 09:56, Gert Menke wrote:
> Hi,
> 
> On Sun, Feb 17, 2002 at 06:49:07AM +0200, Martin Schlemmer wrote:
> > On Tue, 2002-02-12 at 22:17, Gert Menke wrote:
> > > I tried to figure out what this is for, but I seem to be missing something.
> > > It seems to do nothing but to copy stuff from /etc/modules.d to
> > > /etc/modules.conf and then run depmod -a.
> > > What's the point in copying instead of using include?
> > just add whatever you need to a file in /etc/modules.d/
> > than after running:
> > # update-modules
> > it will include those in /etc/modules.conf
> 
> Yes, I know that, but why are they _copied_ into modules.conf? They can be
> included. modules.conf allows you to use the "include" statement.
> I don't know if it acceps wildcards though.
> However, if it does, there is no need for update-modules any more.
> Just add "include /etc/modules.d/*" to /etc/modules.conf and run "depmod -a"
> whenever you would have run update-modules.
> 

I am guessing it was the easiest at the time, or back then
there was no include feature ?

> Greetings
> Gert
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-17 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-12 20:17 [gentoo-dev] update-modules Gert Menke
2002-02-17  4:49 ` Martin Schlemmer
2002-02-17  7:56   ` Gert Menke
2002-02-17 12:09     ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox