--- storage/formats/disklabel.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/storage/formats/disklabel.py b/storage/formats/disklabel.py index e4122fb..bfbb7f5 100644 --- a/storage/formats/disklabel.py +++ b/storage/formats/disklabel.py @@ -176,6 +176,7 @@ class DiskLabel(DeviceFormat): def destroy(self, *args, **kwargs): """ Wipe the disklabel from the device. """ + # XXX NOTUSED log_method_call(self, device=self.device, type=self.type, status=self.status) if not self.exists: @@ -184,7 +185,8 @@ class DiskLabel(DeviceFormat): if not os.access(self.device, os.W_OK): raise DeviceFormatError("device path does not exist") - self.partedDisk.clobber() + # No way to really destroy the disklabel, but atleast we can empty it + self._partedDisk = self.freshPartedDisk() self.commit() self.exists = False -- 1.6.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list