3 bc18537a 2005-03-18 devnull srv, 9fs \- start network file esrvice
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)).
41 5c84c448 2005-03-21 devnull authenticates over the 9P connection to establish a valid auth fid.
42 5c84c448 2005-03-21 devnull .IR Keypattern ,
43 5c84c448 2005-03-21 devnull if specified, is used to select the key used for authentication.
44 5c84c448 2005-03-21 devnull Client attach requests are rewritten to use the specified
46 5c84c448 2005-03-21 devnull and auth fid.
50 bc18537a 2005-03-18 devnull command executes the
52 bc18537a 2005-03-18 devnull necessary to make available the files of
53 bc18537a 2005-03-18 devnull .IR system .
56 bc18537a 2005-03-18 devnull recognizes some special names,
58 bc18537a 2005-03-18 devnull .B sources
59 bc18537a 2005-03-18 devnull to make the file server
60 bc18537a 2005-03-18 devnull .I sources.cs.bell-labs.com
61 bc18537a 2005-03-18 devnull available as service
62 bc18537a 2005-03-18 devnull .IR sources .
65 bc18537a 2005-03-18 devnull .IR rc (1)
66 bc18537a 2005-03-18 devnull script; examine it to see what local conventions apply.
67 d62a9f32 2006-04-04 devnull .SH EXAMPLES
68 d62a9f32 2006-04-04 devnull List the root directory on
69 d62a9f32 2006-04-04 devnull .IR sources :
72 d62a9f32 2006-04-04 devnull 9fs sources
73 d62a9f32 2006-04-04 devnull 9p ls sources
76 d62a9f32 2006-04-04 devnull Mount a remote file server
77 d62a9f32 2006-04-04 devnull .I bootes
78 d62a9f32 2006-04-04 devnull on Linux using the kernel 9P mount driver,
81 d62a9f32 2006-04-04 devnull handling authentication:
84 d62a9f32 2006-04-04 devnull srv -a sources.cs.bell-labs.com sources
85 d62a9f32 2006-04-04 devnull sudo mount -t 9P -o user=$USER,uid=`id -u`,gid=`id -g`,proto=unix
86 d62a9f32 2006-04-04 devnull `namespace`/sources /n/sources
88 bc18537a 2005-03-18 devnull .SH SOURCE
89 bc18537a 2005-03-18 devnull .B \*9/src/cmd/srv.c
91 bc18537a 2005-03-18 devnull .B \*9/bin/9fs
92 bc18537a 2005-03-18 devnull .SH "SEE ALSO
93 bc18537a 2005-03-18 devnull .IR dial (3),
94 bc18537a 2005-03-18 devnull .IR intro (4),
95 bc18537a 2005-03-18 devnull .IR netfiles (1)