Charles.Forsyth20060303-partialeea662d19 years agoHistory
69 lines · 1.3 KB · Text
RawDownload
.TH EXPORT 4.SH NAMEexport \- export name space on a connection.SH SYNOPSIS.B export[.B \-a] [.B \-n].I dir[.I file].SH DESCRIPTION.I Exportcalls.B Sys->export(see.IR sys-dial (2))to serve a name space rooted at.I dirover a connection to a Styx client..I Exportopens the connection on the given.IR file ,or uses the standard input by default.It returns when the client closes the connection.If the.B \-aoption is given, however,.I exportstarts an Inferno kernel processto serve the name space and returns immediately..PPNormally,.I exportforks the current name space, and makes.I dirthe root of its copy.Changes subsequently made to the current name space willnot be visible to clients of.IR export .If the.B \-noption is given, however, and.I diris the root.RB (` / '),.I exportserves the current name space without forking it; changes made to itwill be visible to clients..PP.I Exportstarts serving Styx immediately; it assumes that the connectionhas been authenticated if required..SH EXAMPLEStart a background process to serve the name space on the serial port..IP.B "export / /dev/eia0 &".PPAlthough useful when bootstrapping a system, this is unsafeunless a transport protocol is run on the connection..SH SOURCE.B /appl/cmd/export.b.SH SEE ALSO.IR cpu (1),.IR sys-dial (2),.IR intro (5)