commit 1942363f6acc7d9e507d4bc82063287da19cd05a Author: Hannes Reinecke Date: Tue Nov 4 10:08:01 2008 +0100 dmraid uuid starts with 'DMRAID' The dmraid uuid starts with 'DMRAID', not 'dmraid'. References: 439439 Signed-off-by: Hannes Reinecke diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules index 2746eff..3e09dcf 100644 --- a/kpartx/kpartx.rules +++ b/kpartx/kpartx.rules @@ -18,7 +18,7 @@ ENV{DM_UUID}=="mpath-*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" # Create persistent links for dmraid tables -ENV{DM_UUID}=="dmraid-*", \ +ENV{DM_UUID}=="DMRAID-*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" # Create persistent links for linear tables @@ -32,7 +32,7 @@ ENV{DM_PART}=="?*", \ # Create dm tables for partitions ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \ RUN+="/sbin/kpartx -a -p _part /dev/$kernel" -ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="dmraid-*", \ +ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*", \ RUN+="/sbin/kpartx -a -p _part /dev/$kernel" ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="linear-*", \ RUN+="/sbin/kpartx -a -p _part /dev/$kernel"