udev: Directory for custom device nodes.

Féliciano Matias feliciano.matias at free.fr
Tue Jan 25 15:48:28 UTC 2005


Le mardi 25 janvier 2005 à 09:49 -0500, Dan Williams a écrit :
> On Tue, 2005-01-25 at 14:38 +0100, Féliciano Matias wrote:
> > 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
> 
> Does it seem utterly _pathetic_ to anyone else but me that there would
> have to be 5 different places to add information about a particular
> hardware device, just to get it to load and work?  Just a point of
> observation.

Do you prefer hacks and "Ooops" in order to
configure /etc/modprobe.conf, /etc/rc.d/rc.local, /etc/security/console.perms ?

If the driver support udev, doesn't need configuration, do not need
pam_console, can be auto-loaded, ... all this stuff is useless.

But sometimes...
You know, the "real world".

> On Tue, 2005-01-25 at 14:38 +0100, Féliciano Matias wrote:
> > Suppose I want to package the mga_vid driver, I'll use :

Now suppose /etc/modprobe.conf.d/, /etc/sysconfig/init-dev.d/, ... exist
and I created a rpm package for mga_vid.

Just install it and enjoy.
-------------- 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/a3c8c4c2/attachment-0002.bin 


More information about the devel mailing list