mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
More docn for filter changes.
This commit is contained in:
parent
f3993cac4a
commit
d0df19e8a3
@ -23,8 +23,15 @@ devices {
|
|||||||
# The filter consists of an array of regular expressions. These
|
# The filter consists of an array of regular expressions. These
|
||||||
# expressions can be delimited by a character of your choice, and
|
# expressions can be delimited by a character of your choice, and
|
||||||
# prefixed with either an 'a' (for accept) or 'r' (for reject).
|
# 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:
|
# By default we accept every block device:
|
||||||
filter = [ "a/.*/" ]
|
filter = [ "a/.*/" ]
|
||||||
@ -44,7 +51,7 @@ devices {
|
|||||||
# The results of the filtering are cached on disk to avoid
|
# The results of the filtering are cached on disk to avoid
|
||||||
# rescanning dud devices (which can take a very long time). By
|
# rescanning dud devices (which can take a very long time). By
|
||||||
# default this cache file is hidden in the /etc/lvm directory.
|
# 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"
|
cache = "/etc/lvm/.cache"
|
||||||
|
|
||||||
# You can turn off writing this cache file by setting this to 0.
|
# You can turn off writing this cache file by setting this to 0.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user