mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Change to still sync with udev (to test waiting for rules) then to verify udev
operations like it used to (which will perform them on systems with non-std dev dirs where test udev rules aren't installed).
This commit is contained in:
parent
4d40a6f53c
commit
101ce82afa
@ -314,9 +314,9 @@ prepare_vg() {
|
||||
lvmconf() {
|
||||
if test -z "$LVM_TEST_LOCKING"; then LVM_TEST_LOCKING=1; fi
|
||||
if test "$DM_DEV_DIR" = "/dev"; then
|
||||
UDEV_RULES=1;
|
||||
VERIFY_UDEV=0;
|
||||
else
|
||||
UDEV_RULES=0;
|
||||
VERIFY_UDEV=1;
|
||||
fi
|
||||
test -f CONFIG_VALUES || {
|
||||
cat > CONFIG_VALUES <<-EOF
|
||||
@ -341,7 +341,8 @@ global/locking_type=$LVM_TEST_LOCKING
|
||||
global/si_unit_consistency = 1
|
||||
global/fallback_to_local_locking = 0
|
||||
activation/udev_sync = 1
|
||||
activation/udev_rules = $UDEV_RULES
|
||||
activation/udev_rules = 1
|
||||
activation/verify_udev_operations = $VERIFY_UDEV
|
||||
activation/polling_interval = 0
|
||||
activation/snapshot_autoextend_percent = 50
|
||||
activation/snapshot_autoextend_threshold = 50
|
||||
|
Loading…
Reference in New Issue
Block a user