:: Re: [DNG] I have a question about l…
Top Page
Delete this message
Reply to this message
Author: Dr. Nikolaus Klepp
Date:  
To: dng
Subject: Re: [DNG] I have a question about libsystemd0 in devuan ascii,
Hi!

Am Montag, 26. Juni 2017 schrieb Rick Moen:
> Quoting Dr. Nikolaus Klepp (dr.klepp@???):
>
> > 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.
>
> Ummm....
>
> /proc/sys/kernel/hotplug appears to be a /proc key you _create_.
> As to whether hotplug support is present in your kernel, what does
> 'zless /proc/config.gz | grep CONFIG_HOTPLUG=' say?
>
> https://stackoverflow.com/questions/2111278/correct-linux-kernel-configuration-for-hotplug
> https://serverfault.com/questions/303085/what-is-mdev-and-how-to-dev-nodes-get-created-in-linux


Well, it's not. Try for yourself:

# echo "/some/binary" > /proc/sys/kernel/hotplug
bash: /proc/sys/kernel/hotplug: No such file or directory

/proc/config.gz is gone for ages, too. It' now a textfile /boot/config-*, which may or may not represent the current kernel config.

Nik

--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...