diff mbox

[v2] multipath-tools: clarify how to dump the multipathd config

Message ID 20170828234659.13995-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Xose Vazquez Perez Aug. 28, 2017, 11:46 p.m. UTC
Reported-by: Martin Wilck <mwilck@suse.com>
Cc: Martin Wilck <mwilck@suse.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>

---
v2 replace also the text in multipath.8

---
 multipath/main.c           | 2 +-
 multipath/multipath.8      | 2 +-
 multipath/multipath.conf.5 | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/multipath/main.c b/multipath/main.c
index dede017..0047bf1 100644
--- a/multipath/main.c
+++ b/multipath/main.c
@@ -119,7 +119,7 @@  usage (char * progname)
 		"  -c      check if a device should be a path in a multipath device\n"
 		"  -q      allow queue_if_no_path when multipathd is not running\n"
 		"  -d      dry run, do not create or update devmaps\n"
-		"  -t      dump internal hardware table\n"
+		"  -t      display the currently used multipathd configuration\n"
 		"  -r      force devmap reload\n"
 		"  -i      ignore wwids file\n"
 		"  -B      treat the bindings file as read only\n"
diff --git a/multipath/multipath.8 b/multipath/multipath.8
index b9436e5..3c83be4 100644
--- a/multipath/multipath.8
+++ b/multipath/multipath.8
@@ -86,7 +86,7 @@  Flush all unused multipath device maps.
 .
 .TP
 .B \-t
-Print internal hardware table to stdout.
+Display the currently used multipathd configuration.
 .
 .TP
 .B \-r
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index a78ec5b..57a771c 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -28,7 +28,8 @@  overwrite the built-in configuration table of \fBmultipathd\fP.
 Any line whose first non-white-space character is a '#' is considered
 a comment line. Empty lines are ignored.
 .PP
-Internal multipathd configuration can be displayed with the \fBmultipath -t\fR command.
+Currently used multipathd configuration can be displayed with the \fBmultipath -t\fR
+or \fBmultipathd show config\fR command.
 .
 .
 .\" ----------------------------------------------------------------------------