summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-14 17:12:05 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-14 17:12:05 +0000
commite8669311698fa0ddc5e4b3bdb0384b2b0d9a205c (patch)
treef9ffdd3ed2cd7efefa40d0487ed47cbe0119e924 /doc
parentf61cacad1604eaaef18389a46b07e35eb1072008 (diff)
downloadlvm2-e8669311698fa0ddc5e4b3bdb0384b2b0d9a205c.tar.gz
Improve thin_check option passing
Update a way we handle option passing - so we now support path and options with space inside. Fix dm name usage for thin pools with '-' in name. Use new lvm.conf option thin_check_options to pass in options as string array.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index 72421acb6..278b4c769 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -658,7 +658,11 @@ activation {
# The thin tools are available as part of the device-mapper-persistent-data
# package from https://github.com/jthornber/thin-provisioning-tools.
#
- thin_check_executable = "/sbin/thin_check -q"
+ thin_check_executable = "@THIN_CHECK_CMD@"
+
+ # String with options passed with thin_check command. By default,
+ # option '-q' is for quite output.
+ thin_check_options = [ "-q", 121e321 ]
# While activating devices, I/O to devices being (re)configured is
# suspended, and as a precaution against deadlocks, LVM2 needs to pin