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 > Ubuntu > Ubuntu Studio User

 
 
LinkBack Thread Tools
 
Old 01-28-2010, 08:11 PM
Hans de Goede
 
Default Startup iscsi / fcoe / zfcp before listing drives in the filter UI

This brings iBFT (iscsi) / EDD (FCoE) / /tmp/zfcp.cfg (zfcp) auto discovered
drives only. So that they show up in the filter UI and can be selected for
the installation (tested with iBFT).
---
iw/filter_gui.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index efdb5a4..7616b5d 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -31,6 +31,9 @@ from constants import *
from iw_gui import *
from storage.udev import *
from storage.devicelibs.mpath import *
+import storage.iscsi
+import storage.fcoe
+import storage.zfcp

import gettext
_ = lambda x: gettext.ldgettext("anaconda", x)
@@ -524,6 +527,12 @@ class FilterWindow(InstallWindow):
self._makeSearch()]

udev_trigger(subsystem="block")
+ # So that drives onlined by these show up in the filter UI
+ storage.iscsi.iscsi().startup(anaconda.intf)
+ storage.fcoe.fcoe().startup(anaconda.intf)
+ storage.zfcp.ZFCP().startup()
+ # Note we do NOT call dasd.startup() here, that does not online drives,
+ # but only checks if they need formatting.
disks = filter(udev_device_is_disk, udev_get_block_devices())
(singlepaths, mpaths, partitions) = identifyMultipaths(disks)

--
1.6.5.2

_______________________________________________
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 02:58 PM.

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