summaryrefslogtreecommitdiff
path: root/etc/udev/debian/udev.rules
diff options
context:
space:
mode:
authorMarco d'Itri <md@Linux.IT>2007-03-21 20:05:08 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-21 20:05:08 +0100
commit89d3ee2b3af5752e4710cef0bf489ebf9fb55268 (patch)
treed690b8834b3adda7083b40717c4c8468f1f05b19 /etc/udev/debian/udev.rules
parent1ce3e4fef08b9e5af230f9fc25972473aa23b8db (diff)
update Debian rules
Diffstat (limited to 'etc/udev/debian/udev.rules')
-rw-r--r--etc/udev/debian/udev.rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/udev/debian/udev.rules b/etc/udev/debian/udev.rules
index 3da6fadf8f..3f7b704f78 100644
--- a/etc/udev/debian/udev.rules
+++ b/etc/udev/debian/udev.rules
@@ -33,7 +33,7 @@ SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", \
SYMLINK+="pilot"
# usbfs-like devices
-SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
+SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", ACTION=="add", \
NAME="%c"
# serial devices
@@ -41,7 +41,7 @@ KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20"
KERNEL=="capi[0-9]*", NAME="capi/%n"
# video devices
-KERNEL=="dvb*", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}", \
+KERNEL=="dvb*", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}", ACTION=="add", \
NAME="%c"
KERNEL=="card[0-9]*", NAME="dri/%k"
@@ -97,6 +97,5 @@ SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k"
SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k"
# device mapper creates its own device nodes, so ignore these
-KERNEL=="dm-[0-9]*", NAME=""
KERNEL=="device-mapper", NAME="mapper/control"