From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mACJ9DUe004030 for ; Wed, 12 Nov 2008 14:09:13 -0500 Received: from breeves.fab.redhat.com (breeves.fab.redhat.com [10.33.0.40]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id mACJ9Duf019246 for ; Wed, 12 Nov 2008 14:09:13 -0500 Message-ID: <491B294E.508@redhat.com> Date: Wed, 12 Nov 2008 19:06:54 +0000 From: "Bryn M. Reeves" MIME-Version: 1.0 Subject: Re: [linux-lvm] device filter in lvm.conf References: <491B1C9D.3090401@redhat.com> In-Reply-To: Content-Transfer-Encoding: 7bit Reply-To: bmr@redhat.com, LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development 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.