aboutsummaryrefslogtreecommitdiff
path: root/man/man4
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-21 17:24:21 +0000
committerrsc <devnull@localhost>2005-03-21 17:24:21 +0000
commit5c84c448b82c7bfdfeaae533783aa09317656e86 (patch)
tree4b1be341d63d6924128babdcf1581e378b8ef1a7 /man/man4
parentb8c9f31785f3243a52432023d4d555d490963769 (diff)
downloadplan9port-5c84c448b82c7bfdfeaae533783aa09317656e86.tar.gz
plan9port-5c84c448b82c7bfdfeaae533783aa09317656e86.tar.bz2
plan9port-5c84c448b82c7bfdfeaae533783aa09317656e86.zip
add srv -a option
Diffstat (limited to 'man/man4')
-rw-r--r--man/man4/9pserve.438
-rw-r--r--man/man4/srv.424
2 files changed, 61 insertions, 1 deletions
diff --git a/man/man4/9pserve.4 b/man/man4/9pserve.4
index 510c16e8..38f122f8 100644
--- a/man/man4/9pserve.4
+++ b/man/man4/9pserve.4
@@ -4,7 +4,16 @@
.SH SYNOPSIS
.B 9pserve
[
-.B -v
+.B -lv
+]
+[
+.B -A
+.I aname
+.I afid
+]
+[
+.B -M
+.I msize
]
.I addr
.SH DESCRIPTION
@@ -39,6 +48,33 @@ and clunks any outstanding fids belonging to the client.
is typically not invoked directly; use
.IR post9pservice (3)
instead.
+.PP
+The options are:
+.TP
+.B -l
+logging; write a debugging log to
+.IB addr .log \fR.
+.TP
+.B -v
+verbose; more verbose when repeated
+.TP
+.B -A
+rewrite all attach messages to use
+.I aname
+and
+.IR afid ;
+used to implement
+.IR srv (4)'s
+.B -a
+option
+.TP
+.B -M
+do not initialize the connection with a
+.B Tversion
+message;
+instead assume 9P2000 and a maximum message size of
+.IR msize
+.PD
.SH "SEE ALSO
.IR intro (4),
.IR intro (9p)
diff --git a/man/man4/srv.4 b/man/man4/srv.4
index 2017ce40..a74f43f1 100644
--- a/man/man4/srv.4
+++ b/man/man4/srv.4
@@ -3,6 +3,13 @@
srv, 9fs \- start network file esrvice
.SH SYNOPSIS
.B srv
+[
+.B -a
+]
+[
+.B -k
+.I keypattern
+]
.I address
[
.I srvname
@@ -22,6 +29,23 @@ as
.IR address ).
.PP
The
+.B -a
+option causes
+.I srv
+to post a pre-authenticated connection to the file system
+.I aname
+(by default, the empty string;
+see
+.IR attach (9p)).
+.I Srv
+authenticates over the 9P connection to establish a valid auth fid.
+.IR Keypattern ,
+if specified, is used to select the key used for authentication.
+Client attach requests are rewritten to use the specified
+.I aname
+and auth fid.
+.PP
+The
.I 9fs
command executes the
.I srv