bug-parted
[Top][All Lists]
Advanced

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

Re: [parted 1.8.8] msdos label and file system corruption issues with >


From: Jim Meyering
Subject: Re: [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk
Date: Mon, 14 Jan 2008 18:44:11 +0100

Michael Reed <address@hidden> 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.




reply via email to

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