diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2010-02-15 16:38:22 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2010-02-15 16:38:22 +0000 |
commit | 5ef2c36a6bdcbbb31fb9adf5409a563e8a11735a (patch) | |
tree | 2f445ff32ec7d657770abd656826a3dd4a8a74f3 /udev | |
parent | b7117425ab79858e3cce71ae1ab63aa4bb2fdb3e (diff) | |
download | lvm2-5ef2c36a6bdcbbb31fb9adf5409a563e8a11735a.tar.gz lvm2-5ef2c36a6bdcbbb31fb9adf5409a563e8a11735a.tar.xz lvm2-5ef2c36a6bdcbbb31fb9adf5409a563e8a11735a.zip |
Remove hard-coded rule to skip _mimage devices in 11-dm-lvm.rules.
There's a tiny period of time when the _mimage device is visible during
downconversion from mirror to linear. Since it is visible, we need to
create the symlinks, otherwise warning messages will be issued about udev
not creating those symlinks. We have to rely on udev flags completely.
Diffstat (limited to 'udev')
-rw-r--r-- | udev/11-dm-lvm.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/11-dm-lvm.rules b/udev/11-dm-lvm.rules index 49fa10be..2a4c7efd 100644 --- a/udev/11-dm-lvm.rules +++ b/udev/11-dm-lvm.rules @@ -23,7 +23,7 @@ IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup splitname --nameprefixes --noheading ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end" # Do not create symlinks for inappropriate subdevices. -ENV{DM_LV_NAME}=="?*_mimage_[0-9]*|pvmove?*|?*_vorigin", GOTO="lvm_disable" +ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable" ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable" # Create symlinks for top-level devices only. |