|
NAMEsrv, 9fs - start network file serviceSYNOPSISsrv [ -an ] [ -k keypattern ] address [ srvname ]9fs system DESCRIPTIONSrv dials the given address and initializes the connection to serve the 9P protocol. It then posts the resulting connection in the current name space (see as srvname (default address).The -a option causes srv to post a pre-authenticated connection to the file system aname (by default, the empty string; see attach(9p)). The -n option causes srv to reject authentication attempts by clients, useful if the remote server is known not to require authentication. Srv authenticates over the 9P connection to establish a valid auth fid. Keypattern, if specified, is used to select the key used for authentication. Client attach requests are rewritten to use the specified aname and auth fid. The 9fs command executes the srv necessary to make available the files of system. 9fs recognizes some special names, such as sources to make the file server sources.cs.bell-labs.com available as service sources. 9fs is an script; examine it to see what local conventions apply. EXAMPLESList the root directory on sources:
Mount a remote file server bootes on Linux using the kernel 9P mount driver, with srv handling authentication:
SOURCE/src/cmd/srv.c/bin/9fs SEE ALSO Visit the GSP FreeBSD Man Page Interface. |