1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

Fix a typo in udev rule (splitname, NOT namesplit)

This commit is contained in:
Peter Rajnoha 2009-08-04 08:05:06 +00:00
parent 252239bdac
commit 83a3c60506
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -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"