summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/10-dm.rules.in2
-rw-r--r--udev/11-lvm.rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/udev/10-dm.rules.in b/udev/10-dm.rules.in
index e0de5d3e..bfcf461c 100644
--- a/udev/10-dm.rules.in
+++ b/udev/10-dm.rules.in
@@ -26,7 +26,7 @@ ACTION=="add", ENV{STARTUP}!="1", NAME="", GOTO="dm_end"
# only (kernels >= 2.6.29). We have to check for its existence
# and use dmsetup tool instead to get the DM name, uuid and
# suspended state if the "dm" subdirectory is not present.
-# The "suspended" item was added even later (kernels >= ???),
+# The "suspended" item was added even later (kernels >= 2.6.31),
# so we also have to call dmsetup if the kernel version used
# is in between these releases.
TEST=="dm", ENV{DM_NAME}="$attr{dm/name}", ENV{DM_UUID}="$attr{dm/uuid}", ENV{DM_SUSPENDED}="$attr{dm/suspended}"
diff --git a/udev/11-lvm.rules b/udev/11-lvm.rules
index 8dfaa641..9b6ff667 100644
--- a/udev/11-lvm.rules
+++ b/udev/11-lvm.rules
@@ -20,7 +20,7 @@ ENV{DM_UUID}!="LVM-?*", GOTO="lvm_end"
ACTION=="add", ENV{STARTUP}!="1", GOTO="lvm_end"
# Use DM name and split it up into its VG/LV/layer constituents.
-IMPORT{program}="/sbin/dmsetup namesplit --nameprefixes --noheadings --rows $env{DM_NAME}"
+IMPORT{program}="/sbin/dmsetup splitname --nameprefixes --noheadings --rows $env{DM_NAME}"
# Do not create symlinks for hidden subdevices.
ENV{DM_LV_NAME}=="?*_mlog", GOTO="lvm_end"