grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] fix an infinite loop with a corrupted pc partition table


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] fix an infinite loop with a corrupted pc partition table
Date: Sat, 25 Jul 2009 12:48:17 +0200

On Fri, Jul 24, 2009 at 11:03 PM, Pavel Roskin<address@hidden> wrote:
> On Fri, 2009-07-24 at 22:35 +0200, Vladimir 'phcoder' Serbinenko wrote:

> This is still allowed:
>
> MBR  ---------------->  Ext
>        Logical  <-----/
AFAIK this isn't even possible since e->start is unsigned and
references to logical partitions from ext label are relative to
position of ext while ext->ext reference are relative to the first
position of ext.
>
> This is what I want to forbid:
>
> MBR  ---------------->  Ext
>             Ext  <----/
>                \-------------->  Logical
>
> I don't think any tool would create that insanity.
>
If I remember correctly DiskDrake created something like
MBR----------------> Ext --> Logical

\-------------------------------------------------->Ext -----> Logical
                                                 Ext<------------------------/
                                                   \----->Logical
>> A big problem with pc partitions is that AFAIK there is no normative
>> standard for it, only descriptive documents
>
> Yes, it's a typical "industry standard" :-(
>
> --
> Regards,
> Pavel Roskin
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git




reply via email to

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