]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/partition/repart.c
repart: Take into account minimal filesystem size
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 12 Oct 2022 21:59:37 +0000 (23:59 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 11 Nov 2022 13:33:19 +0000 (14:33 +0100)
commitc4a87b76c3e5f74f62d4431b85e7c5f71add3916
tree818c5fa7d66a55fe8ceedd03f1a96891faa15552
parentb262cbe8716d8c428d01aabd3de87f2052454746
repart: Take into account minimal filesystem size

Instead of requiring users to guess the required space for partitions
populated with CopyFiles=, let's make an educated guess ourselves. We
can populate the filesystem once in a very large sparse file and see
how much data is actually used as a good indicator of the required size.
man/repart.d.xml
src/partition/repart.c