summaryrefslogtreecommitdiff
path: root/9ns/README.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 10:39:51 -0300
committerGabriel Schneider <[email protected]>2026-10-01 10:39:51 -0300
commit34834165e2b54dd6ac26babd1e9d0443f1f53ee4 (patch)
tree5dfa88e756e403f58f26ffb4d6f21b50972a9fbb /9ns/README.md
parentc4c75b7e4ecc9c664d1f778e5e7c5305dff65b12 (diff)
downloadcloud9-34834165e2b54dd6ac26babd1e9d0443f1f53ee4.tar.gz
cloud9-34834165e2b54dd6ac26babd1e9d0443f1f53ee4.zip
9ns: under --mntgen the program also gets NINE_MNTGEN=1, so it can tell the registry from a mounted session
$NINE_MOUNT was the mountpoint either way: under --mntgen the registry, each session at $NINE_MOUNT/<service>/<name>; under --unix the session itself. A program working out its own session's directory (pardes's $PARDES_MOUNT for its panes) could not tell which without statting the mount. NINE_MNTGEN=1 now says so; an inherited one is dropped, so a 9ns nested in a registry's program is not taken for one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to '9ns/README.md')
-rw-r--r--9ns/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/9ns/README.md b/9ns/README.md
index 7d6babe..236e0c4 100644
--- a/9ns/README.md
+++ b/9ns/README.md
@@ -122,7 +122,10 @@ be a single path component (not empty, no `/`, not `.` or `..`); an invalid
`--name` is a usage error, an unusable derived name falls back to `9p`. With
`--mount PATH` the name is simply PATH's last component. The program gets
`NINE_MOUNT=<mountpoint>` (replacing any inherited value, so a nested 9ns
-overwrites it).
+overwrites it). Under `--mntgen` it also gets `NINE_MNTGEN=1`: the
+mountpoint is the registry, each session at `$NINE_MOUNT/<service>/<name>`
+(pardes's at `$NINE_MOUNT/pardes/<name>`); without it the mountpoint is the
+one session itself. An inherited `NINE_MNTGEN` is always dropped.
## 9proc-demo: a demo 9P server