Bryn M. Reeves wrote:
> I have seen a few reports of this problem, mostly on old versions of
> parted and from users who weren't able to provide a lot of detail but I
> believe the problem still exists.
As Joel just pointed out to me, we (well, Jim!) did fix this back in
January:
commit 71bbe2995371357c534dccf1eb3d436b399eaf32
Author: Jim Meyering <[EMAIL PROTECTED]>
Date: Thu Jan 10 14:51:56 2008 +0100
Enforce inherent limitations of dos and dvh partition table formats.
* libparted/disk.c (_check_partition): Enforce the 32-bit limitation
on a partition's starting sector number and length (in sectors).
With the usual 512-byte sector size, this limits the maximum
partition size to just under 2TB.
(_partition_max_start, _partition_max_len): New functions.
(_check_partition): Use them.
* tests/t4100-msdos-partition-limits.sh: New file. Test vs. msdos.
* tests/t4100-dvh-partition-limits.sh: New file. Test vs. dvh.
* tests/Makefile.am (TESTS): Add t4100-msdos-partition-limits.sh
and t4100-dvh-partition-limits.sh.
Phew. One less to worry about :-)
Cheers,
Bryn.
_______________________________________________
bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted