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 01-22-2010, 08:24 AM
Hans de Goede
 
Default Remove setting of _isDisk and _partitionable from iscsi and fcoe disk code

They already enherit the correct values from DiskDevice, and setting
them explictly is inconsisten with ZFCPDevice and DASDDevice which do not
do this.
---
storage/devices.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 52e0466..42b0fdf 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -3288,8 +3288,6 @@ class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
""" An iSCSI disk. """
_type = "iscsi"
_packages = ["iscsi-initiator-utils", "dracut-network"]
- _partitionable = True
- _isDisk = True

def __init__(self, device, **kwargs):
self.node = kwargs.pop("node")
@@ -3322,8 +3320,6 @@ class FcoeDiskDevice(DiskDevice, NetworkStorageDevice):
""" An FCoE disk. """
_type = "fcoe"
_packages = ["fcoe-utils", "dracut-network"]
- _partitionable = True
- _isDisk = True

def __init__(self, device, **kwargs):
self.nic = kwargs.pop("nic")
--
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 11:33 PM.

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