Re: [systemd-devel] Strange partition layout from systemd-repart

2020-06-23 Thread Tobias Hunger
I took the liberty to implement support for a setup script to systemd-repart here: https://github.com/systemd/systemd/pull/16258 The patch is incomplete: It is missing documentation, tests and is basically just a sketch of the implementation, but I would appreciate some feedback anyway before I in

Re: [systemd-devel] Strange partition layout from systemd-repart

2020-06-16 Thread Lennart Poettering
On Fr, 05.06.20 15:29, Lennart Poettering (lenn...@poettering.net) wrote: > On Do, 04.06.20 16:58, Tobias Hunger (tobias.hun...@gmail.com) wrote: > > > Poking around a bit more: I have 4096 unused sectors before the first > > partiton instead of just 2048. Systemd-repart then tries to put all my >

Re: [systemd-devel] Strange partition layout from systemd-repart

2020-06-05 Thread Lennart Poettering
On Do, 04.06.20 16:58, Tobias Hunger (tobias.hun...@gmail.com) wrote: > Poking around a bit more: I have 4096 unused sectors before the first > partiton instead of just 2048. Systemd-repart then tries to put all my > new partitions into the sectors 2048-4095 and completely ignores the > GBs of fre

Re: [systemd-devel] Strange partition layout from systemd-repart

2020-06-04 Thread Tobias Hunger
Poking around a bit more: I have 4096 unused sectors before the first partiton instead of just 2048. Systemd-repart then tries to put all my new partitions into the sectors 2048-4095 and completely ignores the GBs of free space that is available elsewhere. So this can be considered a user error. I

[systemd-devel] Strange partition layout from systemd-repart

2020-06-04 Thread Tobias Hunger
Hello! I have a 32GB USB stick and used dd to put a ~2.5GB image onto it. The image contains three partitions (ESP, root, root-verity). I would like to make the remaining space on the USB stick available to users. So I created a set of files for systemd-repart: 00_esp.conf: [Partition] Type=esp