From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: stable-2.02 - man: correctly use configured directories
Date: Fri, 16 Oct 2020 19:11:08 +0000 (GMT) [thread overview]
Message-ID: <20201016191108.B6B9C396EC82@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=68f94a2dd38da38d705051b055caf231ad6fb100
Commit: 68f94a2dd38da38d705051b055caf231ad6fb100
Parent: 6d2fc49e9957308e6c770c2a84f3a34b9b416d2b
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Wed Sep 9 13:22:37 2020 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Oct 16 17:07:58 2020 +0200
man: correctly use configured directories
---
man/lvmdump.8_main | 4 ++--
man/lvmlockd.8_main | 2 +-
man/lvmthin.7_main | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/man/lvmdump.8_main b/man/lvmdump.8_main
index ec3dbb2ea..c42f80917 100644
--- a/man/lvmdump.8_main
+++ b/man/lvmdump.8_main
@@ -26,7 +26,7 @@ The content of the tarball is as follows:
.br
- recent entries from /var/log/messages (containing system messages)
.br
-- complete lvm configuration and cache (content of /etc/lvm)
+- complete lvm configuration and cache (content of #DEFAULT_SYS_DIR#)
.br
- list of device nodes present under /dev
.br
@@ -102,7 +102,7 @@ database content (the output of 'udevadm info --export-db' command).
\fBLVM_BINARY\fP
The LVM2 binary to use.
Defaults to "lvm".
-Sometimes you might need to set this to "/sbin/lvm.static", for example.
+Sometimes you might need to set this to "#LVM_PATH#/lvm.static", for example.
.TP
\fBDMSETUP_BINARY\fP
The dmsetup binary to use.
diff --git a/man/lvmlockd.8_main b/man/lvmlockd.8_main
index b917d9381..80c23b7ea 100644
--- a/man/lvmlockd.8_main
+++ b/man/lvmlockd.8_main
@@ -110,7 +110,7 @@ use_lvmlockd = 1
.br
Assign each host a unique host_id in the range 1-2000 by setting
.br
-/etc/lvm/lvmlocal.conf local/host_id
+#DEFAULT_SYS_DIR#/lvmlocal.conf local/host_id
.SS 3. start lvmlockd
diff --git a/man/lvmthin.7_main b/man/lvmthin.7_main
index 27bad5731..5a2ccc440 100644
--- a/man/lvmthin.7_main
+++ b/man/lvmthin.7_main
@@ -902,7 +902,7 @@ To change these values globally, edit
To change these values on a per-VG or per-LV basis, attach a "profile" to
the VG or LV. A profile is a collection of config settings, saved in a
local text file (using the lvm.conf format). lvm looks for profiles in
-the profile_dir directory, e.g. /etc/lvm/profile/. Once attached to a VG
+the profile_dir directory, e.g. #DEFAULT_SYS_DIR#/profile/. Once attached to a VG
or LV, lvm will process the VG or LV using the settings from the attached
profile. A profile is named and referenced by its file name.
@@ -930,9 +930,9 @@ Extend the LV using the profile settings:
.br
.nf
# lvmconfig config/profile_dir
-profile_dir="/etc/lvm/profile"
+profile_dir="#DEFAULT_SYS_DIR#/profile"
-# cat /etc/lvm/profile/pool0extend.profile
+# cat #DEFAULT_SYS_DIR#/profile/pool0extend.profile
activation {
thin_pool_autoextend_threshold=50
thin_pool_autoextend_percent=10
reply other threads:[~2020-10-16 19:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201016191108.B6B9C396EC82@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.