Re: [PATCH 1/3] Don't try to zero out extended partitions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looks good.  On rhel6-branch, make sure the commit msg references a RHEL-6 BZ,
please.

On Thu, 22 Apr 2010, David Lehman wrote:

---
storage/devices.py |    7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 7afb08e..7f1cc0f 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1271,9 +1271,10 @@ class PartitionDevice(StorageDevice):
                self.disk.format.removePartition(part)
                raise

-            # Ensure old metadata which lived in freespace so did not get
-            # explictly destroyed by a destroyformat action gets wiped
-            DeviceFormat(device=self.path, exists=True).destroy()
+            if not self.isExtended:
+                # Ensure old metadata which lived in freespace so did not get
+                # explictly destroyed by a destroyformat action gets wiped
+                DeviceFormat(device=self.path, exists=True).destroy()
        except Exception:
            raise
        else:


- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvQvwEACgkQ5hsjjIy1Vkk03QCgzzJpDtjev3lHfy7f7G2xdViP
J4cAoPHeFw4rakCyIa+ql5KCaaKK/iEx
=1MFr
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux