[PATCH v3 2/2] multipath-tools: inform that regex can be used in vendor, product, .revision and bl_product

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Right now some regexes are too wide, for example: "HITACHI"/"DF" or "SGI"/"IS".
They should be used more extensively, at least, in product-ID.
As I did in 34e345e8

Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
Cc: device-mapper development <dm-devel@xxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index e46a7c2..187c109 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -868,6 +868,7 @@ 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
 	 *
 	 * COMPANY_NAME
 	 *
-- 
2.7.4

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux