[yast-commit] r52466 - in /trunk/storage: VERSION libstorage/src/DmmultipathCo.cc package/yast2-storage.changes
Author: aschnell
Date: Thu Oct 23 16:36:49 2008
New Revision: 52466
URL: http://svn.opensuse.org/viewcvs/yast?rev=52466&view=rev
Log:
- adapted parsing of /sbin/multipath (bnc #438206) (untested)
Modified:
trunk/storage/VERSION
trunk/storage/libstorage/src/DmmultipathCo.cc
trunk/storage/package/yast2-storage.changes
Modified: trunk/storage/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/VERSION?rev=52466&r1=52465&r2=52466&view=diff
==============================================================================
--- trunk/storage/VERSION (original)
+++ trunk/storage/VERSION Thu Oct 23 16:36:49 2008
@@ -1 +1 @@
-2.17.42
+2.17.43
Modified: trunk/storage/libstorage/src/DmmultipathCo.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/DmmultipathCo.cc?rev=52466&r1=52465&r2=52466&view=diff
==============================================================================
--- trunk/storage/libstorage/src/DmmultipathCo.cc (original)
+++ trunk/storage/libstorage/src/DmmultipathCo.cc Thu Oct 23 16:36:49 2008
@@ -42,8 +42,12 @@
if (c.numLines() > 0)
{
string line = *c.getLine(0);
- y2mil("line:" << line);
- list<string> tmp = splitString(extractNthWord(1, line, true), ",");
+ y2mil("mp line:" << line);
+
+ string unit = extractNthWord(0, line);
+ y2mil("mp name:" << unit);
+
+ list<string> tmp = splitString(extractNthWord(2, line, true), ",");
if (tmp.size() >= 2)
{
list<string>::const_iterator it = tmp.begin();
@@ -135,12 +139,9 @@
if( ++i
participants (1)
-
aschnell@svn.opensuse.org