|
NAME
| |
9pserve – announce and multiplex 9P service
|
SYNOPSIS
DESCRIPTION
| |
On Plan 9, when a user-level file server mounts itself into a
name space or posts itself in /srv, the Plan 9 kernel multiplexes
the potentially many processes accessing the server into a single
9P conversation. The user-level server need not concern itself
with how many processes are accessing it or with cleaning up
after a process when it exits unexpectedly. On Unix, 9pserve takes
the place of the Plan 9 kernel, multiplexing clients onto a single
server conversation and cleaning up after clients when they hang
up unexpectedly.
9pserve announces a 9P service on addr and multiplexes any 9P
clients connecting to addr into a single conversation with a 9P
server on 9pserve’s standard input and output. When a client hangs
up, 9pserve flushes any outstanding 9P transactions and clunks
any outstanding fids belonging to the client.
9pserve is typically not invoked directly; use post9pservice(3)
instead.
|
SEE ALSO
SOURCE
| |
/usr/local/plan9/src/cmd/9pserve.c
|
|
|