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

Chris Lamb chris at chris-lamb.co.uk
Sun Jun 22 23:31:42 UTC 2008


Hi,

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.

Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
---
 parted/parted.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


Regards,

-- 
Chris Lamb, UK                                       chris at chris-lamb.co.uk
                                                            GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Ignore-primary-on-mkpart-command-line-if-we-ve-alr.patch
Type: text/x-patch
Size: 1472 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20080623/fc047576/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20080623/fc047576/attachment.pgp 


More information about the parted-devel mailing list