Linux LVM users
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] device filter in lvm.conf
Date: Wed, 12 Nov 2008 19:06:54 +0000	[thread overview]
Message-ID: <491B294E.508@redhat.com> (raw)
In-Reply-To: <B668DE010628694A85EC2A4C53DCF769261FA16A@SA000011>

Tuncel.Mutlu@akbank.com wrote:
> Thanks a lot,

Great! Glad it's working for you now.

> 
> PS: By the way are you sure about sddlm* been the "sddl + 0 or more m". The
> LVM has been accepting my filter now.

Sorry, that was my mistake - this is true for regexes, but since LVM2 
filter regexes have an implicit ".*" at beginning/end (unless you use 
anchors - see the comments in the default lvm.conf) and the '*' will 
match 0 or more occurrences of the preceding character, it actually 
behaves as though there is no '*' there at all.

E.g. "/sdlm*/" would match sdl$ANYTHING, since "m*" is matched by zero 
occurrences of 'm' and the remaining string is consumed by the implicit 
".*" at the end.

Regards,
Bryn.

      reply	other threads:[~2008-11-12 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 17:58 [linux-lvm] device filter in lvm.conf Tuncel.Mutlu
2008-11-12 18:12 ` Bryn M. Reeves
2008-11-12 18:29   ` Tuncel.Mutlu
2008-11-12 19:06     ` Bryn M. Reeves [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=491B294E.508@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-lvm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox