diff -urN udev-config-20060607-try2/25-lfs.rules udev-config-20060712/25-lfs.rules
old
|
new
|
|
121 | 121 | # dmsetup and lvm2 related programs create devicemapper devices so we prevent |
122 | 122 | # udev from creating them |
123 | 123 | |
124 | | KERNEL=="dm-*", NAME="" |
| 124 | KERNEL=="dm-*", OPTIONS+="ignore_device" |
| 125 | KERNEL=="device-mapper", OPTIONS+="ignore_device" |
125 | 126 | |
126 | 127 | KERNEL=="ht[0-9]*", GROUP="tape" |
127 | 128 | KERNEL=="nht[0-9]*", GROUP="tape" |
diff -urN udev-config-20060607-try2/81-cdrom.rules udev-config-20060712/81-cdrom.rules
old
|
new
|
|
| 1 | # /etc/udev/rules.d/81-cdrom.rules: Set CD-ROM permissions. |
| 2 | |
| 3 | ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", GROUP="cdrom" |
diff -urN udev-config-20060607-try2/contrib/debian/81-cdrom.rules udev-config-20060712/contrib/debian/81-cdrom.rules
old
|
new
|
|
1 | | # /etc/udev/rules.d/81-cdrom.rules: Generate rules for newly-added CD drives. |
| 1 | # /etc/udev/rules.d/81-cdrom.rules: Set CD-ROM permissions and get device capabilities |
2 | 2 | |
3 | | ACTION=="add", ENV{ID_TYPE}=="cd", IMPORT{program}="cdrom_id --export $tempnode", GROUP="cdrom" |
| 3 | ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", IMPORT{program}="cdrom_id --export $tempnode", GROUP="cdrom" |
diff -urN udev-config-20060607-try2/contrib/debian/write_cd_aliases udev-config-20060712/contrib/debian/write_cd_aliases
old
|
new
|
|
68 | 68 | fi |
69 | 69 | |
70 | 70 | [ "$comment" ] && echo "# $comment" |
71 | | echo "ACTION==\"add\", $match, ENV{ID_CDROM}==\"1\", SYMLINK+=\"$link\", ENV{GENERATED}=\"1\"" |
| 71 | echo "ACTION==\"add\", SUBSYSTEM==\"block\", $match, ENV{ID_CDROM}==\"1\", SYMLINK+=\"$link\", ENV{GENERATED}=\"1\"" |
72 | 72 | } >> $RULES_FILE |
73 | 73 | SYMLINKS="$SYMLINKS $link" |
74 | 74 | } |