The check (and wait) for "/usr" availability is provided by the starter script 
in /lib/udev.
It will run in background and not holding up the udev process. Since the shell 
for the wrapper script sits in /usr/bin, this tree is needed anyway.

I thoroughly tested on seven different distros. The cold boot processing worked 
reliably.
Concerning the timing, it makes sense to run the whole switching procedure 
detached from the boot process because the devices concerned do need from 2 to 
20 seconds to return in their new mode.

Josua Dietze


Michael Biebl <bi...@debian.org> schrieb:

>Hi Didier
>
>Am 10.02.2011 00:31, schrieb Josua Dietze:
>> 
>> Am 10.02.2011 00:11, schrieb Michael Biebl:
>>> Please consider moving those files to /usr/share, or if they are needed 
>>> during boot
>>> to /lib/usb-modeswitch.
>> 
>> 
>> The files might in fact be needed during boot.
>
>
>With today's upload the files were moved out of /etc/ into /usr/share.
>Have you read Josua's comment, that those files are needed during boot?
>With the files in /usr/share, you will run into problems if /usr is on a
>separate partition because udev is run rather early before boot (before other
>partitions are mounted).
>In case your modem is already attached during boot, it won't be switched, 
>unless
>you plug it out and in again.
>
>Have you considered that?
>
>Cheers,
>Michael
>-- 
>Why is it that all of the instruments seeking intelligent life in the
>universe are pointed away from Earth?
>

Reply via email to