master - pvcreate: Disallow --bootloaderareasize with --restorefile.
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7d09d7288b3aaecdfba9a3a05e7697f7dcdfed79 Commit: 7d09d7288b3aaecdfba9a3a05e7697f7dcdfed79 Parent: 955083e625eb003090ce8f699e8d414a215cce1f Author: Alasdair G Kergon <[email protected]> AuthorDate: Fri Aug 11 20:28:53 2017 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Fri Aug 11 20:28:53 2017 +0100
pvcreate: Disallow --bootloaderareasize with --restorefile.
The backup file already holds the bootloader area details to use so don't overcomplicate things.
--- WHATS_NEW | 1 + tools/command-lines.in | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.174 - ================================= + Disallow --bootloaderareasize with pvcreate --restorefile. Fix lvmlockd check for running lock managers during lock adoption. Add --withgeneralpreamble and --withlocalpreamble to lvmconfig. Improve makefiles' linking.
tools/command-lines.in +2 -0
@@ -1367,6 +1367,8 @@ OO: --dataalignment SizeKB, --dataalignmentoffset SizeKB, --bootloaderareasize S --metadataignore Bool, --norestorefile, --setphysicalvolumesize SizeMB, --reportformat ReportFmt, --restorefile String, --uuidstr String, --zero Bool ID: pvcreate_general +RULE: --norestorefile not --restorefile +RULE: --bootloaderareasize not --restorefile ---