1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
Peter Rajnoha 6a1957badc pvcreate: do not issue warning about any existing PV
If we're calling pvcreate on a device that already has a PV label,
the blkid detects the existing PV and then we consider it for wiping
before we continue creating the new PV label and we issue a warning
with a prompt whether such old PV label should be removed. We don't
do this with native signature detection code. Let's make it consistent
with old behaviour.

But still keep this "PV" (identified as "LVM1_member" or "LVM2_member"
by blkid) detection when creating new LVs to avoid unexpected PV label
appeareance inside LV.
2013-11-28 13:14:46 +01:00
..
dev-cache.c dev-cache.c: Make dev_name a little more robust. 2013-11-17 22:34:56 +01:00
dev-cache.h filters: dump filter returns error code 2013-06-03 08:42:25 +02:00
dev-io.c gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
dev-luks.c device: cleanup signature wiping functions 2013-11-27 12:56:58 +01:00
dev-md.c device: cleanup signature wiping functions 2013-11-27 12:56:58 +01:00
dev-swap.c device: cleanup signature wiping functions 2013-11-27 12:56:58 +01:00
dev-type.c pvcreate: do not issue warning about any existing PV 2013-11-28 13:14:46 +01:00
dev-type.h pvcreate: do not issue warning about any existing PV 2013-11-28 13:14:46 +01:00
device-types.h filters: Add NVM Express (nvme). 2013-10-09 20:08:07 +01:00
device.h refactor: make device type recognition code common for general use 2013-06-12 12:08:56 +02:00