Fix udev rules to use new command name
authorBryn M. Reeves <bmr@redhat.com>
Wed, 31 Oct 2012 19:26:19 +0000 (19:26 +0000)
committerBryn M. Reeves <bmr@redhat.com>
Wed, 31 Oct 2012 19:26:19 +0000 (19:26 +0000)
99-blkdevalias.rules

index 6cbaa5e..345b4f7 100644 (file)
@@ -1,22 +1,22 @@
 KERNEL=="sd*[^0-9]" ENV{DEVTYPE}=="disk" \
     PROGRAM="/sbin/scsi_id -g -u -d$tempnode" \
-    IMPORT="/sbin/wwidmap map %c" \
+    IMPORT="/sbin/blkdevalias map %c" \
     SYMLINK+="$env{WM_NAME}" OWNER="$env{WM_USER}" GROUP="$env{WM_GROUP}"
 
 KERNEL=="sd*[1-9]*" ENV{DEVTYPE}=="partition" \
     PROGRAM="/sbin/scsi_id -g -u -d/dev/$parent" \
-    IMPORT="/sbin/wwidmap map %c" \
+    IMPORT="/sbin/blkdevalias map %c" \
     SYMLINK+="$env{WM_NAME}" OWNER="$env{WM_USER}" GROUP="$env{WM_GROUP}" \
     OPTIONS+={link_priority=5}
 
 KERNEL=="dm*" ENV{DM_UUID}=="mpath*" \
     PROGRAM="/sbin/scsi_id -g -u -d$tempnode" \
-    IMPORT="/sbin/wwidmap map %c" \
+    IMPORT="/sbin/blkdevalias map %c" \
     SYMLINK+="$env{WM_NAME}" OWNER="$env{WM_USER}" GROUP="$env{WM_GROUP}" \
     OPTIONS+="link_priority=10"
 
 KERNEL=="dm*" ENV{DM_UUID}=="part*mpath*" \
     PROGRAM="/sbin/scsi_id -g -u -d/dev/$parent" \
-    IMPORT="/sbin/wwidmap map %c" \
+    IMPORT="/sbin/blkdevalias map %c" \
     SYMLINK+="$env{WM_NAME}" OWNER="$env{WM_USER}" GROUP="$env{WM_GROUP}" \
     OPTIONS+="link_priority=15"