1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib
Milan Broz 2d5e2b52ca 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.)
2010-08-19 23:03:34 +00:00
..
activate Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages. 2010-08-17 19:25:05 +00:00
cache Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
commands Recognise and give preference to md device partitions (blkext major). 2010-08-11 12:14:23 +00:00
config Various small cleanups and fixes related to monitoring. 2010-08-16 22:54:35 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Recognise and give preference to md device partitions (blkext major). 2010-08-11 12:14:23 +00:00
display Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
error Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
filters Recognise and give preference to md device partitions (blkext major). 2010-08-11 12:14:23 +00:00
format1 Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_pool Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_text Avoid changing aligned pe_start as a side-effect of very verbose logging. 2010-08-03 18:19:42 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
locking Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages. 2010-08-17 19:25:05 +00:00
log Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
metadata Change the pvcreate swap/md logic 2010-08-19 23:03:34 +00:00
mirror Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
misc Various small cleanups and fixes related to monitoring. 2010-08-16 22:54:35 +00:00
mm Fix format string from patch apply mistake 2010-07-08 14:47:46 +00:00
replicator Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
report Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
snapshot Monitor origin -real device below snapshot instead of overlay device. (brassow) 2010-08-17 01:16:41 +00:00
striped Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
unknown Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Replicator: base lvm2 support 2010-05-21 12:36:30 +00:00