:: Re: [DNG] I have a question about l…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Didier Kryn
Päiväys:  
Vastaanottaja: dng@lists.dyne.org
Aihe: Re: [DNG] I have a question about libsystemd0 in devuan ascii,
Le 26/06/2017 à 10:40, Dr. Nikolaus Klepp a écrit :
> Hi !
>
> Am Montag, 26. Juni 2017 schrieb karl@???:
>>  From https://busybox.net/downloads/BusyBox.html
>> mdev
>>      mdev [-s]
>>              -s      Scan /sys and populate /dev during system boot
>>      It can be run by kernel as a hotplug helper. To activate it:
>>      echo /bin/mdev >/proc/sys/kernel/hotplug It uses /etc/mdev.conf
>>      with lines [-]DEVNAME UID:GID PERM [>|=PATH] [@|$|*PROG]

>>
>> What mdev probably is missing is libudev which some programs whishes to
>> use.
> /proc/sys/kernel/hotplug is missing in debian & devuan kernel since some years now. Is there a way (despite recompiling) to get it back?
>
> Nik
>
>


     Busybox, as from version 1.24.1, has a netlink listener meant to 
fork mdev (or any other app) on uevents. This is meant precisely to 
emulate hotplug behaviour in case it is disabled in kernel. The applet 
is named "uevent" . https://www.busybox.net/


     Nathanael Copa has considered transforming Mdev so as to read the 
netlink - together with other improvements. This has some advantages, 
such as not needing dirty tricks to serialize the processing of uevents. 
The advantage of keeping Mdev as it is now is that it is not constantly 
running (and consuming ressources) while it is rarely working except at 
startup; this maybe important on tiny systems.


     Didier