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

Re: debian and UDEV

Goswin von Brederlow wrote:
> The most hideous problem of hotplug/udev is the following:
> You can't wait for an hotplug/udev event to be done processing. That
> is always done asynchron without any feedback of completion.
> Consequently any module loading has to randomly wait a while till
> devices show up before using it. A simple thing as
> modprobe my-harddisk-module
> mount /dev/my-hard-disk
> 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.

I guess that the mount should/may appear in a special udev rule?



Whenever you meet yourself you're in a time loop or in front of a mirror.

Please always Cc to me when replying to me on the lists.

Reply to: