From unknown Sun Jun 22 07:51:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59176: parted is missing syntax to create a partition right after all partitions Resent-From: Thomas Schweikle Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Thu, 10 Nov 2022 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59176 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 59176@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166809905415125 (code B ref -1); Thu, 10 Nov 2022 16:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2022 16:50:54 +0000 Received: from localhost ([127.0.0.1]:44169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otAlR-0003vm-P8 for submit@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 ) id 1oswGo-0000Tz-M6 for submit@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 ) id 1oswGn-00063i-V4 for bug-parted@gnu.org; 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 ) id 1oswGm-0000lX-4W for bug-parted@gnu.org; Wed, 09 Nov 2022 20:22:17 -0500 Received: by mail-vs1-xe32.google.com with SMTP id 128so347641vsz.12 for ; 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 Date: Thu, 10 Nov 2022 02:21:54 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=tschweikle@gmail.com; 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-Mailman-Approved-At: Thu, 10 Nov 2022 11:50:46 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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