Received: (at submit) by debbugs.gnu.org; 23 Nov 2016 16:30:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 11:30:40 2016 Received: from localhost ([127.0.0.1]:39470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c9aRU-0006cG-1N for submit <at> debbugs.gnu.org; Wed, 23 Nov 2016 11:30:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQD-00053y-0l for submit <at> debbugs.gnu.org; Wed, 23 Nov 2016 10:25:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQ6-0000g8-7n for submit <at> debbugs.gnu.org; Wed, 23 Nov 2016 10:25:11 -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,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQ6-0000fw-56 for submit <at> debbugs.gnu.org; Wed, 23 Nov 2016 10:25:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQ5-0006XP-3f for bug-parted@HIDDEN; Wed, 23 Nov 2016 10:25:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQ4-0000cu-8P for bug-parted@HIDDEN; Wed, 23 Nov 2016 10:25:09 -0500 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:35207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <yann.dirson@HIDDEN>) id 1c9ZQ4-0000Wk-2b for bug-parted@HIDDEN; Wed, 23 Nov 2016 10:25:08 -0500 Received: by mail-io0-x236.google.com with SMTP id a124so29340567ioe.2 for <bug-parted@HIDDEN>; Wed, 23 Nov 2016 07:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blade-group-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=VPrav2XihXW7sBwP6d8nyyLambnwb+N4i4wj3l2JcQI=; b=Ej4jmu6fG6HZiA8N/jNrpHoGy0j9Qv0Fqb2Dza+vre9wkbiXNY9u9/LIuapRnyBbOW h2ryfFEM+gZsH/6bcgWEPCuiuepEHE2uJku/sRR8eZaOg7sOHpUDoSaocI4st0X6Q2lN hbBL+ajMa3BgKf+SoBaqJ15HNd/9MKm3styuD2hOcFFjTDoVkRsz0OUsdhE/yJmJ02Ll C77lOy3ZqsHuJuaGGkZhg2ZaDqvnvzlU2SF27yNur9EO6NcFYJTBfOZAhz5AwB/s+DR4 uF2TU8IQgAmfExb2MHSDHHrFF9jZbIS0pT/x0VUIRtJxEbLoOlKrkcJ1T/QrPhc4CCTE 8/sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VPrav2XihXW7sBwP6d8nyyLambnwb+N4i4wj3l2JcQI=; b=mZn497APePKLXjIKWRrwiqG2qgV5tSLhBV/HHlq7CepfEBYlxOvmouAMmZ5G0h7fEz CCUppkS2z2i+X1h8Dq3GJTrDcmXvPkusWo0N3RrsvwFPhsM4S2ETPKuyT5o7QKAkDxEw fh8/4yFhGtEzL7ez7fICGi9qvnFMRoWefP2ZwZ13bnif8n96aVmzKVRltgRKJG/0l8IE LASj9epwCB/G7yGWlgzNqHggyJzuoAeKXySIn9Z00+lsQGPpm9CudXXVuiFg7tyDsgOc uwx3W+zALMc06tq0G0yXBjMEI3AdrgFhnYfUU/WDcWkPyi4/HM/9s1uPiK2nQfWPuht4 uXog== X-Gm-Message-State: AKaTC01NQKpSjtMhfYc2rMu1Arx2PPQ3BTi0CELTUY+ij/B1bUtr7V3m5aQ0iA7LZu2E8P+GCRrxJP0kUnegMyI9 X-Received: by 10.107.1.138 with SMTP id 132mr3676885iob.72.1479914703164; Wed, 23 Nov 2016 07:25:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.96.68 with HTTP; Wed, 23 Nov 2016 07:25:02 -0800 (PST) From: Yann Dirson <yann.dirson@HIDDEN> Date: Wed, 23 Nov 2016 16:25:02 +0100 Message-ID: <CA+4=imZ4i4+A--vxD37cKCLtrpMWsJMP3axV5UeX+0d0LkjAow@HIDDEN> Subject: Bug: command parameters ignored when parted sees need to fix GPT To: bug-parted@HIDDEN Content-Type: multipart/alternative; boundary=001a113965ae2e40e80541f97e5c 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: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 23 Nov 2016 11:30:39 -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: -4.0 (----) --001a113965ae2e40e80541f97e5c Content-Type: text/plain; charset=UTF-8 Trying to see how things perform when we don't fix the GPT as suggested: # parted /dev/mmcblk0 mkpart persist 2048 2058 Warning: Not all of the space available to /dev/mmcblk0 appears to be used, you can fix the GPT to use all of the space (an extra 25661440 blocks) or continue with the current setting? parted: invalid token: persist Fix/Ignore? i Partition name? []? File system type? [ext2]? Start? ^C Note that hitting ^C on the "fix/ignore" or "partition name" prompts have no effect, one cannot abort before the "file system type" prompt. Then once I have accepted the fix things do work as expected: # parted /dev/mmcblk0 mkpart persist 2048 2058 Information: You may need to update /etc/fstab. Or, alternatively, one can just use the "no question on tty" feature: # parted /dev/mmcblk0 mkpart persist 2048 2058 </dev/null -- Yann Dirson <yann@HIDDEN> Blade -- 90 avenue des Ternes, 75017 Paris --001a113965ae2e40e80541f97e5c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Trying to see how things perform when we don'= ;t fix the GPT as suggested:<br><br># parted /dev/mmcblk0 mkpart persist 20= 48 2058<br>Warning: Not all of the space available to /dev/mmcblk0 appears = to be used, you can fix the GPT to use all of the space (an extra 25661440 = blocks) or continue with the current setting?<br>parted: invalid token: per= sist<br>Fix/Ignore? i<br>Partition name?=C2=A0 []?<br>File system type?=C2= =A0 [ext2]?<br>Start? ^C<br><br></div><div>Note that hitting ^C on the &quo= t;fix/ignore" or "partition name" prompts have no effect, on= e cannot abort before the "file system type" prompt.<br><br clear= =3D"all"></div>Then once I have accepted the fix things do work as expected= :<br><br># parted /dev/mmcblk0 mkpart persist 2048 2058<br>Information: You= may need to update /etc/fstab.<br><br><br></div>Or, alternatively, one can= just use the "no question on tty" feature:<br><br># parted /dev/= mmcblk0 mkpart persist 2048 2058 </dev/null<br><br><div><br><div>-- <br>= <div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Yann Dirs= on <<a href=3D"mailto:yann@HIDDEN" target=3D"_blank">yann@blade= -group.com</a>><br>Blade -- 90 avenue des Ternes, 75017 Paris<br></div> </div></div></div> --001a113965ae2e40e80541f97e5c--
Yann Dirson <yann.dirson@HIDDEN>
:bug-parted@HIDDEN
.
Full text available.bug-parted@HIDDEN
:bug#25007
; Package parted
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.