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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 03-18-2009, 01:55 PM
Hans de Goede
 
Default PATCH: Make PartitionDevice handle both normal and dmraid partitions

Chris Lumens wrote:

The way we were handling updateSysfsPath in DMRaidPartitionDevice was very
wrong, you cannot call a method of an other class on self, when you do
not inherit from that class. Given the minimal difference between
normal and dmraid partitions (only path and sysfsPath differ) and all the
pain having multiple partition classes causes, this patch makes PartitionDevice
handle both normal and dmraid partitions, and gets rid of the whole
partition factory thing.


It's probably worth running this one by dlehman before committing, as it
seems to be a pretty big change to me.



Erm, too late. It is less invasive then it looks and it has been tested with
both a normal disk and a dmraid set. If it screws things up we can always
revert it.

Regards,

Hans

_______________________________________________
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 04:48 PM.

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