Robert Millan <[EMAIL PROTECTED]> writes: > This should make the error much clearer when partition exceeds 2 TiB on a PC > partition map (currently, all user gets is a "out of partition" error which > is hard to figure out if you're unaware of the 2 TiB limit). > > Comments?
See below :-) > -- > Robert Millan > > <GPLv2> I know my rights; I want my phone call! > <DRM> What use is a phone call, if you are unable to speak? > (as seen on /.) > > > * include/grub/types.h (ULONG_MAX32): New macro. > (ULONG_MAX64): Likewise. > (ULONG_MAX): Use ULONG_MAX32 / ULONG_MAX64 to define it. Please call use a GRUB_* prefix. > * util/misc.c (grub_util_warn): New function. > > * util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Issue a warning > when `disk->total_sectors' exceeds ULONG_MAX32 on `pc' partmap. Why a warning and not an error? Or perhaps another part of GRUB should return an error? -- Marco _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel