FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-26-2011, 08:52 AM
Martin Gracik
 
Default Do not show loop devices in the filtering UI.

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@redhat.com>

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

Thread Tools




All times are GMT. The time now is 10:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org