]> err.no Git - systemd/commitdiff
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 f01fc0373683a4965d7f706cec690182364afeda..374db500e67adc287dbf97d6959a1c89486de554 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"