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: Robert Millan
Subject: Re: PC partitions and big disks
Date: Fri, 9 Nov 2007 22:29:00 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Nov 09, 2007 at 04:33:47PM +0100, Marco Gerards wrote:
> 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?

Uhm.  The person who reported this later told me that the partmap was in fact
not `pc' but `gpt'.  The problem this patch intended to address may still
apply, but without reproducing it first, I'd prefer not to run the risk of
"fixing" something that wasn't broken.

-- 
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 /.)




reply via email to

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