mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-02 13:47:42 +03:00
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.
This commit is contained in:
parent
4efa67c4ec
commit
34843e7d6c
@ -1,5 +1,6 @@
|
||||
Version 2.02.61 -
|
||||
===================================
|
||||
Remove hard-coded rule to skip _mimage devices in 11-dm-lvm.rules.
|
||||
Use udev transactions in testsuite.
|
||||
Don't use LVM_UDEV_DISABLE_CHECKING env. var. anymore and set the state automatically.
|
||||
Add lvm2app exports lvm_pv_get_size(), lvm_pv_get_free(), and lvm_pv_get_dev_size().
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user