Files
agentos/mkosi.repart/10-root.conf
T
Job79andClaude Opus 5.5 86f64a6304 perf: xfs for /var, lz4hc for the root erofs
xfs replaces ext4 on /var (no fsck pass, so fstab passno 0), and the
root erofs uses lz4hc, which decompresses faster than zstd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:15:34 +01:00

20 lines
520 B
Plaintext

# Root filesystem, slot A
#
# /etc and /usr as read-only erofs, protected by dm-verity (roothash= in the
# UKI). Updates replace it whole. /var holds the state, on its own partition
# (30-var.conf).
[Partition]
Type=root
Label=%M_%A
Format=erofs
Compression=lz4hc
CopyFiles=/
ExcludeFilesTarget=/var/
Verity=data
VerityMatchKey=root
SizeMinBytes=1G
SizeMaxBytes=1G
# roothash= finds the root by its partition UUID, so the file name holds it
# and updates keep it (@u in mkosi.extra/usr/lib/sysupdate.d).
SplitName=%t.%U