Gentoo Archives: gentoo-dev

From: Gert Menke <gert@××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] update-modules
Date: Sun, 17 Feb 2002 01:58:25
Message-Id: 20020217075622.GA978@mouse.mydomain
In Reply to: Re: [gentoo-dev] update-modules by Martin Schlemmer
1 Hi,
2
3 On Sun, Feb 17, 2002 at 06:49:07AM +0200, Martin Schlemmer wrote:
4 > On Tue, 2002-02-12 at 22:17, Gert Menke wrote:
5 > > I tried to figure out what this is for, but I seem to be missing something.
6 > > It seems to do nothing but to copy stuff from /etc/modules.d to
7 > > /etc/modules.conf and then run depmod -a.
8 > > What's the point in copying instead of using include?
9 > just add whatever you need to a file in /etc/modules.d/
10 > than after running:
11 > # update-modules
12 > it will include those in /etc/modules.conf
13
14 Yes, I know that, but why are they _copied_ into modules.conf? They can be
15 included. modules.conf allows you to use the "include" statement.
16 I don't know if it acceps wildcards though.
17 However, if it does, there is no need for update-modules any more.
18 Just add "include /etc/modules.d/*" to /etc/modules.conf and run "depmod -a"
19 whenever you would have run update-modules.
20
21 Greetings
22 Gert

Replies

Subject Author
Re: [gentoo-dev] update-modules Martin Schlemmer <azarah@g.o>