]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wipefs: force GPT detection
authorKarel Zak <kzak@redhat.com>
Wed, 13 Apr 2016 12:41:47 +0000 (14:41 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 15 Apr 2016 14:28:30 +0000 (16:28 +0200)
commitcbd6033684a88b7306f58667f21bda1ef54052cd
tree8d03d7d845e9586e560c3667c67a580a73a44850
parent8dfe8fe87e7c0d760b12cfc461b5f19248799225
wipefs: force GPT detection

The library libblkid (as well as fdisks) requires protective MBR when
probe for GPT by default.  This is unnecessary for wipefs where we're
more promiscuous and we want to delete as much as possible. This patch
enables BLKID_PARTS_FORCE_GPT for wipefs.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1326474
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/wipefs.c