Author: aschnell Date: Mon Aug 25 14:19:18 2008 New Revision: 50358 URL: http://svn.opensuse.org/viewcvs/yast?rev=50358&view=rev Log: - removed multipath activation Modified: trunk/storage/libstorage/src/DmmultipathCo.cc trunk/storage/libstorage/src/DmmultipathCo.h trunk/storage/libstorage/src/Storage.cc trunk/storage/libstorage/src/StorageInterface.h Modified: trunk/storage/libstorage/src/DmmultipathCo.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/DmmultipathCo.cc?rev=50358&r1=50357&r2=50358&view=diff ============================================================================== --- trunk/storage/libstorage/src/DmmultipathCo.cc (original) +++ trunk/storage/libstorage/src/DmmultipathCo.cc Mon Aug 25 14:19:18 2008 @@ -118,29 +118,6 @@ } -void DmmultipathCo::activate(bool val) -{ - // TODO: ask hannes -/* - y2milestone( "old active:%d val:%d", active, val ); - if (active != val) - { - SystemCmd c; - if (val) - { - Dm::activate(true); - c.execute("/etc/init.d/multipathd start"); - } - else - { - c.execute("/etc/init.d/multipathd stop"); - } - active = val; - } -*/ -} - - void DmmultipathCo::getMultipaths( list<string>& l ) { @@ -267,6 +244,3 @@ } void DmmultipathCo::logData( const string& Dir ) {} - -bool DmmultipathCo::active = false; - Modified: trunk/storage/libstorage/src/DmmultipathCo.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/DmmultipathCo.h?rev=50358&r1=50357&r2=50358&view=diff ============================================================================== --- trunk/storage/libstorage/src/DmmultipathCo.h (original) +++ trunk/storage/libstorage/src/DmmultipathCo.h Mon Aug 25 14:19:18 2008 @@ -87,7 +87,6 @@ DmmultipathCo( Storage * const s, const string& File ); virtual void print( std::ostream& s ) const { s << *this; } virtual Container* getCopy() const { return( new DmmultipathCo( *this ) ); } - static void activate( bool val ); void getMultipathData( const string& name ); void addMultipath( const string& name ); void addPv( Pv*& p ); @@ -103,8 +102,6 @@ string vendor; string model; - - static bool active; }; } Modified: trunk/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=50358&r1=50357&r2=50358&view=diff ============================================================================== --- trunk/storage/libstorage/src/Storage.cc (original) +++ trunk/storage/libstorage/src/Storage.cc Mon Aug 25 14:19:18 2008 @@ -207,7 +207,6 @@ MdCo::activate( true, tmpDir() ); LvmVg::activate( true ); DmraidCo::activate( true ); - DmmultipathCo::activate( true ); delete ppart; ppart = new ProcPart; } Modified: trunk/storage/libstorage/src/StorageInterface.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/StorageInterface.h?rev=50358&r1=50357&r2=50358&view=diff ============================================================================== --- trunk/storage/libstorage/src/StorageInterface.h (original) +++ trunk/storage/libstorage/src/StorageInterface.h Mon Aug 25 14:19:18 2008 @@ -2044,6 +2044,8 @@ /** * Activate or deactivate higher level devices as MD, LVM, DM * + * Multipath is not activate by this function. + * * @param val flag if devices should be activated or deactivated * @return bool if values could be successfully determined */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org