2015-07-01 07:10:41 +00:00
|
|
|
conf/example.conf.in | 2 +-
|
|
|
|
lib/config/config_settings.h | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
2015-05-04 12:47:56 +00:00
|
|
|
|
|
|
|
diff --git a/conf/example.conf.in b/conf/example.conf.in
|
2015-08-27 08:24:34 +00:00
|
|
|
index c0afcb7..ec12918 100644
|
2015-05-04 12:47:56 +00:00
|
|
|
--- a/conf/example.conf.in
|
|
|
|
+++ b/conf/example.conf.in
|
2015-08-27 08:24:34 +00:00
|
|
|
@@ -106,7 +106,7 @@ devices {
|
|
|
|
# Example
|
2015-05-04 12:47:56 +00:00
|
|
|
# preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
2015-08-27 08:24:34 +00:00
|
|
|
#
|
2015-07-01 07:10:41 +00:00
|
|
|
- # This configuration option does not have a default value defined.
|
2015-06-22 07:32:45 +00:00
|
|
|
+ preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
2010-01-22 00:07:19 +00:00
|
|
|
|
2015-05-04 12:47:56 +00:00
|
|
|
# Configuration option devices/filter.
|
|
|
|
# Limit the block devices that are used by LVM commands.
|
2015-07-01 07:10:41 +00:00
|
|
|
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
|
2015-08-27 08:24:34 +00:00
|
|
|
index 9017043..c06b6f0 100644
|
2015-07-01 07:10:41 +00:00
|
|
|
--- a/lib/config/config_settings.h
|
|
|
|
+++ b/lib/config/config_settings.h
|
2015-08-27 08:24:34 +00:00
|
|
|
@@ -205,7 +205,7 @@ cfg(devices_external_device_info_source_CFG, "external_device_info_source", devi
|
|
|
|
" compiled with udev support.\n"
|
|
|
|
"#\n")
|
2015-07-01 07:10:41 +00:00
|
|
|
|
|
|
|
-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,
|
|
|
|
+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,
|
|
|
|
"Select which path name to display for a block device.\n"
|
2015-08-27 08:24:34 +00:00
|
|
|
"If multiple path names exist for a block device, and LVM needs to\n"
|
|
|
|
"display a name for the device, the path names are matched against\n"
|