[PATCH] Add subsystem support to mdev (firmware loading)

Erik Andersen andersen at codepoet.org
Fri Oct 20 20:04:37 UTC 2006


On Fri Oct 20, 2006 at 08:05:57PM +0100, Michael-Luke Jones wrote:
> >Any any reason not to have it install
> >itself as /sbin/hotplug or set /proc/sys/kernel/hotplug pointing
> >to /sbin/mdev when run with 'mdev -s'?
> 
> 1) Because /sbin/hotplug is deprecated?

/sbin/hotplug as implemented using a pile of shell scrips
calling sed and awk etc etc is indeed deprecated.  The need
for /sbin/hotplug (or whatever /proc/sys/kernel/hotplug is
pointing to) is becoming the One True Path(tm) and is not
going away anytime soon.

> 2) Because some people want to use mdev to initially populate /dev  
> early in boot then hand on to udev later in the boot process?

And when they run udev, it will install itself via
/proc/sys/kernel/hotplug as the hotplug handler.  Which
is what I propose 'mdev -s' should also do -- install
mdev as the hotplug handler.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list