summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2009-08-04 08:05:06 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2009-08-04 08:05:06 +0000
commit83a3c605066ccf1fb6ed364e88776ca6954fa225 (patch)
tree564650703346d508b04b76118655b74df451384a /udev
parent252239bdac59a4fcfd7b9279a1df2c965e9cf0fa (diff)
downloadlvm2-83a3c605066ccf1fb6ed364e88776ca6954fa225.tar.gz
lvm2-83a3c605066ccf1fb6ed364e88776ca6954fa225.tar.xz
lvm2-83a3c605066ccf1fb6ed364e88776ca6954fa225.zip
Fix a typo in udev rule (splitname, NOT namesplit)
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"