[parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

Jim Meyering jim at meyering.net
Mon Jan 14 17:44:11 UTC 2008


Michael Reed <mdr at sgi.com> wrote:
...
> I also noticed that this problem also exists on the SGI label type, dvh.
>
> Perhaps an examination of the various supported partition types is in order
> to impose this limitation on more than just msdos labels?  A quick glance
> (from linux/fs/partitions/*c) I see the following partition types which may
> have a problem.  I didn't check them all....
>
> 	sgi (confirmed to have a problem)
> 	sun
> 	mac
>
>
> I tested this if clause against dvh labels and it appears to not break anything.
>
>         if (!(part->type & PED_PARTITION_METADATA)
>             && (strcmp (disk->type->name, "msdos") == 0
>              || strcmp (disk->type->name, "dvh") == 0)) {

Thanks.
I'm looking at adding at least dvh for now.
However, I want to test it, too, of course.

And that's not as simple, due to differences in how the
existing dos-based test responds when I substitute dvh.
I'll post an updated patch later in the week.

I'd like to reuse the same exact testing code as used
for dos partition tables, but that may not be feasible.



More information about the parted-devel mailing list