Give every file a header (title, empty line, explanation), wrap comments at 80 columns and keep them to the why. Only comments change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
519 B
Plaintext
20 lines
519 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=zstd
|
|
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
|