Féliciano Matias wrote:
Le mardi 25 janvier 2005 à 12:45 +0100, Harald Hoyer a écrit :
Are the names fine or should we rename /etc/sysconfig/makedev.d in s.th. like
/etc/sysconfig/init-makedev.d ??
/etc/sysconfig/makedev.d (or init-makedev.d) does not store things like
found in /etc/makedev.d/ .
proposition :
/etc/sysconfig/init-dev.d
Another point, sysinit does not provide a way to load a module at boot
time (other than using /etc/rc.d/rc.local).
For example, I use this driver (with mplayer) :
http://www.linuxops.net/~pw/mga_vid/
This module does not support auto-loading.
A /etc/sysconfig/init-dev.d/*.module would be appreciated.
Hmm, there is rc.modules mentioned in rc.sysinit, but I think that is deprecated.
Last, what about /etc/modprobe.conf.d by default ?
Modprobe support "include /etc/modprobe.conf.d" with /etc/modprobe.conf.
There is one piece missing "in my dream" :
/etc/security/console.perms.d/mga_vid
where I can add "<v4l>=/dev/mga_vid".
Suppose I want to package the mga_vid driver, I'll use :
/etc/makedev.d/mga_vid # /dev/mga_vid definition
/etc/sysconfig/init-dev.d/mga_vid.dev # create /dev/mga_vid
/etc/sysconfig/init-dev.d/mga_vid.module # load mga_vid
/etc/modprobe.conf.d/mga_vid.conf # configure mga_vid
/etc/security/console.perms.d/mga_vid # pam_console configuration
Right... that would be cool.