]> git.ipfire.org Git - thirdparty/systemd.git/commit - docs/PORTABLE_SERVICES.md
repart: support erofs
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Dec 2022 15:08:54 +0000 (16:08 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 10 Dec 2022 10:26:36 +0000 (11:26 +0100)
commit09e917ea4dd6f00aa3cb225072f6991a637227e1
tree0f208e93dcec1484b3e9ec86931a59e31e863f4e
parent5e5fce3e918ebba5d0cbf0b64bb97f0eaeae70a3
repart: support erofs

So, i think "erofs" is probably the better, more modern alternative to
"squashfs". Many of the benefits don't matter too much to us I guess,
but there's one thing that stands out: erofs has a UUID in the
superblock, squashfs has not. Having an UUID in the superblock matters
if the file systems are used in an overlayfs stack, as overlayfs uses
the UUIDs to robustly and persistently reference inodes on layers in
case of metadata copy-up.

Since we probably want to allow such uses in overlayfs as emplyoed by
sysext (and the future syscfg) we probably should ramp up our erofs game
early on. Hence let's natively support erofs, test it, and in fact
mention it in the docs before squashfs even.
docs/PORTABLE_SERVICES.md
man/repart.d.xml
man/systemd-sysext.xml
src/shared/mkfs-util.c
test/TEST-58-REPART/test.sh
test/units/testsuite-58.sh