Stephen Williams <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] said:
> > You are missing the point. Root is mounted read-only upon boot, and
> > hotplug running at that time does not work if it attempts to write or
> > create files.
> 
> You are right, I completely forgot about that. Piffle!
> 
> But wait! Don't all the other demons, such as bind, inetd, etc. writing
> pid files into /var/run? That's what it is for, is it not?

Yes, but...
> 
> I thought the init scripts in rc.d are generally run after root is
> remounted.

...this is when these are run.

> The hotplug rc script runs through and synthesizes add events
> for existing devices when it runs, and invokes all the add sub-scripts
> at that time.

USB initialization needs to be a lot earlier than that, so USB input
devices can be used for system maintenance if necesarry (like fscks,
interactive startup of services etc)

> The root filesystem is remounted rw in /etc/rc.d/rc.sysinit
> or equivilent, and the hotplug startup is called after that.

No.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to