[Top][All Lists]

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

Re: [PATCH]: grub: Partitions can start at zero.

From: David Miller
Subject: Re: [PATCH]: grub: Partitions can start at zero.
Date: Tue, 21 Apr 2009 01:58:13 -0700 (PDT)

From: Vladimir Serbinenko <address@hidden>
Date: Mon, 20 Apr 2009 18:53:35 +0200

> On Mon, Apr 20, 2009 at 2:30 AM, David Miller <address@hidden> wrote:
>> With Sun partitions, individual partitions can start at disk
>> address zero.  That's right, zero.
>> This works because UFS and EXT{2,3,4} superblocks are offset
>> far enough into the partition that it won't overwrite the
>> disk label nor the boot block.
>> I added an, arguably hackish, heuristic to handle this properly.
>> Basically if the OS device name does not end in a digit we'll believe
>> that a zero hdg.start value can be a partition.
>> If anyone has a better way to handle this, let me know :-)
> What about the way I proposed in thread on implementing nested partitions?

Thanks for your feedback, I'll take a look at this.

reply via email to

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