[linux-lvm] lvm filter regex format

Thanos Makatos thanos.makatos at onapp.com
Mon Dec 18 17:16:14 UTC 2017


I'm trying to be very specific in the global_filter of lvm.conf and
ignore devices under /dev/mapper of the format
'^/dev/mapper/[a-z0-9]{14}$', however the repetition count '{14}' does
not seem to be honored?

Currently I have to repeat '[a-z0-9]' fourteen times, which works but
it's a bit ugly.

Does the filter use some standarized regex format?

-- 
Thanos Makatos




More information about the linux-lvm mailing list