3 e0e1e1ee 2006-06-30 devnull srv, 9fs \- start network file service
4 bc18537a 2005-03-18 devnull .SH SYNOPSIS
11 5c84c448 2005-03-21 devnull .I keypattern
13 bc18537a 2005-03-18 devnull .I address
15 bc18537a 2005-03-18 devnull .I srvname
19 bc18537a 2005-03-18 devnull .I system
20 bc18537a 2005-03-18 devnull .SH DESCRIPTION
22 bc18537a 2005-03-18 devnull dials the given address and initializes the connection to serve the 9P protocol.
23 bc18537a 2005-03-18 devnull It then posts the resulting connection in the current name space
25 bc18537a 2005-03-18 devnull .IR intro (4))
27 bc18537a 2005-03-18 devnull .I srvname
29 bc18537a 2005-03-18 devnull .IR address ).
33 5c84c448 2005-03-21 devnull option causes
35 5c84c448 2005-03-21 devnull to post a pre-authenticated connection to the file system
37 5c84c448 2005-03-21 devnull (by default, the empty string;
39 5c84c448 2005-03-21 devnull .IR attach (9p)).
43 151b86a0 2007-10-12 rsc option causes
45 151b86a0 2007-10-12 rsc to reject authentication attempts by clients,
46 151b86a0 2007-10-12 rsc useful if the remote server is known not to require authentication.
49 5c84c448 2005-03-21 devnull authenticates over the 9P connection to establish a valid auth fid.
50 5c84c448 2005-03-21 devnull .IR Keypattern ,
51 5c84c448 2005-03-21 devnull if specified, is used to select the key used for authentication.
52 5c84c448 2005-03-21 devnull Client attach requests are rewritten to use the specified
54 5c84c448 2005-03-21 devnull and auth fid.
58 bc18537a 2005-03-18 devnull command executes the
60 bc18537a 2005-03-18 devnull necessary to make available the files of
61 bc18537a 2005-03-18 devnull .IR system .
64 bc18537a 2005-03-18 devnull recognizes some special names,
66 bc18537a 2005-03-18 devnull .B sources
67 bc18537a 2005-03-18 devnull to make the file server
68 bc18537a 2005-03-18 devnull .I sources.cs.bell-labs.com
69 bc18537a 2005-03-18 devnull available as service
70 bc18537a 2005-03-18 devnull .IR sources .
73 bc18537a 2005-03-18 devnull .IR rc (1)
74 bc18537a 2005-03-18 devnull script; examine it to see what local conventions apply.
75 d62a9f32 2006-04-04 devnull .SH EXAMPLES
76 d62a9f32 2006-04-04 devnull List the root directory on
77 d62a9f32 2006-04-04 devnull .IR sources :
80 d62a9f32 2006-04-04 devnull 9fs sources
81 d62a9f32 2006-04-04 devnull 9p ls sources
84 d62a9f32 2006-04-04 devnull Mount a remote file server
85 d62a9f32 2006-04-04 devnull .I bootes
86 d62a9f32 2006-04-04 devnull on Linux using the kernel 9P mount driver,
89 d62a9f32 2006-04-04 devnull handling authentication:
92 d62a9f32 2006-04-04 devnull srv -a sources.cs.bell-labs.com sources
93 d62a9f32 2006-04-04 devnull sudo mount -t 9P -o user=$USER,uid=`id -u`,gid=`id -g`,proto=unix
94 d62a9f32 2006-04-04 devnull `namespace`/sources /n/sources
96 bc18537a 2005-03-18 devnull .SH SOURCE
97 bc18537a 2005-03-18 devnull .B \*9/src/cmd/srv.c
99 bc18537a 2005-03-18 devnull .B \*9/bin/9fs
100 bc18537a 2005-03-18 devnull .SH "SEE ALSO
101 bc18537a 2005-03-18 devnull .IR dial (3),
102 bc18537a 2005-03-18 devnull .IR intro (4),
103 bc18537a 2005-03-18 devnull .IR netfiles (1)