roadmap NOT-STARTED

146. NFS: serve and connect to network file systems

Minted 2026-08-21 by calef, as the other network file protocol milestone 54's options table left explicitly possible and neither milestone 54 nor 55 would build. NFS is the general-purpose network file system: a Mac can mount it, Linux and every BSD already does, and a NAS on the same local area network serves it natively.

The adapter pattern is proven (milestone 54), fs_proto is stable, the network stack runs, and the protocol is a published spec rather than a design fork. Nothing structural stops a lane starting on either half; whether the first half is the server or the client is a sequencing decision, not a dependency.

In brief. Two halves sharing one protocol library:

Both halves share one crates/nfs_proto carrying the ONC RPC / XDR layer, the portmapper (PMAP) or rpcbind protocol, and the MOUNT and NFS procedure numbers and structures. The SMB adapter proved that the protocol crate is the place for the host-testable wire logic. nfs_proto is the same shape, and the rule that the seam never holds key material (§54) is even simpler here because NFSv3 has no session key.

Why NFS exists alongside SMB

Milestone 54 chose SMB because it was required for Time Machine, and it was right to. SMB serves the macOS/backup path; NFS serves everything else:

The shared adapter pattern is what makes each new protocol cheap: the serve loop, the shared-page plumbing, the fs_proto decode, and the supervision entry are per-binary plumbing that decision 93's rule already priced. Each new adapter adds the wire format only.

What each phase owns, and what stops being nife's problem

Phase A: the NFS server adapter

Phase B: the NFS client

What both phases share

What is honestly not decided

BUGS

Index row

The other network file protocol milestone 54 left as an optional later adapter. A Mac's mount_nfs or Linux mount -t nfs against this board's IP reads and writes share contents through the same fs_proto seam the SMB adapter uses; and nife mounts a NAS over NFS. Two halves sharing one ONC RPC / XDR protocol crate (nfs_proto), the adapter pattern proven by milestone 54, and decision 93's rule: ours on the inside, theirs at the edge.