]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: detect alone PMBR
authorKarel Zak <kzak@redhat.com>
Mon, 20 Jan 2014 09:51:00 +0000 (10:51 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Jan 2014 09:51:00 +0000 (10:51 +0100)
commite3c69a7d7824cf1cb8fce3228b20499641878e75
treef92ca172523d8d5e679bca63fd381fc806141777
parent4a2332edd9de308902d631933dbc2d93491f9c45
libblkid: detect alone PMBR

wipefs(8) has to also erase PMBR, not GPR header only, otherwise the
device could be still interpreted as a device with a partition table.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1054186
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/gpt.c
libblkid/src/partitions/partitions.c
libblkid/src/partitions/partitions.h