[please, cc me I do not receive cooker]

> Found a bug with this. It uses the "wc" command, which is in /usr/bin .
> At the stage hotplug is run during boot, /usr is not mounted if it's on
> a separate partition, so it won't work on such machines (e.g. mine). So
> I guess either this needs to stop using wc, or wc needs to move to /bin

it is run in wrong time (sorry, I guess I have to remove my initscripts). 
hotplug is expected to be run after all filesystems have been mounted. usb 
hotplug may create files under /var and I cherish idea to make agents use 
ldetect.

OK what about this:

- the only reason to run usb (or coldplug) that early is because of USB 
keyboard

- but for this it is too late anyway

- and rc.sysinit always runs till the end even if user pressed "I"

- so why not move the question at the end of rc.sysinit and run usb/coldplug 
after everything has been mounted and depmod run.

comments?

-andrey

Reply via email to