master - lvcreate: check for conflicting -Zy -Wy
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=784c216d2beb21bf793d33d1ebf600ab30454bb7 Commit: 784c216d2beb21bf793d33d1ebf600ab30454bb7 Parent: c7484a139a3b24d05459d8593309b518b4104172 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Oct 21 20:50:26 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Oct 24 16:39:32 2014 +0200
lvcreate: check for conflicting -Zy -Wy
Let the finaly state of zero & wipe_signature to be resolved later together with all the types.
Don't play with zero assigment and segtype flag
(i.e. thin-pool -Z has different meaning).
Check if the passed options do allow requested zeroing/wiping.
lvcreate without -Z or -W will fallback to warning if the device cannot be zeroed, however if user requested them explicitely it will give user error.
--- WHATS_NEW | 1 + tools/lvcreate.c | 90 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 56 insertions(+), 35 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.112 - ===================================== + Check for zeroing of volume after segment type is fully detected. Better support for persistent major and minor options with lvcreate. Refactor lvcreate towards more complete validation of all supported options. Support lvcreate --type linear.
tools/lvcreate.c +55 -35
128 lines not on this page · raw message