From 2839b764b0fe0118b2056f30577c6dbf6ca879e9 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Wed, 18 Jul 2001 20:56:08 +0000 Subject: fix for bug 49200 --- textw/partition_text.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'textw') diff --git a/textw/partition_text.py b/textw/partition_text.py index 498447b63..0925560ef 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -786,6 +786,13 @@ class PartitionWindow: else: request.format = 0 + if request.raidlevel == "RAID0" and request.raidspares > 0: + self.intf.messageWindow(_("Too many spares"), + _("The maximum number of spares with " + "a RAID0 array is 0.")) + continue + + err = sanityCheckRaidRequest(self.partitions, request) if err: self.intf.messageWindow(_("Error With Request"), -- cgit