]> err.no Git - systemd/commitdiff
rules: remove legacy rules for cdrom and usb printer
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 12 Aug 2011 12:05:19 +0000 (14:05 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 12 Aug 2011 12:05:19 +0000 (14:05 +0200)
rules/rules.d/50-udev-default.rules

index 7c4046284e4c01e168bec9ae297b1e29b853f59a..684cda9b587a12621bc2e1ec9a8cc25ee6a83dc1 100644 (file)
@@ -59,7 +59,6 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id"
 KERNEL=="parport[0-9]*",       GROUP="lp"
 SUBSYSTEM=="printer",          KERNEL=="lp*", GROUP="lp"
 SUBSYSTEM=="ppdev",            GROUP="lp"
-SUBSYSTEM=="usb",              KERNEL=="lp*", SYMLINK+="usb%k", GROUP="lp"
 KERNEL=="lp[0-9]*",            GROUP="lp"
 KERNEL=="irlpt[0-9]*",         GROUP="lp"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp"
@@ -71,7 +70,6 @@ SUBSYSTEM=="block", GROUP="disk"
 SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy"
 
 # cdrom
-SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom"
 SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
 KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
 KERNEL=="pktcdvd", GROUP="cdrom"