Tobias Hunger
129635333d
repart: Add UUID option to config files
...
Add a option to provide a UUID for the partition that will get
created and document that.
2020-05-25 15:48:59 +02:00
Lennart Poettering
feb13fca97
repart: don't insist on coming up on partition label ourselves
...
If the user specified a label, use that.
Fixes : #15841
2020-05-19 15:04:01 +02:00
Lennart Poettering
a26f4a49f4
repart: add support for create/growing loopback files
...
This adds --empty=create and --size= for creating loopback files from
scratch of a specified size, or growing loopback files to the specified
size when they already exist.
This is useful when operating on disk image files, as a manual
invocation of fallocate(1) becomes unnecessary.
2020-05-14 23:59:23 +02:00
Lennart Poettering
9a1deb8578
repart: suppress complaints about lack of BLKRRPART when operating on regular file
2020-05-14 23:01:09 +02:00
Lennart Poettering
e2d65cd299
repart: explain when we exit early and don't do a thing
2020-05-14 23:00:52 +02:00
Benjamin Robin
f391597c67
tree-wide: Fix, replace assert() by assert_se() when there is side effect
2020-05-06 23:03:25 +02:00
Emmanuel Garette
db1442260a
repart: fix partition maximum size segfault
...
Discovered, tracked down and fix proposed by Emmanuel Garette.
See: https://lists.freedesktop.org/archives/systemd-devel/2020-April/044435.html
(Lennart turned this into a PR)
Fixes : #15608
2020-05-01 17:31:45 +02:00
Zbigniew Jędrzejewski-Szmek
162392b75a
tree-wide: spellcheck using codespell
...
Fixes #15436 .
2020-04-16 18:00:40 +02:00
Alin Popa
ad5555b42e
systemd: Fix busctl crash on aarch64 when setting output table format
...
The enum used for column names is integer type while table_set_display() is parsing
arguments on size_t alignment which may result in assert in table_set_display() if
the size between types missmatch. This patch cast the enums to size_t.
It also fixes all other occurences for table_set_display() and
table_set_sort().
2020-02-16 02:09:26 +09:00
Yu Watanabe
03b76a1977
repart: do not quit earlier when --empty=force
...
Follow-up for 0ae5ffe063
.
2020-02-07 13:48:16 +01:00
Yu Watanabe
0ae5ffe063
repart: quit earlier if no .conf file exists
...
Fixes #14804 .
2020-02-06 22:50:39 +01:00
Zbigniew Jędrzejewski-Szmek
19ce38ce62
shared/gpt: export gpt_partition_type_uuid_{to,from}_string functions
2020-01-23 22:56:23 +01:00
Lennart Poettering
e594a3b154
repart: add new systemd-repart tool
...
Fixes : #14052
2020-01-20 17:42:03 +01:00