All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Re: blacklisted paths?
Date: Tue, 20 Sep 2005 08:36:44 -0700	[thread overview]
Message-ID: <20050920153644.GA20698@us.ibm.com> (raw)
In-Reply-To: <20050920151151.GA3518@locust.cns.vt.edu>

Ray Stell <stellr@cns.vt.edu> wrote:
> On Tue, Sep 20, 2005 at 08:01:53AM -0400, Ray Stell wrote:
> > devnode_blacklist {
> >         devnode "hd*"
> >         devnode "fd*"
> >         devnode "ram*"
> >         devnode "md*"
> > }
> 
> I removed the * chars from this block it mapped all the paths.  

Good to see that they are all mapped now. You may want to switch to using
"^" to match beginning of line and also use the multiple match / single
line regular expression.

Here is an example of what I am running. I believe it is close to the
/etc/multipath.conf example file.

devnode_blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z][0-9]*"
        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}

-andmike
--
Michael Anderson
andmike@us.ibm.com

      reply	other threads:[~2005-09-20 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19 21:16 blacklisted paths? Ray Stell
2005-09-19 23:07 ` Mike Anderson
2005-09-20 12:01 ` Ray Stell
2005-09-20 15:11   ` Ray Stell
2005-09-20 15:36     ` Mike Anderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050920153644.GA20698@us.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.