summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.c
diff options
context:
space:
mode:
authorKarel Zak2012-03-01 14:24:04 +0100
committerKarel Zak2012-03-01 14:24:04 +0100
commit89d39d22170b7c5b264e270ce706a0d25f2e0d36 (patch)
tree5c1d0983d792b86b27585a76e10e4166f955a019 /misc-utils/wipefs.c
parenttests: add tests for mount --make-* stuff (diff)
downloadkernel-qcow2-util-linux-89d39d22170b7c5b264e270ce706a0d25f2e0d36.tar.gz
kernel-qcow2-util-linux-89d39d22170b7c5b264e270ce706a0d25f2e0d36.tar.xz
kernel-qcow2-util-linux-89d39d22170b7c5b264e270ce706a0d25f2e0d36.zip
libblkid: properly reset chain in probe_do_wipe()
The command wipefs is not able to remove all signatures from the device if the first detected signature is linux raid. The another superblock signatures are ignored. For example: # pvcreate /dev/sdb1 # mdadm --create md8 --metadata=0.90 --chunk=64 --level=0 \ --raid-devices=2 /dev/sdb1 /dev/sdb2 # wipefs -a /dev/sdb1 will delete the linux raid signature only. Reported-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/wipefs.c')
0 files changed, 0 insertions, 0 deletions