| 1 |
2009-04-30 Michael Tautschnig <mt@debian.org>
|
| 2 |
|
| 3 |
* setup-storage/Sizes.pm: Clarified error message in cases where the user
|
| 4 |
specified a partition is larger than the entire disk
|
| 5 |
Index: trunk/lib/setup-storage/Sizes.pm
|
| 6 |
===================================================================
|
| 7 |
--- trunk.orig/lib/setup-storage/Sizes.pm
|
| 8 |
+++ trunk/lib/setup-storage/Sizes.pm
|
| 9 |
@@ -74,7 +74,7 @@
|
| 10 |
}
|
| 11 |
|
| 12 |
# the user may have specified a partition that is larger than the entire disk
|
| 13 |
- ($start <= $size_b) or die "Lower bound of partition size is greater than disk size\n";
|
| 14 |
+ ($start <= $size_b) or die "Sorry, can't create a partition of $start B on a disk of $size_b B - check your config!\n";
|
| 15 |
# make sure that $end >= $start
|
| 16 |
($end >= $start) or &FAI::internal_error("end < start");
|
| 17 |
|