diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/4/export | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/4/export')
| -rw-r--r-- | man/4/export | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/man/4/export b/man/4/export new file mode 100644 index 00000000..ea2fdf39 --- /dev/null +++ b/man/4/export @@ -0,0 +1,69 @@ +.TH EXPORT 4 +.SH NAME +export \- export name space on a connection +.SH SYNOPSIS +.B export +[ +.B \-a +] [ +.B \-n +] +.I dir +[ +.I file +] +.SH DESCRIPTION +.I Export +calls +.B Sys->export +(see +.IR sys-dial (2)) +to serve a name space rooted at +.I dir +over a connection to a Styx client. +.I Export +opens 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 \-a +option is given, however, +.I export +starts an Inferno kernel process +to serve the name space and returns immediately. +.PP +Normally, +.I export +forks the current name space, and makes +.I dir +the root of its copy. +Changes subsequently made to the current name space will +not be visible to clients of +.IR export . +If the +.B \-n +option is given, however, and +.I dir +is the root +.RB (` / '), +.I export +serves the current name space without forking it; changes made to it +will be visible to clients. +.PP +.I Export +starts serving Styx immediately; it assumes that the connection +has been authenticated if required. +.SH EXAMPLE +Start a background process to serve the name space on the serial port. +.IP +.B "export / /dev/eia0 &" +.PP +Although useful when bootstrapping a system, this is unsafe +unless 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) |
