X-Loop: help-debbugs@HIDDEN Subject: bug#22190: mkpart: "primary" unrecognised Resent-From: worik <root@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Thu, 17 Dec 2015 04:06:02 +0000 Resent-Message-ID: <handler.22190.B.145032510531961 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 22190 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 22190 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.145032510531961 (code B ref -1); Thu, 17 Dec 2015 04:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2015 04:05:05 +0000 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) From: worik <root@HIDDEN> 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: worik <root@HIDDEN> Subject: bug#22190: Acknowledgement (mkpart: "primary" unrecognised) Message-ID: <handler.22190.B.145032510531961.ack <at> debbugs.gnu.org> References: <56722925.4020803@HIDDEN> X-Gnu-PR-Message: ack 22190 X-Gnu-PR-Package: parted Reply-To: 22190 <at> debbugs.gnu.org Date: Thu, 17 Dec 2015 04:06:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 22190 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 22190: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22190 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#22190: mkpart: "primary" unrecognised Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Thu, 17 Dec 2015 16:58:01 +0000 Resent-Message-ID: <handler.22190.B.145037147614138 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 22190 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 22190 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.145037147614138 (code B ref -1); Thu, 17 Dec 2015 16:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2015 16:57:56 +0000 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> 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-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)
X-Loop: help-debbugs@HIDDEN Subject: bug#22190: mkpart: "primary" unrecognised Resent-From: Phillip Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 23 Dec 2015 01:23:01 +0000 Resent-Message-ID: <handler.22190.B22190.14508337773947 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 22190 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: "Brian C. Lane" <bcl@HIDDEN>, 22190 <at> debbugs.gnu.org Cc: root@HIDDEN Received: via spool by 22190-submit <at> debbugs.gnu.org id=B22190.14508337773947 (code B ref 22190); Wed, 23 Dec 2015 01:23:01 +0000 Received: (at 22190) by debbugs.gnu.org; 23 Dec 2015 01:22:57 +0000 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 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-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-----
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.