|
Peter Rajnoha |
4b009e |
conf/example.conf.in | 2 +-
|
|
Peter Rajnoha |
4b009e |
lib/config/config_settings.h | 2 +-
|
|
Peter Rajnoha |
4b009e |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Peter Rajnoha |
704f3c |
|
|
Peter Rajnoha |
704f3c |
diff --git a/conf/example.conf.in b/conf/example.conf.in
|
|
Peter Rajnoha |
4b009e |
index a26066a..6e99d66 100644
|
|
Peter Rajnoha |
704f3c |
--- a/conf/example.conf.in
|
|
Peter Rajnoha |
704f3c |
+++ b/conf/example.conf.in
|
|
Peter Rajnoha |
4b009e |
@@ -102,7 +102,7 @@ devices {
|
|
Peter Rajnoha |
4b009e |
# Rule 4 prefers the path with least value in lexicographical order.
|
|
Peter Rajnoha |
704f3c |
# Example:
|
|
Peter Rajnoha |
704f3c |
# preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
|
Peter Rajnoha |
4b009e |
- # This configuration option does not have a default value defined.
|
|
Peter Rajnoha |
8363aa |
+ preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
|
Alasdair Kergon |
68f8a6 |
|
|
Peter Rajnoha |
704f3c |
# Configuration option devices/filter.
|
|
Peter Rajnoha |
704f3c |
# Limit the block devices that are used by LVM commands.
|
|
Peter Rajnoha |
4b009e |
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
|
|
Peter Rajnoha |
4b009e |
index 68f593d..74c614a 100644
|
|
Peter Rajnoha |
4b009e |
--- a/lib/config/config_settings.h
|
|
Peter Rajnoha |
4b009e |
+++ b/lib/config/config_settings.h
|
|
Peter Rajnoha |
4b009e |
@@ -203,7 +203,7 @@ cfg(devices_external_device_info_source_CFG, "external_device_info_source", devi
|
|
Peter Rajnoha |
4b009e |
"udev - Reuse existing udev database records. Applicable\n"
|
|
Peter Rajnoha |
4b009e |
"only if LVM is compiled with udev support.\n")
|
|
Peter Rajnoha |
4b009e |
|
|
Peter Rajnoha |
4b009e |
-cfg_array(devices_preferred_names_CFG, "preferred_names", devices_CFG_SECTION, CFG_ALLOW_EMPTY | CFG_DEFAULT_UNDEFINED , CFG_TYPE_STRING, NULL, vsn(1, 2, 19), NULL, 0, NULL,
|
|
Peter Rajnoha |
4b009e |
+cfg_array(devices_preferred_names_CFG, "preferred_names", devices_CFG_SECTION, CFG_ALLOW_EMPTY, CFG_TYPE_STRING, "#S^/dev/mpath/#S^/dev/mapper/mpath#S^/dev/[hs]d", vsn(1, 2, 19), NULL, 0, NULL,
|
|
Peter Rajnoha |
4b009e |
"Select which path name to display for a block device.\n"
|
|
Peter Rajnoha |
4b009e |
"If multiple path names exist for a block device,\n"
|
|
Peter Rajnoha |
4b009e |
"and LVM needs to display a name for the device,\n"
|