chiark / gitweb /
rules: add "block" match to floppy rule
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 15 Dec 2009 15:17:12 +0000 (16:17 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 15 Dec 2009 15:17:12 +0000 (16:17 +0100)
rules/rules.d/50-udev-default.rules

index f01fc03..374db50 100644 (file)
@@ -73,7 +73,7 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}==":0701*:",
 SUBSYSTEM=="block", GROUP="disk"
 
 # floppy
-KERNEL=="fd[0-9]", GROUP="floppy"
+SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy"
 
 # cdrom
 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom"