Blame SOURCES/0238-RHBZ-1508483-mpathconf-info.patch

d3a483
---
d3a483
 libmultipath/config.c |    3 ++-
d3a483
 multipath/mpathconf.8 |    8 ++++++--
d3a483
 2 files changed, 8 insertions(+), 3 deletions(-)
d3a483
d3a483
Index: multipath-tools-130222/libmultipath/config.c
d3a483
===================================================================
d3a483
--- multipath-tools-130222.orig/libmultipath/config.c
d3a483
+++ multipath-tools-130222/libmultipath/config.c
d3a483
@@ -739,7 +739,8 @@ load_config (char * file, struct udev *u
d3a483
 		condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
d3a483
 		condlog(0, "A default multipath.conf file is located at");
d3a483
 		condlog(0, "/usr/share/doc/device-mapper-multipath-%d.%d.%d/multipath.conf", MULTIPATH_VERSION(VERSION_CODE));
d3a483
-		condlog(0, "You can run /sbin/mpathconf to create or modify /etc/multipath.conf");
d3a483
+		condlog(0, "You can run /sbin/mpathconf --enable to create");
d3a483
+		condlog(0, "/etc/multipath.conf. See man mpathconf(8) for more details");
d3a483
 		if (conf->blist_devnode == NULL) {
d3a483
 			conf->blist_devnode = vector_alloc();
d3a483
 			if (!conf->blist_devnode) {
d3a483
Index: multipath-tools-130222/multipath/mpathconf.8
d3a483
===================================================================
d3a483
--- multipath-tools-130222.orig/multipath/mpathconf.8
d3a483
+++ multipath-tools-130222/multipath/mpathconf.8
d3a483
@@ -19,7 +19,9 @@ daemon, and configure the
d3a483
 .B multipathd
d3a483
 service to start automatically or not. If
d3a483
 .B mpathconf
d3a483
-is called with no commands, it will display the current configuration.
d3a483
+is called with no commands, it will display the current configuration, but
d3a483
+will not create or modify 
d3a483
+.B /etc/multipath.conf
d3a483
 
d3a483
 The default options for mpathconf are
d3a483
 .B --with_module
d3a483
@@ -50,7 +52,9 @@ command.
d3a483
 .B --enable
d3a483
 Removes any line that blacklists all device nodes from the
d3a483
 .B /etc/multipath.conf
d3a483
-blacklist section.
d3a483
+blacklist section. Also, creates
d3a483
+.B /etc/multipath.conf
d3a483
+if it doesn't exist.
d3a483
 .TP
d3a483
 .B --disable
d3a483
 Adds a line that blacklists all device nodes to the