fix udev rules to keep udev from complaining
authorDavid Zeuthen <davidz@redhat.com>
Mon, 6 Apr 2009 15:59:52 +0000 (11:59 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 6 Apr 2009 15:59:52 +0000 (11:59 -0400)
src/95-devkit-disks.rules

index 8327377..b523e03 100644 (file)
@@ -63,8 +63,8 @@ ENV{ID_FS_TYPE}=="linux_raid_member", IMPORT{program}="/sbin/mdadm --examine --e
 # ata_id and usb_id
 #
 
-ID_BUS="usb", DEVTYPE="disk", IMPORT{program}="devkit-disks-probe-ata-smart $tempnode"
-ID_BUS="scsi", ID_VENDOR="ATA", DEVTYPE="disk", IMPORT{program}="devkit-disks-probe-ata-smart $tempnode"
+ENV{ID_BUS}="usb", ENV{DEVTYPE}="disk", IMPORT{program}="devkit-disks-probe-ata-smart $tempnode"
+ENV{ID_BUS}="scsi", ENV{DEVTYPE}="disk", ENV{ID_VENDOR}="ATA", IMPORT{program}="devkit-disks-probe-ata-smart $tempnode"
 
 ##############################################################################################################