[parted-devel] [PATCH] More correct handling of the HeaderSize field in GPT labels

Jim Meyering jim at meyering.net
Mon Jul 9 07:18:57 UTC 2007


Jim Meyering <jim at meyering.net> wrote:
...
> For example, can you give me a sequence of commands to create a
> small image for which parted-before-your-patch fails, yet with your
> patch it works?
>
> E.g.,
>
>   dev=loop-file
>   dd if=/dev/zero of=$dev bs=1 count=50K 2> /dev/null
>   ./parted -s $dev mklabel gpt
>   # change HeaderSize and checksum
>   # do something with the label, e.g., ./parted -s $dev p

Alternatively, just create a ZFS partition on OpenSolaris,
tell me the commands you used (for reference), send me the first
few KB of the image, and I'll do the rest.



More information about the parted-devel mailing list