Re: [PATCH] Add a list that lvm should ignore.

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

 



Joel Granados wrote:
On Thu, Mar 12, 2009 at 10:56:05PM -0500, David Lehman wrote:
On Thu, 2009-03-12 at 19:14 +0100, Joel Granados Moreno wrote:
We use the --config argument from lvm to pass a list of devices from
devicetree.ignoredDisks to lvm so those disks can be ignored in lvm
commands.
It looks alright to me. A little scary, but that might be because I am
too tired to fully understand it.

Dave

Will take full responsability.  Any strangeness pls scream at Joel :)
hehehehehe

This is patch for devicetree.py:1169 exception, we were talking on IRC.

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 66d053e..a2d0386 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1166,7 +1166,7 @@ class DeviceTree(object):
                     self.addIgnoredDisk(device.name)
                     return

-                elif rs.name in self.ignoredDisks:
+                elif rs.name in self._ignoredDisks:
# If the rs is being ignored, we should ignore device too.
                     self.addIgnoredDisk(device.name)
                     return


_______________________________________________
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