diff --git a/doc/example.conf b/doc/example.conf index 5a8dbd2c7..60554a837 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -22,7 +22,6 @@ devices { # The filter consists of an array of regular expressions. These # expressions can be delimited by a character of your choice, and # prefixed with either an 'a' (for accept) or 'r' (for reject). - # ATM you cannot use anchors (^ or $) in your regular expression. # Remember to run vgscan after you change this parameter. @@ -35,6 +34,9 @@ devices { # Or maybe all loops and ide drives except hdc: # filter =["a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|"] + # Use anchors if you want to be really specific + # filter = ["a|^/dev/hda8$|", "r/.*/"] + # The results of all the filtering are cached on disk to avoid # rescanning dud devices (which can take a very long time). By # default this cache file is hidden in the /etc/lvm directory, it