[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hotplug and ifup

On Wed, Feb 26, 2003 at 03:24:56AM +0900, Fumitoshi UKAI wrote:
> Anthony Towns wrote:
> > My thought was to delay the execution of the hotplug stuff until later
> > in the boot cycle. [...]
> Is it necessary to run hotplug before some initscript in /etc/rcS.d,
> such as moutnfs, ntpdate?  

If hotplug's installed, the kernel will call it whenever a module is
loaded; and modules are loaded as part of S20modutils. I don't see any way
of avoiding that, or making the actual invocation happen later; the only
control we have afaics is after /sbin/hotplug has actually been invoked.

> Can I assume all devices activated by
> hotplug aren't used in /etc/rcS.d in any situation?

I don't know. You might want to have the USB stuff still work so that
your USB keyboard module is loaded automatically, if you've got things
setup that way?

I think you could get away with telling people "Hotplug doesn't work
'til after /etc/rcS.d: please specify everything you need during rcS.d
*explicitly*", though. There's nothing hotplug can do that you can't do
by hand.


Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

  ``Dear Anthony Towns: [...] Congratulations -- 
        you are now certified as a Red Hat Certified Engineer!''

Attachment: pgpjSOPrw3uo_.pgp
Description: PGP signature

Reply to: