Can mdev replace udev in an ordinary linux distro?
Baruch Siach
baruch at tkos.co.il
Mon Sep 19 13:36:26 UTC 2011
Hi Natanael,
On Mon, Sep 19, 2011 at 02:30:06PM +0200, Natanael Copa wrote:
> On Mon, Sep 19, 2011 at 1:59 PM, Denys Vlasenko
> <vda.linux at googlemail.com> wrote:
> >
> > Netlink based solution requires a daemon.
>
> I think thats ok for archs with MMU. busbox will most likely already
> be in memory for syslog, shell etc.
>
> I'd be happy to trade a daemon for faster bootups (less forks)
>
> I suppose it'd be good to be able to do both. Then you could start the
> mdev daemon early at boot, do the coldplugging and as one of the
> latest steps at boot stop the deamon and switch back to echo
> "/sbin/mdev" > /proc/sys/kernel/hotplug
Just do 'mdev -s' at startup; It doesn't fork, as far as I can see. Then make
mdev your hotplug agent.
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