Re: [PATCH 1/2] Make sure devices ignored by the devicetree are in _ignoredDisks.

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

 



> diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
> index f6bfa5c..42ae164 100644
> --- a/pyanaconda/storage/devicetree.py
> +++ b/pyanaconda/storage/devicetree.py
> @@ -879,6 +879,9 @@ class DeviceTree(object):
>  
>          if self.isIgnored(info):
>              log.debug("ignoring %s (%s)" % (name, sysfs_path))
> +            if name not in self._ignoredDisks:
> +                self.addIgnoredDisk(name)
> +
>              if udev_device_is_multipath_member(info):
>                  # last time we are seeing this mpath member is now, so make sure
>                  # LVM ignores its partitions too else a duplicate VG name could

Are self._ignoredDisks and the set of things ignored by self.isIgnored
always identical?

- Chris

_______________________________________________
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