[dm-devel] [PATCH 13/15] multipath-tools: document vendor, product, revision and bl_product are POSIX Extended regex

Xose Vazquez Perez xose.vazquez at gmail.com
Wed Aug 10 16:20:36 UTC 2016


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>
---
 libmultipath/hwtable.c     | 4 ++--
 multipath/multipath.conf.5 | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index c256d05..bc2d407 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -858,8 +858,8 @@ static struct hwentry default_hw[] = {
 	 *
 	 * Keep only mandatory and modified attributes.
 	 * Attributes with default values must be removed.
-	 * .vendor and .product are mandatory, all other are optional.
-	 * POSIX Extended regex can be used in .vendor, .product, .revision and .bl_product
+	 * Only .vendor and .product are mandatory, all other are optional.
+	 * .vendor, .product, .revision and .bl_product are POSIX Extended regex
 	 *
 	 * COMPANY_NAME
 	 *
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index 4602f31..8dc5d08 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -959,6 +959,8 @@ subsection.
 .
 .
 The \fIdevice\fR subsection recognizes the following attributes:
+.TP
+vendor, product, revision and product_blacklist are POSIX Extended regex.
 .TP 17
 .B vendor
 (Mandatory) Vendor identifier.
-- 
2.7.4




More information about the dm-devel mailing list