Gentoo Archives: gentoo-dev

From: Greg KH <gregkh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] udev coldplugging and /etc/init.d/modules
Date: Wed, 13 Dec 2006 20:30:37
Message-Id: 20061213202516.GA8795@kroah.com
In Reply to: Re: [gentoo-dev] udev coldplugging and /etc/init.d/modules by Chris Gianelloni
1 On Wed, Dec 13, 2006 at 03:14:56PM -0500, Chris Gianelloni wrote:
2 > On Wed, 2006-12-13 at 10:21 -0800, Greg KH wrote:
3 > > > what's the best way to just completely disable udev coldplug-like
4 > > > module loading?
5 >
6 > > # NOTE: This also affects module coldplugging in udev-096 and higher
7 > > # If you want module coldplugging but not coldplugging of services then you
8 > > # can set RC_COLDPLUG="yes" and RC_PLUG_SERVICES="!*"
9 > >
10 > > so just set RC_COLDPLUG="no" and you will disable the module loading by
11 > > udev at boot time.
12 >
13 > Here's a question, then. Is there a way, after boot, to cause udev to
14 > attempt to detect and load modules? Basically, is there a way to
15 > emulate the old behavior of the "coldplug" init script? This would be
16 > very useful for our LiveCD builds, since we've lost the ability to do
17 > "nohotplug" on the command line to disable cold plugging.
18
19 You can re-run /sbin/udevtrigger if you want to.
20
21 But why do it later? Why not just let udev do it at the start of boot?
22 What do you gain by delaying this?
23
24 thanks,
25
26 greg k-h
27 --
28 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] udev coldplugging and /etc/init.d/modules Chris Gianelloni <wolf31o2@g.o>