GNU bug report logs - #22190
mkpart: "primary" unrecognised

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: worik <root@HIDDEN>; dated Thu, 17 Dec 2015 04:06:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 22190 <at> debbugs.gnu.org:


Received: (at 22190) by debbugs.gnu.org; 23 Dec 2015 01:22:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 22 20:22:57 2015
Received: from localhost ([127.0.0.1]:60286 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aBY8n-00011a-Dp
	for submit <at> debbugs.gnu.org; Tue, 22 Dec 2015 20:22:57 -0500
Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.227]:41515
 helo=cdptpa-oedge-vip.email.rr.com)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <psusi@HIDDEN>) id 1aBY8m-00011N-9l
 for 22190 <at> debbugs.gnu.org; Tue, 22 Dec 2015 20:22:56 -0500
Received: from [72.239.162.168] ([72.239.162.168:45516] helo=[192.168.1.141])
 by cdptpa-oedge03 (envelope-from <psusi@HIDDEN>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP
 id 60/3B-18930-967F9765; Wed, 23 Dec 2015 01:22:50 +0000
Subject: Re: bug#22190: mkpart: "primary" unrecognised
To: "Brian C. Lane" <bcl@HIDDEN>, 22190 <at> debbugs.gnu.org
References: <56722925.4020803@HIDDEN>
 <20151217165731.GW2721@HIDDEN>
From: Phillip Susi <psusi@HIDDEN>
Message-ID: <5679F769.5020209@HIDDEN>
Date: Tue, 22 Dec 2015 20:22:49 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <20151217165731.GW2721@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-RR-Connecting-IP: 107.14.168.142:25
X-Cloudmark-Score: 0
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 22190
Cc: root@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Control: forcemerge -1 22191

On 12/17/2015 11:57 AM, Brian C. Lane wrote:
> What type of disklabel is it? If it is GPT then primary, etc.
> isn't used. We should figure out how to make this clearer in the
> docs.

I guess we should change the man page.. gpt takes [name] rather than
part-type.  Most other partition types besides msdos also don't take
part-type ( and I don't think most of them even support the optional
name ).

Also FYI Brian, debbugs does not send all messages to the bug back to
the submitter.  You either need to explicitly cc them ( reply-to-all
works for this when replying to the original submitter ), or change
nnnn@debbugs to nnnn-submitter@debbugs.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJWefdgAAoJEBB5UWFcu6UWicwH/iL1wgFMeiWc6hqqyqWt20W9
yaiZ1BbZigyLhQ4l6G+h5hloSxRM6R/dhHq7XvL8rmQbbO67sWn/z5jRJEoSmg4O
LVUvRWiDdXF0YOTbTYWe2ac0Sw6EFlp2CA8DaFLz5juJwmxCgoeGVqBtmnTaxwYI
mM3FHV9b8SF+aOVmXmOFxCgpLAVs+qbe3lYLeboRE5qSu+TK9gtToMdJtyni688T
Z8U6N6jTTkzor/Q/Wds+4DELHSMFGu5J03GFoZCKJ/KgP6UCnIZ7bRB/ou+exTmO
+W+Gz4As/TBcaVdeckqENMwzAvla5+S+KC5SClimnELEHbmCdyMpO2nwzhQDxVo=
=wWXX
-----END PGP SIGNATURE-----




Information forwarded to bug-parted@HIDDEN:
bug#22190; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Dec 2015 16:57:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 17 11:57:56 2015
Received: from localhost ([127.0.0.1]:54629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a9bsJ-0003fy-Nk
	for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 11:57:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44230)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <bcl@HIDDEN>) id 1a9bsH-0003fm-KI
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 11:57:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1a9bs8-0001ZB-MJ
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 11:57:48 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34669)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1a9bs8-0001Z7-Iz
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 11:57:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35121)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1a9bs2-0007Bj-TT
 for bug-parted@HIDDEN; Thu, 17 Dec 2015 11:57:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1a9bry-0001Vm-Tp
 for bug-parted@HIDDEN; Thu, 17 Dec 2015 11:57:38 -0500
Received: from mx1.redhat.com ([209.132.183.28]:45624)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1a9bry-0001VU-OF
 for bug-parted@HIDDEN; Thu, 17 Dec 2015 11:57:34 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
 (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
 by mx1.redhat.com (Postfix) with ESMTPS id C073A9135C
 for <bug-parted@HIDDEN>; Thu, 17 Dec 2015 16:57:33 +0000 (UTC)
Received: from lister.brianlane.com (ovpn-113-67.phx2.redhat.com [10.3.113.67])
 by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 tBHGvVVm001231
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <bug-parted@HIDDEN>; Thu, 17 Dec 2015 11:57:33 -0500
Date: Thu, 17 Dec 2015 08:57:31 -0800
From: "Brian C. Lane" <bcl@HIDDEN>
To: bug-parted@HIDDEN
Subject: Re: bug#22190: mkpart: "primary" unrecognised
Message-ID: <20151217165731.GW2721@HIDDEN>
References: <56722925.4020803@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <56722925.4020803@HIDDEN>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

On Thu, Dec 17, 2015 at 04:16:53PM +1300, worik wrote:
> $ sudo parted -s /dev/sdb mkpart primary 0 8000
> parted: invalid token: primary
> Error: Expecting a file system type.
> 
> 
> The man page says:
> 
> mkpart part-type [fs-type] start end
>                      Make a part-type partition with filesystem fs-type
> (if specified), beginning at  start  and  ending  at  end  (by default
> in megabytes).   fs-type  can  be  one of "fat16", "fat32", "ext2",
> "HFS", "linux-swap", "NTFS", "reiserfs", or "ufs".  part-type
>                      should be one of "primary", "logical", or "extended".

What type of disklabel is it? If it is GPT then primary, etc. isn't
used. We should figure out how to make this clearer in the docs.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#22190; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Dec 2015 04:05:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 16 23:05:05 2015
Received: from localhost ([127.0.0.1]:54051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a9PoO-0008JR-Qn
	for submit <at> debbugs.gnu.org; Wed, 16 Dec 2015 23:05:05 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45296)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <root@HIDDEN>) id 1a9P46-0007DD-DB
 for submit <at> debbugs.gnu.org; Wed, 16 Dec 2015 22:17:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <root@HIDDEN>) id 1a9P40-0000nG-5Q
 for submit <at> debbugs.gnu.org; Wed, 16 Dec 2015 22:17:09 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50939)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <root@HIDDEN>) id 1a9P40-0000nB-2m
 for submit <at> debbugs.gnu.org; Wed, 16 Dec 2015 22:17:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36245)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <root@HIDDEN>) id 1a9P3y-0000Pn-Vs
 for bug-parted@HIDDEN; Wed, 16 Dec 2015 22:17:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <root@HIDDEN>) id 1a9P3u-0000lh-V6
 for bug-parted@HIDDEN; Wed, 16 Dec 2015 22:17:06 -0500
Received: from worik.org ([128.199.199.128]:48456 helo=mail.worik.org)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <root@HIDDEN>) id 1a9P3u-0000lF-IH
 for bug-parted@HIDDEN; Wed, 16 Dec 2015 22:17:02 -0500
Received: from [192.168.1.93] (122-61-104-174.jetstream.xtra.co.nz
 [122.61.104.174])
 by mail.worik.org (Postfix) with ESMTPSA id CD02480DDA
 for <bug-parted@HIDDEN>; Thu, 17 Dec 2015 16:16:57 +1300 (NZDT)
To: bug-parted@HIDDEN
From: worik <root@HIDDEN>
Subject: mkpart: "primary" unrecognised
Message-ID: <56722925.4020803@HIDDEN>
Date: Thu, 17 Dec 2015 16:16:53 +1300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 16 Dec 2015 23:05:03 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

$ sudo parted -s /dev/sdb mkpart primary 0 8000
parted: invalid token: primary
Error: Expecting a file system type.


The man page says:

mkpart part-type [fs-type] start end
                     Make a part-type partition with filesystem fs-type
(if specified), beginning at  start  and  ending  at  end  (by default
in megabytes).   fs-type  can  be  one of "fat16", "fat32", "ext2",
"HFS", "linux-swap", "NTFS", "reiserfs", or "ufs".  part-type
                     should be one of "primary", "logical", or "extended".


Worik
-- 
Why is the legal status of chardonnay different to that of cannabis?
                  root@HIDDEN 021-1680650, (03) 4821804
                          Aotearoa (New Zealand)
                             I voted for love




Acknowledgement sent to worik <root@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#22190; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.