From: Xose Vazquez Perez Subject: Re: [PATCH 2/2] multipath-tools: inform that regex can be used in vendor, product and bl_product Date: Thu, 4 Aug 2016 19:43:02 +0200 Message-ID: References: <1470331901-10846-1-git-send-email-xose.vazquez@gmail.com> <1470331901-10846-2-git-send-email-xose.vazquez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1470331901-10846-2-git-send-email-xose.vazquez@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com Cc: device-mapper development List-Id: dm-devel.ids On 08/04/2016 07:31 PM, Xose Vazquez Perez wrote: Please, DROP this one. Thanks. > 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 > Cc: device-mapper development > Signed-off-by: Xose Vazquez Perez > --- > libmultipath/hwtable.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c > index 6180751..a5d7402 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 regex can be used in .vendor, .product and .bl_product > * > * COMPANY_NAME > * >