From ee0a4914d56a7c65d31dcb6a20d835faea322967 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 11 Jan 2010 15:43:19 +0000 Subject: [PATCH] Enable udev_sync and udev_rules in lvm.conf by default while running tests. --- WHATS_NEW_DM | 1 + test/lvm-utils.sh | 4 ++++ test/test-utils.sh | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 58db6c15b..0070fe614 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.41 - ==================================== + Enable udev_sync and udev_rules in lvm.conf by default while running tests. Add support to disable udev checking: DM_UDEV_DISABLE_CHECKING=1 env. variable. Add dm_tree_add_dev_with_udev_flags to provide wider support for udev flags. Add --noudevrules option for dmsetup to disable /dev node management by udev. diff --git a/test/lvm-utils.sh b/test/lvm-utils.sh index 5ad8872a4..6b7f231f7 100644 --- a/test/lvm-utils.sh +++ b/test/lvm-utils.sh @@ -202,6 +202,10 @@ init_root_dir_() global { library_dir = "$G_root_/lib" } + activation { + udev_sync = 1 + udev_rules = 1 + } EOF } diff --git a/test/test-utils.sh b/test/test-utils.sh index 119a5499e..27b6fe765 100644 --- a/test/test-utils.sh +++ b/test/test-utils.sh @@ -203,6 +203,10 @@ prepare_lvmconf() { library_dir = "$G_root_/lib" locking_dir = "$G_root_/var/lock/lvm" } + activation { + udev_sync = 1 + udev_rules = 1 + } EOF }