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

Re: debian and UDEV

Marco d'Itri <md@Linux.IT> writes:

> brederlo@informatik.uni-tuebingen.de wrote:
>>You can't wait for an hotplug/udev event to be done processing. That
>>is always done asynchron without any feedback of completion.
> This is not correct. Look at the while loop in the init script and and
> the udevsettle source.


You have to poll the queue as I understand it, right?

>>will randomly fail or succeed depending on current scheduling. Any
>>sequence of loading a module and using the expected device node has to
>>utilize a sleep statement and prey udev runs fast enough to complete
>>in the given time.
> Wrong.

Experince proofs me right and you wrong. Or everyone is doing it

Maybe udevsettle addresses this problem, it is fairly new though,


Reply to: