Re: device filter in lvm.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux