style: apply STYLE.md to all files

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>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-16 20:14:06 +01:00
1 parent efb282bf7d
commit a1fc65ed21
32 files changed
+191 -113

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
# EFI system partition: systemd-boot and the UKIs (two versions at most).
# EFI system partition
#
# Holds systemd-boot and the UKIs, two versions at most.
[Partition]
Type=esp
Format=vfat
+7 -3
View File
@@ -1,5 +1,8 @@
# The root filesystem, slot A: /etc and /usr, read-only erofs protected by dm-verity (roothash= in
# the UKI). Updates replace it whole. /var, the state, is its own partition (30-var.conf).
# 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
@@ -11,5 +14,6 @@ Verity=data
VerityMatchKey=root
SizeMinBytes=1G
SizeMaxBytes=1G
# The file name holds the partition UUID, which roothash= finds the root by; updates keep it (@u in sysupdate.d).
# 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
+3 -1
View File
@@ -1,4 +1,6 @@
# dm-verity hashes of the root filesystem, slot A.
# Root verity, slot A
#
# The dm-verity hashes of the root filesystem in 10-root.conf.
[Partition]
Type=root-verity
Label=%M_%A_verity
+3 -1
View File
@@ -1,4 +1,6 @@
# The root filesystem, slot B: empty until systemd-sysupdate writes the next version.
# Root filesystem, slot B
#
# Empty until systemd-sysupdate writes the next version to it.
[Partition]
Type=root
Label=_empty
+3 -1
View File
@@ -1,4 +1,6 @@
# dm-verity hashes of the root filesystem, slot B.
# Root verity, slot B
#
# The dm-verity hashes for 20-root-b.conf, empty until the next update.
[Partition]
Type=root-verity
Label=_empty
+6 -3
View File
@@ -1,6 +1,9 @@
# /var: Claude's home and the state that reboots and updates keep (/var/lib/agent: the setup answers
# and Claude's login, the root password). Mounted by /etc/fstab, which also grows it to fill the
# disk at boot. Claude's home, with its containers, is wiped at every boot (tmpfiles.d/agent.conf).
# State partition
#
# /var: everything reboots and updates keep, such as the setup answers, the
# root password and Claude's login (/var/lib/agent). /etc/fstab mounts it and
# grows it to fill the disk at boot. Claude's home is on it too, but is wiped
# at every boot (mkosi.extra/usr/lib/tmpfiles.d/agent.conf).
[Partition]
Type=var
Label=var