[parted-devel] [PATCH] libparted: remove limits on loop labels

Jim Meyering jim at meyering.net
Thu Aug 19 16:32:08 UTC 2010


Colin Watson wrote:
> There's no reason to impose any particular limit on loop labels, since
> they just represent a single large partition.  Sector counts over 2^32
> are needed for large RAID arrays.  Change the limit to 2^64 since that's
> the upper limit imposed by libparted and it saves us implementing the
> limit functions separately.
>
> * libparted/labels/pt-limit.gperf: Change limits on "loop" to 2^64.
> * tests/t9021-maxima.sh: Update for the new loop limit.

Thanks for the patch.
Do you know if this fixes a regression?  I.e., did it ever work?
If so, it might be worthwhile to dig up where the bug
was introduced.

In any case it deserves mention in NEWS,
so I've added that for you below.

I'll push something like the following pretty soon.



More information about the parted-devel mailing list