[yast-commit] r59208 - /branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp
Author: aschnell Date: Mon Oct 26 16:34:10 2009 New Revision: 59208 URL: http://svn.opensuse.org/viewcvs/yast?rev=59208&view=rev Log: - extended GetDiskPartitionTg() Modified: branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp Modified: branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp?rev=59208&r1=59207&r2=59208&view=diff ============================================================================== --- branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp (original) +++ branches/tmp/mpatelcz/SP1-md/storage/src/modules/Storage.ycp Mon Oct 26 16:34:10 2009 @@ -577,7 +577,12 @@ } else if( search( device, "/dev/md" )==0 && size(ls)==2 ) { - dlen = 7; + integer pos = find(device, "p"); + y2milestone("device:%1 pos:%2", device, pos); + if (pos == nil) + dlen = 7; + else + dlen = pos; } else if( search( device, "/dev/loop" )==0 ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org