Author: aschnell Date: Thu Jul 10 09:26:40 2008 New Revision: 48942 URL: http://svn.opensuse.org/viewcvs/yast?rev=48942&view=rev Log: - don't allow to resize raid already used Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp?rev=48942&r1=48941&r2=48942&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp Thu Jul 10 09:26:40 2008 @@ -57,6 +57,13 @@ return; } + if (data["used_by"]:"" != "") + { + Error(sformat(_("The RAID %1 is in use. It cannot be +resized. To resize %1, make sure it is not used."), device)); + return; + } + DlgResizeRaid(data); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org