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 > Redhat > Fedora Development

LinkBack Thread Tools
Old 01-25-2010, 06:02 PM
Hans de Goede
Default DMRaidArrayDevice don't pass major/minor to DMDevice.__init__ (#558440)

The changes for the filtering UI and the whole disk formatting seem to have
broken dmraid BIOS RAID support, the first traceback I hit while testing is
due to DMRaidArrayDevice.__init__ now calling DMDevice.__init__ (was
DiskDevice.__init__), and DMDevice.__init__ does not accept major and minor
storage/devices.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 9df23f0..d5ca22b 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2847,8 +2847,7 @@ class DMRaidArrayDevice(DMDevice):
_isDisk = True

def __init__(self, name, raidSet=None, format=None,
- size=None, major=None, minor=None, parents=None,
- sysfsPath='):
+ size=None, parents=None, sysfsPath='):
""" Create a DMRaidArrayDevice instance.

@@ -2868,8 +2867,7 @@ class DMRaidArrayDevice(DMDevice):
if not parent.format or parent.format.type != "dmraidmember":
raise ValueError("parent devices must contain dmraidmember format")
DMDevice.__init__(self, name, format=format, size=size,
- major=major, minor=minor, parents=parents,
- sysfsPath=sysfsPath, exists=True)
+ parents=parents, sysfsPath=sysfsPath, exists=True)

self.formatClass = get_device_format_class("dmraidmember")
if not self.formatClass:

Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 01:57 PM.

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