/[fai]/people/michael/experimental/patches/setup-storage_better-error-msg
ViewVC logotype

Contents of /people/michael/experimental/patches/setup-storage_better-error-msg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5383 - (show annotations) (download)
Thu Apr 30 07:33:55 2009 UTC (4 years ago) by mt
File size: 784 byte(s)
- improved user error message
- fixed grub-pc install script (thanks Jean Spirat)
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

  ViewVC Help
Powered by ViewVC 1.1.5