[dm-devel] [PATCH v2] multipath-tools: clarify how to dump the multipathd config
Xose Vazquez Perez
xose.vazquez at gmail.com
Mon Aug 28 23:46:59 UTC 2017
Reported-by: Martin Wilck <mwilck at suse.com>
Cc: Martin Wilck <mwilck at suse.com>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at 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 --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.
.
.
.\" ----------------------------------------------------------------------------
--
2.13.5
More information about the dm-devel
mailing list