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

Michael Reed mdr at sgi.com
Tue Jan 29 14:18:51 UTC 2008


How is your work proceeding?  Is there anything I can help with?
I'd like to forward these fixes on to several distros of interest....

Thanks,
 Mike


Jim Meyering wrote:
> 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.
> 
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-devel
> 
> 



More information about the parted-devel mailing list