X-Loop: help-debbugs@HIDDEN Subject: bug#19135: mklabel gpt always creates 128 partition entries Resent-From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 21 Nov 2014 07:35:02 +0000 Resent-Message-ID: <handler.19135.B.14165552561522 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 19135 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 19135 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-parted@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.14165552561522 (code B ref -1); Fri, 21 Nov 2014 07:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2014 07:34:16 +0000 Received: from localhost ([127.0.0.1]:40170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XrijQ-0000OS-CK for submit <at> debbugs.gnu.org; Fri, 21 Nov 2014 02:34:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47254) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <Ulrich.Windl@HIDDEN>) id 1XrijN-0000OI-UR for submit <at> debbugs.gnu.org; Fri, 21 Nov 2014 02:34:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1XrijD-0003g1-To for submit <at> debbugs.gnu.org; Fri, 21 Nov 2014 02:34:13 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1XrijD-0003fx-R7 for submit <at> debbugs.gnu.org; Fri, 21 Nov 2014 02:34:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1Xrij6-0002Xh-AY for bug-parted@HIDDEN; Fri, 21 Nov 2014 02:34:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1Xriiy-0003dt-Pw for bug-parted@HIDDEN; Fri, 21 Nov 2014 02:33:56 -0500 Received: from rrzmta2.uni-regensburg.de ([194.94.155.52]:51361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1Xriiy-0003dU-Il for bug-parted@HIDDEN; Fri, 21 Nov 2014 02:33:48 -0500 Received: from rrzmta2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id D88D65D02F for <bug-parted@HIDDEN>; Fri, 21 Nov 2014 08:33:45 +0100 (CET) Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta2.uni-regensburg.de (Postfix) with ESMTP id C26A05C9B7 for <bug-parted@HIDDEN>; Fri, 21 Nov 2014 08:33:45 +0100 (CET) Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Fri, 21 Nov 2014 08:33:45 +0100 Message-Id: <546EF8E7020000A100017EFF@HIDDEN> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Fri, 21 Nov 2014 08:33:43 +0100 From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (-----) This is halfway a bug and halfway an enhancement: parted's "mkpart gpt" always creates a Partition Entry Array with 128 = entries. It may be due to misunderstanding the UEFI docs that state the size of the = partition entry should be a multiple of 128. At the moment the Partition Entry Table needs 16kB (128*128). That's no = much, especially when considering that most systems align data structures = to 1MB boundaries. An argument against it would be that at least 90% of all disks have less = than 5 partitions, and I guess 99% have less than 10 partitions on the = disk, so 128 seems to be an overkill. Even if unused, a program has to = read and check all these unused entries. (I created a GPT label on a 3MB test image) Part of the enhancement is: Supply an additional parameter to "mklabel = gpt" that allows to specify the size (number of entries) in the GPT = Partition Entry Table, or even provide a command to resize it.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Subject: bug#19135: Acknowledgement (mklabel gpt always creates 128 partition entries) Message-ID: <handler.19135.B.14165552561522.ack <at> debbugs.gnu.org> References: <546EF8E7020000A100017EFF@HIDDEN> X-Gnu-PR-Message: ack 19135 X-Gnu-PR-Package: parted Reply-To: 19135 <at> debbugs.gnu.org Date: Fri, 21 Nov 2014 07:35:03 +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 19135 <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 19135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19135 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#19135: mklabel gpt always creates 128 partition entries Resent-From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?L=C3=B8vdal?= <hlovdal@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 21 Nov 2014 16:07:02 +0000 Resent-Message-ID: <handler.19135.B19135.141658601326927 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 19135 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Ulrich Windl <Ulrich.Windl@HIDDEN> Cc: 19135 <at> debbugs.gnu.org Received: via spool by 19135-submit <at> debbugs.gnu.org id=B19135.141658601326927 (code B ref 19135); Fri, 21 Nov 2014 16:07:02 +0000 Received: (at 19135) by debbugs.gnu.org; 21 Nov 2014 16:06:53 +0000 Received: from localhost ([127.0.0.1]:41056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XrqjU-00070E-NL for submit <at> debbugs.gnu.org; Fri, 21 Nov 2014 11:06:52 -0500 Received: from mail-qa0-f53.google.com ([209.85.216.53]:54950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <hlovdal@HIDDEN>) id 1XrqjS-000707-SE for 19135 <at> debbugs.gnu.org; Fri, 21 Nov 2014 11:06:51 -0500 Received: by mail-qa0-f53.google.com with SMTP id bm13so3662478qab.12 for <19135 <at> debbugs.gnu.org>; Fri, 21 Nov 2014 08:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=roWt5/oPnWGBFz72jymK1ZUywreChjRPlnwSiLwqWHg=; b=kCcKK1whikecJ8m/TO8AF7ZiWjtthftB19l3dVCquTFDpjVtEYYFcC3WY7LL8vs0Di rvTyM9JMnas5lLW3gMCnfvRi0ZAS186czG3vlmU4GGnmc7nOfsPGkk/ZnCqHZHh6cGMS s/FLwIljrM34a6+vISubhBPECjUjeiRYUBqpZrDyNIzAaUmaH/dTdyr+IN8znkl74ahl l9fn8Nkzn/qDo8/nDGcEp1kF0DKJc1hzEZkpwR3vGzIN59mKfCweijuuFs7l3XDNBQBM 99yKNpaCQMfQSXoVjoTndyex57TNz3s4lsGsvTjLDqZmYOQPIDjClerDn9y8jtzVCFDN xbjw== MIME-Version: 1.0 X-Received: by 10.229.240.138 with SMTP id la10mr7532726qcb.13.1416586009713; Fri, 21 Nov 2014 08:06:49 -0800 (PST) Received: by 10.140.81.227 with HTTP; Fri, 21 Nov 2014 08:06:49 -0800 (PST) In-Reply-To: <546EF8E7020000A100017EFF@HIDDEN> References: <546EF8E7020000A100017EFF@HIDDEN> Date: Fri, 21 Nov 2014 17:06:49 +0100 Message-ID: <CAACXqO9c3hZp17puiq0B47oNSp06okpUqvJSDZ_rc8p7K247Qg@HIDDEN> From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?L=C3=B8vdal?= <hlovdal@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) On 21 November 2014 08:33, Ulrich Windl <Ulrich.Windl@HIDDEN> wrote: > parted's "mkpart gpt" always creates a Partition Entry Array with 128 ent= ries. Is this also observed with version 2.3 of parted? If so can you reproduce with the latest version, 3.2? BR H=C3=A5kon L=C3=B8vdal
X-Loop: help-debbugs@HIDDEN Subject: bug#19135: Antw: bug#19135: Acknowledgement (mklabel gpt always creates 128 partition entries) Resent-From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Mon, 24 Nov 2014 07:05:02 +0000 Resent-Message-ID: <handler.19135.B19135.141681269524338 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 19135 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: <19135 <at> debbugs.gnu.org> Received: via spool by 19135-submit <at> debbugs.gnu.org id=B19135.141681269524338 (code B ref 19135); Mon, 24 Nov 2014 07:05:02 +0000 Received: (at 19135) by debbugs.gnu.org; 24 Nov 2014 07:04:55 +0000 Received: from localhost ([127.0.0.1]:43170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Xsnhe-0006KR-NF for submit <at> debbugs.gnu.org; Mon, 24 Nov 2014 02:04:55 -0500 Received: from rrzmta2.uni-regensburg.de ([194.94.155.52]:52978) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <Ulrich.Windl@HIDDEN>) id 1Xsnhc-0006KD-P4 for 19135 <at> debbugs.gnu.org; Mon, 24 Nov 2014 02:04:53 -0500 Received: from rrzmta2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B28D651CC1 for <19135 <at> debbugs.gnu.org>; Mon, 24 Nov 2014 08:04:51 +0100 (CET) Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta2.uni-regensburg.de (Postfix) with ESMTP id 9E20A51C88 for <19135 <at> debbugs.gnu.org>; Mon, 24 Nov 2014 08:04:51 +0100 (CET) Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Mon, 24 Nov 2014 08:04:51 +0100 Message-Id: <5472E6A2020000A100017F56@HIDDEN> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Mon, 24 Nov 2014 08:04:50 +0100 From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> References: <546EF8E7020000A100017EFF@HIDDEN> <handler.19135.B.14165552561522.ack <at> debbugs.gnu.org> In-Reply-To: <handler.19135.B.14165552561522.ack <at> debbugs.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -2.3 (--) It turned out that UEFI spec 2.4 states the Partition Entry Array should = be at least 16kB (which is nonsense, because they should better define the = number of entries) which gives 128 Entries. However why have all those flexible data structures if the number of = Pertition Entries is fixed? I still believe 128 Pertition Entries is severe overkill.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.