Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Modules autoloading?
Date: Sat, 29 Apr 2006 06:52:51
Message-Id: 20060429064818.GA27661@princeton.edu
In Reply to: Re: [gentoo-user] Modules autoloading? by Richard Fish
1 On Fri, Apr 28, 2006 at 02:05:09PM -0700, Penguin Lover Richard Fish squawked:
2 > On 4/28/06, Willie Wong <wwong@×××××××××.edu> wrote:
3 > > Any clue as to where I can turn off this behaviour? I checked the
4 > > config files for udev and /etc/conf.d/rc, and I don't see anything
5 > > obvious.
6 >
7 > The modules are loaded when /lib/rcscripts/addons/udev-start.sh runs
8 > udevtrigger, which goes through /sys looking for unhandled 'uevents'.
9 > As part of this handling, it tries to load modules for any hardware
10 > that is attached.
11 >
12 > AFAICT, at this point you have to remove the devices from
13 > /lib/modules/`uname -r`/modules.alias to prevent udev from loading
14 > them.
15 >
16 But if I understand this correctly, isn't modules.alias generated by
17 depmod? And isn't module dependencies calculated during boot? So would
18 the file not be regenerated on the next reboot?
19
20 W
21 --
22 "He stood up straight and looked the world squarely in the
23 fields and hills. To add weight to his words he stuck the
24 rabbit bone in his hair. He spread his arms out wide. `I
25 will go mad!' he announced."
26
27 - Arthur discovering a way of coping with life on
28 Prehistoric Earth.
29 Sortir en Pantoufles: up 167 days, 23:14
30 --
31 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Modules autoloading? Richard Fish <bigfish@××××××××××.org>