diff options
author | Karel Zak | 2012-03-01 14:24:04 +0100 |
---|---|---|
committer | Karel Zak | 2012-03-01 14:24:04 +0100 |
commit | 89d39d22170b7c5b264e270ce706a0d25f2e0d36 (patch) | |
tree | 5c1d0983d792b86b27585a76e10e4166f955a019 /misc-utils/wipefs.c | |
parent | tests: add tests for mount --make-* stuff (diff) | |
download | kernel-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