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

Re: debian and UDEV



Wouter Verhelst <wouter@debian.org> writes:

> On Thu, May 18, 2006 at 04:16:33PM +0200, Gabor Gombas wrote:
>> On Wed, May 17, 2006 at 10:24:28PM +0200, Goswin von Brederlow wrote:
>> > Just like the kernel always did prior to udev.
>> 
>> You're missing a very important thing. This is _NOT_ a "udev vs.
>> pre-udev" question. This is a "new kernel hotplug behavior vs. old
>> kernel hotplug behavior" question. The fact is that the kernel behavior
>> changed fundamentally in the early 2.6.x series compared to 2.4.x, and
>> userspace did not follow that change ever since. udev simply exposes how
>> the kernel really works. Not using udev solves NOTHING since it's not
>> udev that is broken: it is the general userspace assumption about how
>> the kernel works what is broken.
>
> This is pure crap.
>
> Install udev on my system -> things break randomly and unreproducibly,
> due to race conditions all over the place.
>
> Install hotplug on my system, and make sure udev is not installed ->
> things Just Work(TM).

That is because udev is slower so the window of the race condition
gets increased many many times. Without udev you don't have to wait
for the mknod call to complete.

And for most hardware that actualy makes the race condition
disapear. Just broken stuff like usb that has asynchronous device
detection it still breaks.

MfG
        Goswin



Reply to: