[parted-devel] [PATCH] Ignore "primary" on mkpart command line if we've already detected it

Jim Meyering jim at meyering.net
Sat Jun 28 09:24:42 UTC 2008


Chris Lamb <chris at chris-lamb.co.uk> wrote:
> The attached patch means that parted does not error with "invalid token" if
> you specify a PART-TYPE of primary when we have already confirmed this
> feature via a call to ped_disk_type_check_feature.
>
> This brings parted inline with its own documentation and fixes (what appears
> to be) a regression from a previous version.
...
Thanks for the patch!
Would you please provide a stand-alone example demonstrating
the existing failure?  Better still if it's in the form of a
test script that will be run via "make check".

> From c992bcb55cb1daf6cd294340e9b1072ea85d24e7 Mon Sep 17 00:00:00 2001
> From: Chris Lamb <chris at chris-lamb.co.uk>
> Date: Mon, 23 Jun 2008 00:29:46 +0100
> Subject: [PATCH] Ignore "primary" on mkpart command line if we've already detected it.
...



More information about the parted-devel mailing list