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 regards > > > . . . > > + config_args + \ > > + ["%s/%s" % (vg_name, lv_name)] > > + self.addIgnoredDisk(device.name) > > return > > > > else: > > @@ -1175,8 +1181,8 @@ class DeviceTree(object): > > # major=major, minor=minor, uuid=uuid, name=name) > > except DeviceUserDeniedFormatError: > > # We should ignore the dmriad and its components > > - self.ignoredDisks.append(rs.name) > > - self.ignoredDisks.append(device.name) > > + self.addIgnoredDisk(rs.name) > > + self.addIgnoredDisk(device.name) > > rs.deactivate() > > elif format.type == "lvmpv": > > # lookup/create the VG and LVs > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list -- Joel Andres Granados Brno, Czech Republic, Red Hat. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list