Blob
1 .TH SRV 42 .SH NAME3 srv, 9fs \- start network file esrvice4 .SH SYNOPSIS5 .B srv6 [7 .B -a8 ]9 [10 .B -k11 .I keypattern12 ]13 .I address14 [15 .I srvname16 ]17 .PP18 .B 9fs19 .I system20 .SH DESCRIPTION21 .I Srv22 dials the given address and initializes the connection to serve the 9P protocol.23 It then posts the resulting connection in the current name space24 (see25 .IR intro (4))26 as27 .I srvname28 (default29 .IR address ).30 .PP31 The32 .B -a33 option causes34 .I srv35 to post a pre-authenticated connection to the file system36 .I aname37 (by default, the empty string;38 see39 .IR attach (9p)).40 .I Srv41 authenticates over the 9P connection to establish a valid auth fid.42 .IR Keypattern ,43 if specified, is used to select the key used for authentication.44 Client attach requests are rewritten to use the specified45 .I aname46 and auth fid.47 .PP48 The49 .I 9fs50 command executes the51 .I srv52 necessary to make available the files of53 .IR system .54 .PP55 .I 9fs56 recognizes some special names,57 such as58 .B sources59 to make the file server60 .I sources.cs.bell-labs.com61 available as service62 .IR sources .63 .I 9fs64 is an65 .IR rc (1)66 script; examine it to see what local conventions apply.67 .SH SOURCE68 .B \*9/src/cmd/srv.c69 .br70 .B \*9/bin/9fs71 .SH "SEE ALSO72 .IR dial (3),73 .IR intro (4),74 .IR netfiles (1)