Re: [f16-branch] Do not show loop devices in the filtering UI.

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

 



ack

On Mon, 2011-09-26 at 10:20 +0200, Ales Kozumplik wrote:
> Previously, getting the parted object for a loop device failed and so we
> skipped it. That no longer happens, parted returns a valid object, so we
> need to explicitly filter loop devices out.
> 
> Resolves: rhbz#739828
> ---
>  pyanaconda/iw/filter_gui.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/pyanaconda/iw/filter_gui.py b/pyanaconda/iw/filter_gui.py
> index a2aef98..7acf30e 100644
> --- a/pyanaconda/iw/filter_gui.py
> +++ b/pyanaconda/iw/filter_gui.py
> @@ -412,6 +412,7 @@ class FilterWindow(InstallWindow):
>      def _getFilterDisks(self):
>          """ Return a list of disks to pass to MultipathTopology. """
>          return filter(lambda d: udev_device_is_disk(d) and \
> +                                not udev_device_is_loop(d) and \
>                                  not udev_device_is_dm(d) and \
>                                  not udev_device_is_md(d) and \
>                                  not udev_device_get_md_container(d),

-- 
Martin Gracik <mgracik@xxxxxxxxxx>

_______________________________________________
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