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
> <[email protected]> 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------------{=
- [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox