Blame SOURCES/lvm2-2_02_180-make-generate.patch

0d8a0a
 conf/example.conf.in      | 20 ++++++++++++++++----
0d8a0a
 man/pvcreate.8_pregen     |  7 ++++---
0d8a0a
 man/vgcfgrestore.8_pregen |  9 +++++----
0d8a0a
 man/vgconvert.8_pregen    | 14 +++++++++-----
0d8a0a
 man/vgcreate.8_pregen     |  7 ++++---
0d8a0a
 man/vgextend.8_pregen     |  7 ++++---
0d8a0a
 man/vgsplit.8_pregen      |  7 ++++---
0d8a0a
 7 files changed, 46 insertions(+), 25 deletions(-)
0d8a0a
0d8a0a
diff --git a/conf/example.conf.in b/conf/example.conf.in
0d8a0a
index cd58615..742812c 100644
0d8a0a
--- a/conf/example.conf.in
0d8a0a
+++ b/conf/example.conf.in
0d8a0a
@@ -702,17 +702,29 @@ global {
0d8a0a
 	activation = 1
0d8a0a
 
0d8a0a
 	# Configuration option global/fallback_to_lvm1.
0d8a0a
-	# This setting is no longer used.
0d8a0a
+	# Try running LVM1 tools if LVM cannot communicate with DM.
0d8a0a
+	# This option only applies to 2.4 kernels and is provided to help
0d8a0a
+	# switch between device-mapper kernels and LVM1 kernels. The LVM1
0d8a0a
+	# tools need to be installed with .lvm1 suffices, e.g. vgscan.lvm1.
0d8a0a
+	# They will stop working once the lvm2 on-disk metadata format is used.
0d8a0a
 	# This configuration option has an automatic default value.
0d8a0a
-	# fallback_to_lvm1 = 0
0d8a0a
+	# fallback_to_lvm1 = @DEFAULT_FALLBACK_TO_LVM1@
0d8a0a
 
0d8a0a
 	# Configuration option global/format.
0d8a0a
-	# This setting is no longer used.
0d8a0a
+	# The default metadata format that commands should use.
0d8a0a
+	# The -M 1|2 option overrides this setting.
0d8a0a
+	# 
0d8a0a
+	# Accepted values:
0d8a0a
+	#   lvm1
0d8a0a
+	#   lvm2
0d8a0a
+	# 
0d8a0a
 	# This configuration option has an automatic default value.
0d8a0a
 	# format = "lvm2"
0d8a0a
 
0d8a0a
 	# Configuration option global/format_libraries.
0d8a0a
-	# This setting is no longer used.
0d8a0a
+	# Shared libraries that process different metadata formats.
0d8a0a
+	# If support for LVM1 metadata was compiled as a shared library use
0d8a0a
+	# format_libraries = "liblvm2format1.so"
0d8a0a
 	# This configuration option does not have a default value defined.
0d8a0a
 
0d8a0a
 	# Configuration option global/segment_libraries.
0d8a0a
diff --git a/man/pvcreate.8_pregen b/man/pvcreate.8_pregen
0d8a0a
index c4b03da..abceb82 100644
0d8a0a
--- a/man/pvcreate.8_pregen
0d8a0a
+++ b/man/pvcreate.8_pregen
0d8a0a
@@ -38,7 +38,7 @@ normally prevent it, e.g. if the PV is already in a VG.
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -266,11 +266,12 @@ The size may be rounded.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
diff --git a/man/vgcfgrestore.8_pregen b/man/vgcfgrestore.8_pregen
0d8a0a
index cffd44b..e028103 100644
0d8a0a
--- a/man/vgcfgrestore.8_pregen
0d8a0a
+++ b/man/vgcfgrestore.8_pregen
0d8a0a
@@ -51,7 +51,7 @@ vgcfgrestore - Restore volume group configuration
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
- \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -141,7 +141,7 @@ Common options for command:
0d8a0a
 .
0d8a0a
 .RS 4
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -280,11 +280,12 @@ Display long help text.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
diff --git a/man/vgconvert.8_pregen b/man/vgconvert.8_pregen
0d8a0a
index 5e7f8a9..6228087 100644
0d8a0a
--- a/man/vgconvert.8_pregen
0d8a0a
+++ b/man/vgconvert.8_pregen
0d8a0a
@@ -8,9 +8,12 @@ vgconvert - Change volume group metadata format
0d8a0a
     [ \fIoption_args\fP ]
0d8a0a
 .br
0d8a0a
 .SH DESCRIPTION
0d8a0a
-vgconvert converts VG metadata from one format to another.  This command
0d8a0a
-is no longer used because this version of lvm no longer supports the LVM1
0d8a0a
+vgconvert converts VG metadata from one format to another.  The new
0d8a0a
+metadata format must be able to fit into the space provided by the old
0d8a0a
 format.
0d8a0a
+
0d8a0a
+Because the LVM1 format should no longer be used, this command is no
0d8a0a
+longer needed in general.
0d8a0a
 .SH USAGE
0d8a0a
 \fBvgconvert\fP \fIVG\fP ...
0d8a0a
 .br
0d8a0a
@@ -20,7 +23,7 @@ format.
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -191,11 +194,12 @@ The size may be rounded.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
diff --git a/man/vgcreate.8_pregen b/man/vgcreate.8_pregen
0d8a0a
index 09bf126..ddad391 100644
0d8a0a
--- a/man/vgcreate.8_pregen
0d8a0a
+++ b/man/vgcreate.8_pregen
0d8a0a
@@ -33,7 +33,7 @@ devices are also available with vgcreate.
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -324,11 +324,12 @@ The size may be rounded.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
diff --git a/man/vgextend.8_pregen b/man/vgextend.8_pregen
0d8a0a
index a6a30e9..ee805a8 100644
0d8a0a
--- a/man/vgextend.8_pregen
0d8a0a
+++ b/man/vgextend.8_pregen
0d8a0a
@@ -36,7 +36,7 @@ will initialize them. In this case pvcreate options can be used, e.g.
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -237,11 +237,12 @@ The size may be rounded.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
diff --git a/man/vgsplit.8_pregen b/man/vgsplit.8_pregen
0d8a0a
index 6c3e6ec..210c266 100644
0d8a0a
--- a/man/vgsplit.8_pregen
0d8a0a
+++ b/man/vgsplit.8_pregen
0d8a0a
@@ -62,7 +62,7 @@ Common options for command:
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
-[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP ]
0d8a0a
+[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
0d8a0a
 .ad b
0d8a0a
 .br
0d8a0a
 .ad l
0d8a0a
@@ -230,11 +230,12 @@ and --vgmetadatacopies for improving performance.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l
0d8a0a
-\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
0d8a0a
+\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
0d8a0a
 .br
0d8a0a
 Specifies the type of on-disk metadata to use.
0d8a0a
 \fBlvm2\fP (or just \fB2\fP) is the current, standard format.
0d8a0a
-\fBlvm1\fP (or just \fB1\fP) is no longer used.
0d8a0a
+\fBlvm1\fP (or just \fB1\fP) is a historical format that
0d8a0a
+can be used for accessing old data.
0d8a0a
 .ad b
0d8a0a
 .HP
0d8a0a
 .ad l