Can mdev replace udev in an ordinary linux distro?

Baruch Siach baruch at tkos.co.il
Sun Sep 18 03:59:06 UTC 2011


Hi Laurent,

On Sat, Sep 17, 2011 at 01:37:51PM +0200, Laurent Bercot wrote:
> > Well, from what I understand, mdev parses through the entire
> > /etc/mdev.conf file for every device it discovers (I think it does
> > this even when running `mdev -s' which scans all existing
> > devices). This makes mdev smaller and simpler, but probably less
> > efficient than a daemon which parses and caches the whole
> > configuration (like udevd). Adding a bunch of rules to mdev with more
> > hooks and having it parse multiple files in an mdev.conf.d definitely
> > would decrease the efficiency of a system with an mdev setup. But it
> > would still be a simpler and perhaps easier to understand setup than a
> > udevd one(?)
> 
>  mdev could also be patched to be run as a "mdevd" daemon listening
> to the netlink.

Do you know that such a patch actually exists? This would also solve the 
hotplug race problem.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the busybox mailing list