Skip to content

Filesystem views

A cell sees a filesystem built for it from one verified resolved runtime closure: every admitted artifact mounted read-only, and one kernel-owned private tmpfs for writing. Cross-plane contracts identify logical artifacts and roles. The launcher alone derives their local placement and applies it from content already verified and admitted, so what the provider can read is exactly what was approved. This page covers what the view contains, how an immutable mount is applied, and the writable area.

What a cell sees

flowchart LR
  subgraph STORE["NODE CONTENT STORE"]
    direction TB
    F[("Runtime Foundation")]
    C[("Execution capsule")]
    P[("Provider artifact")]
    D[("Selected dependency components")]
  end
  subgraph VIEW["CELL FILESYSTEM VIEW"]
    direction TB
    RO["Closure mounts<br/>read-only, nosuid, nodev"]
    TMP[("Private tmpfs<br/>size-bounded, nosuid, nodev, noexec")]
  end
  F --> RO
  C --> RO
  P --> RO
  D --> RO

A process cell starts only from a verified resolved runtime closure. The host maps the admitted artifact roles into the cell's private filesystem, applies every exact immutable mount and creates the release-bounded private tmpfs. The closure does not choose those paths or Linux mount flags. A verified capsule alone carries no startup authority. See Resolved runtime closure.

Applying an immutable mount

Content digests and closure identity are established before the launcher runs. For each immutable mount, the launcher:

  1. retains the exact opened source identity and refuses unsupported file types;
  2. reopens its kernel-owned materialisation locator with no-symlink and no-magic-link resolution, requiring exact device, inode and type equality;
  3. clones the exact descriptor-backed mount with open_tree and attaches it with move_mount inside the private namespace;
  4. remounts the attached tree read-only with nosuid and nodev, then reads back the effective restrictions.

Mount targets and private-write paths reject symlink prefixes. Because the mount is made from the held descriptor, the content mounted is the content that was verified, and a path replaced after verification has no effect on the cell.

The launcher applies a kernel-local view derived from admitted logical roles. Resolving package names, selecting artifacts and interpreting project policy all happen earlier, at closure resolution and admission. Neither the control plane nor the data plane chooses a physical cell destination. See Closure admission, evidence, and upgrade.

The writable area

The private tmpfs is the cell's only writable state. Its size and mount policy belong to the kernel release profile. It is mounted nosuid, nodev and noexec, so written content is data and is never executed from there. Immutable closure content is never modified in place.

Provider-local writable state belongs to the cell epoch. It is created with the cell and discarded with it, and each cell has its own.