diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-06-21 13:21:38 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-06-21 13:21:38 +0000 |
commit | fa0c807bfb50ba01c9e602de555f64e4c84e3fb1 (patch) | |
tree | a13e677057bc0dab3c66c0fda8cc9de22c083084 /sys/man/3 | |
parent | 7ca997bf7efdca16416b22488ebc7b70c419fd44 (diff) |
kernel: add /srv/clone to get seperate /srv bulletin boards.
Diffstat (limited to 'sys/man/3')
-rw-r--r-- | sys/man/3/srv | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/man/3/srv b/sys/man/3/srv index 820c849db..b68f00887 100644 --- a/sys/man/3/srv +++ b/sys/man/3/srv @@ -5,6 +5,8 @@ srv \- server registry .nf .B bind #s /srv +.BI #s/ clone +.BI #s/ n .BI #s/ service1 .BI #s/ service2 ... @@ -12,7 +14,7 @@ srv \- server registry .SH DESCRIPTION The .I srv -device provides a one-level directory holding +device provides a tree of directories holding already-open channels to services. In effect, .I srv @@ -40,6 +42,18 @@ releases that reference. .PP It is an error to write more than one number into a server file, or to create a file with a name that is already being used. +.PP +Opening the +.I clone +file allocates a new service directory. Reading +.I clone +returns the id of the new directory. This new service +directory can then be accessed at +.BR /srv/id . +Directories are recursable; each new service directory +contains its own +.I clone +file. .SH EXAMPLE To drop one end of a pipe into .BR /srv , |