Message ID | 20091121202952.GA7011@bogon.sigxcpu.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules index f32c718..425afd8 100644 --- a/kpartx/kpartx.rules +++ b/kpartx/kpartx.rules @@ -27,9 +27,9 @@ ENV{DM_PART}=="?*", \ # Create dm tables for partitions ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \ - RUN+="/sbin/kpartx -a -p -part /dev/$kernel" + RUN+="/sbin/kpartx -a -p -part /dev/$name" ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="dmraid-*", \ - RUN+="/sbin/kpartx -a -p -part /dev/$kernel" + RUN+="/sbin/kpartx -a -p -part /dev/$name" LABEL="kpartx_end"