Skip to contentSkip to conversation

] multipath-tools: inform that regex can be used in vendor, product, .revision and bl_product

PATCH Superseded Xose Vazquez Perez 1 participant 2 messages Aug 4, 2016 – Aug 5, 2016 Device mapper

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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

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

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index 6180751..797ea45 100644
@@ -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 regex can be used in .vendor, .product, .revision and .bl_product
 	 *
 	 * COMPANY_NAME
 	 *
Signature · 1 line
2.7.4
#1 lore raw

On 08/04/2016 07:44 PM, Xose Vazquez Perez wrote:

Please, DROP also this one(v2). Thanks.
v3 is coming.

Quoted 24 lines

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

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index 6180751..797ea45 100644
@@ -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 regex can be used in .vendor, .product, .revision and .bl_product
 	 *
 	 * COMPANY_NAME
 	 *