parted: add command to create partitions specifying the size
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20250522-parted-size-9dbf0ee60661Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | partitions: add function to find free space on partition tablecommon/ include/ | +44 | 0 replies | |
| 2/3 | parted: align partitions to 1MiBcommands/ include/ | +12 | 0 replies | |
| 3/3 | parted: implement mkpart_size commandcommands/ | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] parted: add command to create partitions specifying the size
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 <[email protected]>
---
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,
Signature · 1 line
Sascha Hauer <[email protected]>