grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PC partitions and big disks


From: Marco Gerards
Subject: Re: PC partitions and big disks
Date: Fri, 09 Nov 2007 16:33:47 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Robert Millan <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]