chiark / gitweb /
[PATCH] Some updates for Gentoo's udev rules
authorazarah@nosferatu.za.org <azarah@nosferatu.za.org>
Thu, 18 Nov 2004 03:10:07 +0000 (19:10 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:12:41 +0000 (22:12 -0700)
commit9dfe20eff709a251da92c473ea94615887497e0a
tree0a745948044ef8a7477b43a5bd3b7d6f11975c5c
parent0bac7bab72648fe9f2667287b38d371929341b4f
[PATCH] Some updates for Gentoo's udev rules

Hi,

Here is a few updates for the udev.rules.gentoo from udev package.
I will summarise it briefly:

1)  The last change you did to legacy tty's is wrong.

I say this because:
1a)  The original devfs rules had both master and slave in /dev/pty:

nosferatu linux # grep devfs_name drivers/char/pty.c
        pty_driver->devfs_name = "pty/m";
        pty_slave_driver->devfs_name = "pty/s";
nosferatu linux #

1b)  If you refer to '2.6.8.1-mm1 Tty problems?', you will see that
the /dev/tty/ directory our rules create, replaces this symlink:

nosferatu portage # ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Nov 14 17:06 /dev/tty
nosferatu portage #

which is used to determine the controlling tty.

2)  Somebody added the /dev/cpu/microcode rule, but it was not run
as there was an older rule before that placing it in /dev/misc (which
is wrong).  Just remove the first broken rule

3)  Some form/tab cleanups.  Reorder rules alphabetically according to
device class to make searching/editing easier.
etc/udev/udev.rules.gentoo