From: David Lehman <dlehman(a)redhat.com>
libparted's clobber does not remove a protective MBR, which makes it
useless for our purposes.
---
blivet/formats/disklabel.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
index 9ea89a3..093ba24 100644
--- a/blivet/formats/disklabel.py
+++ b/blivet/formats/disklabel.py
@@ -243,12 +243,6 @@ def _create(self, **kwargs):
# other problems.
self.commit()
- def _destroy(self, **kwargs):
- """ Wipe the disklabel from the device. """
- log_method_call(self, device=self.device,
- type=self.type, status=self.status)
- self.parted_device.clobber()
-
def commit(self):
""" Commit the current partition table to disk and notify the OS.
"""
log_method_call(self, device=self.device,
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/90b18e78b6896aa20fdd3103dc69...