From d0df19e8a3481e3d5e2bf6630c94ef7b4f1c37da Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 6 Jan 2003 21:07:27 +0000 Subject: [PATCH] More docn for filter changes. --- doc/example.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/example.conf b/doc/example.conf index f88c97c1e..d20fe45bb 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -23,8 +23,15 @@ 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). + # The first expression found to match a device name determines if + # the device will be accepted or rejected (ignored). Devices that + # don't match any patterns are accepted. - # Remember to run vgscan after you change this parameter. + # If using RAID md devices as physical volumes, you should + # set up a filter here to reject the constituent devices. + + # Remember to run vgscan after you change this parameter to ensure + # that the cache file gets regenerated (see below). # By default we accept every block device: filter = [ "a/.*/" ] @@ -44,7 +51,7 @@ devices { # The results of 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 is safe to delete this file. vgscan regenerates it. + # It is safe to delete this file: the tools regenerate it. cache = "/etc/lvm/.cache" # You can turn off writing this cache file by setting this to 0.