add srv -a option

This commit is contained in:
rsc 2005-03-21 17:24:21 +00:00
parent b8c9f31785
commit 5c84c448b8
4 changed files with 470 additions and 24 deletions

View file

@ -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