Skip to contentSkip to conversation

multipath-tools: clarify how to dump the multipathd config

PATCH Superseded Xose Vazquez Perez 1 participant 2 messages Aug 28, 2017 Device mapper

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: clarify how to dump the multipathd config

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipath/main.c           | 2 +-
 multipath/multipath.conf.5 | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
multipath/main.c +1 -1
index dede017..0047bf1 100644
@@ -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"
multipath/multipath.conf.5 +2 -1
index a78ec5b..57a771c 100644
@@ -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.
 .
 .
 .\" ----------------------------------------------------------------------------
Signature · 1 line
2.13.5
#1 lore raw

On 08/29/2017 01:27 AM, Xose Vazquez Perez wrote:

Christophe, please drop this one. Sending v2...

Quoted 37 lines
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipath/main.c           | 2 +-
 multipath/multipath.conf.5 | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
multipath/main.c +1 -1
index dede017..0047bf1 100644
@@ -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"
multipath/multipath.conf.5 +2 -1
index a78ec5b..57a771c 100644
@@ -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.
 .
 .
 .\" ----------------------------------------------------------------------------