Mailinglist Archive: yast-commit (870 mails)

< Previous Next >
[yast-commit] r48942 - /branches/tmp/aschnell/part-redesign/storage/src/include/ep-raid-lib.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Thu, 10 Jul 2008 07:26:40 -0000
  • Message-id: <20080710072640.5FDDB2F178@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages