:: Re: [DNG] What is an init system?
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lorenz
Date:  
À: karl
CC: dng
Sujet: Re: [DNG] What is an init system?
Maybe the mdev-like-a-boss repo can provide some inspiration for
mdev config files
https://github.com/slashbeast/mdev-like-a-boss

Cheers,
Lorenzo

Il giorno sab 1 giu 2024 alle ore 18:03 <karl@???> ha scritto:
>
> Ralph Ronnquist:
> ...
> > Afaict, mdev, udev and vdev are all "just" different rule interpreters
> > by which to define what to do upon discovery of hardware elements. But
> > none of them contain the actual rules. Therefore e.g. "mdev -s"
> > doesn't do anything; it would if I had a good /etc/mdev.conf and
> > that's where it stops for me.
> ...
>
> If you look at:
> https://git.busybox.net/busybox/tree/examples/mdev_fat.conf
>
> you see that mdev.conf is for knowing owner:group and chmod of the
> device file to create, example:
>
> ttyS[0-9]*      root:uucp 660

>
> You can also run a program when creating a device
>
> sd[a-z].*       root:disk 660 */lib/mdev/usbdisk_link

>
> but thoose programs are not provided by the busybox git repo.
>
> ///
>
> I'll see if I can find some informations re. you other points.
>
> Regards,
> /Karl Hammar
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng