summaryrefslogtreecommitdiff
path: root/docs/cloud9.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cloud9.md')
-rw-r--r--docs/cloud9.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/cloud9.md b/docs/cloud9.md
index e18130ef..d31d2cb3 100644
--- a/docs/cloud9.md
+++ b/docs/cloud9.md
@@ -7,14 +7,18 @@ other dependency; no sibling checkout is required. Re-pin with
`zig fetch --save=cloud9 git+https://git.sr.ht/~gbrls/cloud9#<commit>`, and swap in
`.cloud9 = .{ .path = "../cloud9" }` while editing both packages at once.
-`src/9p.zig` remains the adapter between cloud9 requests and Pardes filesystem
-operations. Mounting, Unix namespace discovery and permissions, the editor event
-loop, connection limits, and exported tree policy remain here. `src/9p_quic.zig`
+The file-server engine (fids, jobs, parking, flush, hangup) is cloud9's
+`fs.Server`; the control tree in `src/ninep/` is its backend, using cloud9's
+`fs.Req`, `fs.Op`, `fs.Status`, `fs.E` and `fs.ReplyWith` (extended with the
+editor's reply payload locator). `src/9p.zig` names the editor's and the
+board's `fs.Options` and re-exports the wire names the transports use.
+Mounting, Unix namespace discovery and permissions, the editor event loop,
+connection limits, and exported tree policy remain here. `src/9p_quic.zig`
selects the existing `pardes-9p` ALPN for cloud9's optional OpenSSL transport.
-The snapshot client and standalone protocol/GPIO tests import the same module.
-The separate `05-zig-p4` build also supplies cloud9 for the GPIO firmware entry.
+The standalone protocol/GPIO tests import the same module. The separate
+`05-zig-p4` build also supplies cloud9 for the GPIO firmware entry.
-Run `zig build 9p-test` for the filesystem adapter and
+Run `zig build 9p-test` for the engine configurations and
`zig build 9p-io-test -Dquic=true` for native transport/client integration. Run cloud9's `zig build test`,
`transport-test`, `quic-test -Dquic=true`, `fuzz`, and `differential` steps for the
shared implementation. See cloud9's `docs/validation.md` for recorded runs and