Re: Strange partition layout from systemd-repart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 05.06.20 15:29, Lennart Poettering (lennart@xxxxxxxxxxxxxx) wrote:

> On Do, 04.06.20 16:58, Tobias Hunger (tobias.hunger@xxxxxxxxx) 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 free space that is available elsewhere.
>
> Hmm, I guess what it does currently does makes some sense
> actually. Maybe we should change the defaults for SizeMinBytes=
> however, and default to 10M or so for that, so that it doesn't happen
> accidentally, if people don't set a lower partition limit. Or maybe we
> should warn about really small partitions?
>
> > So this can be considered a user error. I'll fix the image generation.
> >
> > Maybe there is some way to improve the reporting done by
> > systemd-repart in such a case?
>
> What would you propose specifically? Warn when partitions of a size
> below some compiled-in threshold are generated? anything smarter?

https://github.com/systemd/systemd/pull/16191

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux