mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
5ac81657e5
Some signatures are spread around the disk in several copies, mainly for backup. Make libblkid to detect these extra copies - there was missing "blkid_probe_step_back" fn call after successful wipe of previous signature copy. An example with FAT table which has copies: $ mkfs.vfat /dev/sda1 Before this patch: $ pvcreate /dev/sda1 WARNING: vfat signature detected on /dev/sda1 at offset 54. Wipe it? [y/n]: y Wiping vfat signature on /dev/sda1. Physical volume "/dev/sda1" successfully created With this patch applied: $ pvcreate /dev/sda1 WARNING: vfat signature detected on /dev/sda1 at offset 54. Wipe it? [y/n]: y Wiping vfat signature on /dev/sda1. WARNING: vfat signature detected on /dev/sda1 at offset 0. Wipe it? [y/n]: y Wiping vfat signature on /dev/sda1. WARNING: vfat signature detected on /dev/sda1 at offset 510. Wipe it? [y/n]: y Wiping vfat signature on /dev/sda1. Physical volume "/dev/sda1" successfully created |
||
---|---|---|
.. | ||
dev-cache.c | ||
dev-cache.h | ||
dev-ext-udev-constants.h | ||
dev-ext.c | ||
dev-io.c | ||
dev-luks.c | ||
dev-md.c | ||
dev-swap.c | ||
dev-type.c | ||
dev-type.h | ||
device-types.h | ||
device.h |