LVM2 ./WHATS_NEW lib/metadata/metadata.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-08-19 23:03:35
Modified files:
. : WHATS_NEW
lib/metadata : metadata.c
Log message:
Change the pvcreate swap/md logic
pvcreate detects MD and swap signature.
The logic hidden there is not only documented but it is also user unfriendly. Who invented this logic should run pvcreate on its own critical MD device to see why;-)
This patch
- creates one function instead of duplication code
- asks if user want to overwrite signature
- allows aborting (!)
(Please note that writing LVM signatute without wiping old is wrong, it confuses blkid, MD will not work anyway and swap and LUKS is broken too.)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1712&r2=1.1713
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.c.diff?cvsroot=lvm2&r1=1.391&r2=1.392
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.74 - ================================== + Simplify MD/swap signature detection in pvcreate and allow aborting. Version 2.02.73 - 18th August 2010 ==================================
lib/metadata/metadata.c +36 -34
91 lines not on this page · raw message