summaryrefslogtreecommitdiffstats
path: root/man/lvchange.8.in
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2010-05-06 11:15:55 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2010-05-06 11:15:55 +0000
commitd50c6d4bf5d15cbd17ef38f883cd82899c589cba (patch)
tree89e8e210592711c447eafc5307061eee87892d50 /man/lvchange.8.in
parent3283f817eb205b7a014bb171785b6ccde04d33bc (diff)
downloadlvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.tar.gz
lvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.tar.xz
lvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.zip
Add new --sysinit option for vgchange and lvchange.
A shortcut for --ignorelockingfailure, --ignoremonitoring, --poll n options and LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES environment variable used all at once in initialisation scripts (e.g. rc.sysinit or initrd).
Diffstat (limited to 'man/lvchange.8.in')
-rw-r--r--man/lvchange.8.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index c3cb3b28..e2698029 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -13,6 +13,7 @@ lvchange \- change attributes of a logical volume
[\-\-ignoremonitoring]
[\-\-monitor {y|n}]
[\-\-poll {y|n}]
+[\-\-sysinit]
[\-\-noudevsync]
[\-M|\-\-persistent y|n] [\-\-minor minor]
[\-P|\-\-partial]
@@ -71,6 +72,15 @@ process from its last checkpoint. However, it may not be appropriate to
immediately poll a logical volume when it is activated, use \fB--poll
n\fP to defer and then \fB--poll y\fP to restart the process.
.TP
+.I \-\-sysinit
+Indicates that lvchange(8) is being invoked from early system initialisation
+scripts (e.g. rc.sysinit or an initrd), before writeable filesystems are
+available. As such, some functionality needs to be disabled and this option
+acts as a shortcut which selects an appropriate set of options. Currently
+this is equivalent to using \fB--ignorelockingfailure\fP, \fB--ignoremonitoring\fP,
+\fB--poll n\fP and setting \fBLVM_SUPPRESS_LOCKING_FAILURE_MESSAGES\fP
+environment variable.
+.TP
.I \-\-noudevsync
Disable udev synchronisation. The
process will not wait for notification from udev.