udev: Directory for custom device nodes.

Féliciano Matias feliciano.matias at free.fr
Tue Jan 25 13:38:54 UTC 2005


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.


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20050125/3c02386b/attachment-0002.bin 


More information about the devel mailing list