[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?
I thought the init scripts in rc.d are generally run after root is
remounted. 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. The root filesystem is remounted rw in /etc/rc.d/rc.sysinit
or equivilent, and the hotplug startup is called after that.
So the REMOVER technique in general should be fine. I guess the creation
of /var/run/usb should be part of installation instead of made on the
fly, I can live with that.
--
Steve Williams "The woods are lovely, dark and deep.
[EMAIL PROTECTED] But I have promises to keep,
[EMAIL PROTECTED] and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel