The storage layer gains its policy home (storage-architecture.md): a new system/services/volume-manager, spawned by init, that acquires the mass- storage block channel through the device manager (the same lineage a filesystem uses), reads block 0, and parses the first volume out of it. The partition-table walk that lived in the FAT engine moves here, above the driver where it belongs (partition.zig, host-tested: MBR entry, bare-FAT, no-signature). Identity is the MBR disk signature + partition index — the weak rung of the ladder; GPT GUID and FAT serial refine identityOf without changing shape. This increment is discovery + probe + log only, additive: the FAT service still acquires its own volume, so nothing changes for it. Confining each filesystem to its partition and spawning one per volume (the flip) lands next, keeping fat working throughout. Grants + wiring: init.csv spawns it after the device manager; protocol.csv grants bind volume-manager + open device-manager. Verified: volume-probe asserts the parse (bare-FAT volume at lba 0), neutral 10/10 across storage, restart, display, logging, confinement — the volume manager now runs in every boot and disturbs nothing.
1.0 KiB
1.0 KiB
| 1 | # /system/configuration/init.csv — the services init (PID 1) starts at boot, in order. |
|---|---|
| 2 | # |
| 3 | # init reads this at startup and spawns each service supervised (restarting it on |
| 4 | # a crash, up to a cap). Startup order is top->bottom; shutdown is the reverse, so |
| 5 | # the logger (last) goes down first and its final drain still has the fat server |
| 6 | # and the whole storage chain alive underneath it. It is AUTHORITATIVE — there is |
| 7 | # no hardcoded fallback list; a missing file means no services are started. |
| 8 | # |
| 9 | # '#' starts a comment (whole-line or trailing); blank lines are ignored. The |
| 10 | # first field is the service binary path; any fields after it are the service's |
| 11 | # argv. Drivers are absent on purpose — the device manager discovers hardware and |
| 12 | # spawns those (see /system/configuration/devices.csv). |
| 13 | # |
| 14 | # service args... |
| 15 | /system/services/input |
| 16 | /system/services/device-manager |
| 17 | /system/services/volume-manager |
| 18 | /system/services/fat |
| 19 | /system/services/display |
| 20 | /system/services/display-demo |
| 21 | /system/services/logger |