summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-09-19 14:53:14 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-09-19 15:55:47 +0200
commit081e406d0d0c02d8fb6f93d6b8fb97f4217fde62 (patch)
treeda92a664af06fe4afdcb8f25af7b5d39e65d46d8
parente3cbdde070b25db30984efa0898f16c2555301d9 (diff)
downloadlvm2-081e406d0d0c02d8fb6f93d6b8fb97f4217fde62.tar.gz
man: document obsoleted options
It's shown on comand line help and it's accepted argument, so provide matching man entry.
-rw-r--r--man/lvchange.8.in9
-rw-r--r--man/lvcreate.8.in9
2 files changed, 16 insertions, 2 deletions
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index 39187f049..d3d63fdc3 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -50,9 +50,11 @@ lvchange \(em change attributes of a logical volume
.RB [ \-\-metadataprofile
.IR ProfileName ]
.RB [ \-M | \-\-persistent
-.RI { y | n }]
+.RI { y | n }
.RB [ \-\-minor
.IR minor ]
+.RB [ \-\-major
+.IR major ]]
.RB [ \-P | \-\-partial ]
.RB [ \-p | \-\-permission
.RI { r | rw }]
@@ -165,6 +167,11 @@ See \fBlvm.conf\fP(5) for more information about \fBmetadata profiles\fP.
.B \-\-minor \fIminor
Set the minor number.
.TP
+.B \-\-major \fImajor
+Sets the major number. This option is supported only on older systems
+(kernel version 2.4) and is ignored on modern Linux systems where major
+numbers are dynamically assigned.
+.TP
.BR \-\-monitor " {" \fIy | \fIn }
Start or stop monitoring a mirrored or snapshot logical volume with
dmeventd, if it is installed.
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index 5440ced17..ed0ed6595 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -43,9 +43,11 @@ lvcreate \- create a logical volume in an existing volume group
.BR \-V | \-\-virtualsize
.IR VirtualSize [ bBsSkKmMgGtTpPeE ]}
.RB [ \-M | \-\-persistent
-.RI { y | n }]
+.RI { y | n }
.RB [ \-\-minor
.IR minor ]
+.RB [ \-\-major
+.IR major ]]
.RB [ \-m | \-\-mirrors
.IR Mirrors
.RB [ \-\-nosync ]
@@ -298,6 +300,11 @@ Set to \fIy\fP to make the minor number specified persistent.
.B \-\-minor \fIminor
Sets the minor number.
.TP
+.B \-\-major \fImajor
+Sets the major number. This option is supported only on older systems
+(kernel version 2.4) and is ignored on modern Linux systems where major
+numbers are dynamically assigned.
+.TP
.BR \-\-monitor " {" \fIy | \fIn }
Starts or avoids monitoring a mirrored, snapshot or thin pool logical volume with
dmeventd, if it is installed.