From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/3] parted: add command to create partitions specifying the size
Date: Thu, 22 May 2025 15:40:21 +0200 [thread overview]
Message-ID: <20250522-parted-size-v1-0-369d146aa100@pengutronix.de> (raw)
So far to create partitions we have to specify both start and end of a
partition. Create a mkpart_size command to conveniently create a
partition by specifying only the size.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (3):
partitions: add function to find free space on partition table
parted: align partitions to 1MiB
parted: implement mkpart_size command
commands/parted.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++--
common/partitions.c | 42 +++++++++++++++++++++++++++++++++
include/partitions.h | 7 +++++-
3 files changed, 111 insertions(+), 3 deletions(-)
---
base-commit: dbc28aa3aad573f6ed0199c4fb85295b95e3bd11
change-id: 20250522-parted-size-9dbf0ee60661
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next reply other threads:[~2025-05-22 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 13:40 Sascha Hauer [this message]
2025-05-22 13:40 ` [PATCH 1/3] partitions: add function to find free space on partition table Sascha Hauer
2025-05-22 13:40 ` [PATCH 2/3] parted: align partitions to 1MiB Sascha Hauer
2025-05-22 13:40 ` [PATCH 3/3] parted: implement mkpart_size command Sascha Hauer
2025-05-26 13:48 ` [PATCH 0/3] parted: add command to create partitions specifying the size Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250522-parted-size-v1-0-369d146aa100@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox