GNU bug report logs - #59176
parted is missing syntax to create a partition right after all partitions

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: Thomas Schweikle <tschweikle@HIDDEN>; dated Thu, 10 Nov 2022 16:51:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 10 Nov 2022 16:50:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 10 11:50:54 2022
Received: from localhost ([127.0.0.1]:44169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1otAlR-0003vm-P8
	for submit <at> debbugs.gnu.org; Thu, 10 Nov 2022 11:50:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:47068)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tschweikle@HIDDEN>) id 1oswGo-0000Tz-M6
 for submit <at> debbugs.gnu.org; Wed, 09 Nov 2022 20:22:18 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tschweikle@HIDDEN>)
 id 1oswGn-00063i-V4
 for bug-parted@HIDDEN; Wed, 09 Nov 2022 20:22:18 -0500
Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tschweikle@HIDDEN>)
 id 1oswGm-0000lX-4W
 for bug-parted@HIDDEN; Wed, 09 Nov 2022 20:22:17 -0500
Received: by mail-vs1-xe32.google.com with SMTP id 128so347641vsz.12
 for <bug-parted@HIDDEN>; Wed, 09 Nov 2022 17:22:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=bcWnaNaSbFZ1EsnFZTBnHs/dMRunUX8/BA898ZOW/Iw=;
 b=juxVvg6J9KHIdMoaRC+NEknzexDMjLAWsPHGvrdozlDfe4xUI8mC6UcWNN8y9+Muqa
 X2vENgh32u4DyY8m5JzArChmBUKpSXmomIdFIjoJ2uCclw08KYhxFLsdNB3ml5cVU0Pd
 3024UnxOL/gRk7sGrbqY+BdbmAL9ggcQk1RmUfJU4C+bhmivpNNlkRlUHhsTLZwoJQiB
 mxWhjtrT/mEu62hFGomTbX023gdFTPfo+ghSPtwYdBEBEgtW10L7qTuqP+A423B+QjiS
 JMOhpsIb2FqyVhVhJhxVrB9K5lkyR6MrARJ6rL81ROi7yqeTLiryg57qDwyzyKFTe8pz
 R3Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=bcWnaNaSbFZ1EsnFZTBnHs/dMRunUX8/BA898ZOW/Iw=;
 b=QcRpzOMDFFD+VjU74V3K+BoiycaEU4evajQdNC+GpSqlxHh9M38JBY+0G+yA0KX+qw
 U6+tRBO09dcRilDKf7/zQoRdWRwKUrAdqbyVfERDvDuXdjl5eE+1BFnSqfIb/yE7wuNi
 uweXzxQmhzA+aOnnbQHzd7w464eQrbea4Nntw/Q+bnpjbxdtdd64OPScO6QHk4iht4vv
 NAJ0j+z3YDijjVu1yeLMWy0agqPGRuNTjbPT8IKPT2O3z5jNRTeIY1zHBezGyXABg285
 HpIjWjUEEBKZ9l2tcYuT2RnhLCmWc9YNUcGQj2kuxNczMKy1eGtanSN4G9RFMOrtYEfx
 dkMA==
X-Gm-Message-State: ACrzQf01yNkcoA11Qekl36YY0buc8YFjt9sCVgZeuD1djls2XK8tzeFb
 zhLinUvrDhyP4dpLqOMFKZf+CaY5wOst5E+jrbW6vwQC
X-Google-Smtp-Source: AMsMyM59muo/Mzt5+ZL6lqZjK8KXtYc9DbMZyl2MQmxNCSI9XMwR0h+AsLejUsgW2/+XEiA7MgC8Z174W4l79Clrq7w=
X-Received: by 2002:a05:6102:143:b0:3aa:1fec:d460 with SMTP id
 a3-20020a056102014300b003aa1fecd460mr35047219vsr.70.1668043325584; Wed, 09
 Nov 2022 17:22:05 -0800 (PST)
MIME-Version: 1.0
From: Thomas Schweikle <tschweikle@HIDDEN>
Date: Thu, 10 Nov 2022 02:21:54 +0100
Message-ID: <CA+rGx5dbFQAw3KnfZAu1q+CC3vjXBhe3_Cf7tUi=-jUT0eLtpw@HIDDEN>
Subject: parted is missing syntax to create a partition right after all
 partitions
To: bug-parted@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e32;
 envelope-from=tschweikle@HIDDEN; helo=mail-vs1-xe32.google.com
X-Spam_score_int: -6
X-Spam_score: -0.7
X-Spam_bar: /
X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 10 Nov 2022 11:50:46 -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: -2.3 (--)

It is difficult to create partitions after existing partitions using parted:

1. you will have to find the last partition on disk
2. you will have to find the last block used by the partition found
with he first step
3. you have to add 1 to this last block.
4. you can now give the command to create a new partition after this partition

it would be nice to have the ability to specify something like

mkpart <type> <fs> after 100%FREE

to automatically create a partition after the last partition taking up
100% of free space without having to look first for the last
partition, then the last block used, add one to construct the command
to create the new partition.

-- 
Thomas




Acknowledgement sent to Thomas Schweikle <tschweikle@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#59176; 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: Thu, 10 Nov 2022 17:00:03 UTC

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