From d4e0db3c5de9a4899c87a4cf09b74f8bdc764060 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 21 Dec 2008 13:42:08 +0100 Subject: [PATCH] rules: remove /dev/raw/raxctl symlink, it's a devfs leftover --- NEWS | 10 ++++++++++ rules/rules.d/50-udev-default.rules | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0f567ad9..c59d93c5 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,16 @@ udev 136 ======== Bugfixes. +/dev/serial/by-{id,path}/ now contains links for ttyUSB devices, +which do not depend on the kernel device name. As usual, unique +devices - only a single one per product connected, or a real +USB serial number in the device - are always found with the same +name in the by-id/ directory. +Completely Identical devices may overwrite their names in by-id/ +and can only be found reliably in the by-path/ directory. Devices +specified by by-path/ must not change their connection, like the +USB port number they are plugged in, to keep their name. + udev 135 ======== Bugfixes. diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 67ed827a..45767991 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -79,7 +79,7 @@ KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="disk" KERNEL=="pg[0-9]*", GROUP="disk" KERNEL=="pt[0-9]*|npt[0-9]*", GROUP="disk" KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk" -KERNEL=="rawctl", NAME="raw/%k", GROUP="disk" +KERNEL=="rawctl", GROUP="disk" SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk" KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k" KERNEL=="pktcdvd", NAME="pktcdvd/control" -- 2.39.5