1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Correct example.conf to indicate that lvm2 not lvm1 is the default format.

Remove an unused stray LVM1_SUPPORT ifdef.
This commit is contained in:
Alasdair Kergon 2009-10-05 12:44:20 +00:00
parent e1b8a236b7
commit cf65a124e6
3 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,7 @@
Version 2.02.54 - Version 2.02.54 -
===================================== =====================================
Correct example.conf to indicate that lvm2 not lvm1 is the default format.
Remove an unused stray LVM1_SUPPORT ifdef.
Only include selinux libs in libdevmapper.pc when selinux build enabled. Only include selinux libs in libdevmapper.pc when selinux build enabled.
Allow for a build directory separate from the source. Allow for a build directory separate from the source.
Update distclean target for rename clogd to cmirrord. (2.02.52) Update distclean target for rename clogd to cmirrord. (2.02.52)

View File

@ -262,8 +262,8 @@ global {
# The default metadata format that commands should use - "lvm1" or "lvm2". # The default metadata format that commands should use - "lvm1" or "lvm2".
# The command line override is -M1 or -M2. # The command line override is -M1 or -M2.
# Defaults to "lvm1" if compiled in, else "lvm2". # Defaults to "lvm2".
# format = "lvm1" # format = "lvm2"
# Location of proc filesystem # Location of proc filesystem
proc = "/proc" proc = "/proc"

View File

@ -58,11 +58,7 @@
# define DEFAULT_FALLBACK_TO_LVM1 0 # define DEFAULT_FALLBACK_TO_LVM1 0
#endif #endif
#ifdef LVM1_SUPPORT
# define DEFAULT_FORMAT "lvm1"
#else
#define DEFAULT_FORMAT "lvm2" #define DEFAULT_FORMAT "lvm2"
#endif
#define DEFAULT_STRIPESIZE 64 /* KB */ #define DEFAULT_STRIPESIZE 64 /* KB */
#define DEFAULT_PVMETADATASIZE 255 #define DEFAULT_PVMETADATASIZE 255