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

Re: debian and UDEV



On Thu, May 18, 2006 at 08:05:35PM +0200, Gabor Gombas wrote:
> On Thu, May 18, 2006 at 07:16:00PM +0200, Goswin von Brederlow wrote:
> 
> > 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.
> 
> I think you got the speed comparison wrong: udev does the mknod() from a
> C program running as a daemon, while hotplug means forking a new shell
> for every event. That should be several magnitudes slower.

The difference being that hotplug doesn't even *attempt* to do an
mknod() in its default configuration. Udev does do so, for everything.

-- 
Fun will now commence
  -- Seven Of Nine, "Ashes to Ashes", stardate 53679.4



Reply to: