An OS that wants to host real software eventually has to speak the I/O dialect that software expects. Over a run of VFS builds, sigilOS picked up four of the load-bearing ones — mmap, an event queue, poll/select, and dup/dup2 — and did it the Sigil way: fixed-size, capability-gated, and green before it shipped.
The four primitives
fs_mmapfs_eventfs_pollfs_dupThe four pillars, in the I/O layer
FAST
fs_mmap is zero-copy — mapped pages are the content-addressed store's own bytes, so there's no read-into-a-buffer round trip.
EFFICIENT
Every structure is fixed-size — 16-slot mmap/FD tables, a 32-event ring, an 8-entry poll set. Bounded memory, overflow-safe, sized for the Pi floor.
SECURE
Access is capability-gated and flag-checked: an mmap is read or write because the capability says so, and an FD is a typed, scoped handle — not an ambient integer into the kernel.
STABLE
Each landed green under the full ABCDEFGH battery — the VFS test count climbed 33 → 34 → 51 across the run with zero reds.
None of these are glamorous on their own. Together they're the difference between "a filesystem" and "an I/O system a real program can run on" — pipes you can wait on, files you can map, descriptors you can redirect. The plumbing that makes the rest possible.