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

Re: [linux-lvm] device filter in lvm.conf



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.


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