I recently got a request to add the Oracle ASM filer driver devices to multipath's builtin devnode blacklist. However, instead of having to do always this for each device type individually, I decided to make multipath blacklist all non scsi, nvme, and dasd devnodes by default. This is what the multipath udev rules already do. Changes from v1: Everything. Martin suggested an alternative method for doing this, which is to treat an exclamation mark at the start of the blacklist/exceptions regexes as inverting the matching on the rest of the regex. Benjamin Marzinski (3): libmultipath: remove _blacklist_exceptions functions libmultipath: fix parser issue with comments in strings libmultipath: invert regexes that start with exclamation point libmultipath/blacklist.c | 103 +++++++++++++++------------------- libmultipath/blacklist.h | 3 + libmultipath/parser.c | 4 +- multipath/multipath.conf.5 | 17 ++++-- tests/blacklist.c | 110 +++++++++++++++++++++++++++++++++++++ tests/parser.c | 42 ++++++++++++++ tests/test-lib.c | 2 +- 7 files changed, 215 insertions(+), 66 deletions(-) -- 2.17.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel