Blob
- Date:
- Message:
- src/cmd: Add a repurposed import(4), called `9import', to the ports. The code is adapted from Plan 9's import(4); this allows us to speak that protocol. We don't currently support AAN (in the works) or TLS/SSL. Thanks to David for help with the man page, testing, and development. R=0intro, rsc CC=plan9port.codebot http://codereview.appspot.com/6458100
- Actions:
- History | Blame | Raw File
1 .TH 9IMPORT 42 .SH NAME3 9import \- import a name space from a remote system4 .SH SYNOPSIS5 .B 9import6 [7 .I options8 ]9 .I system10 .I file11 [12 .I mountpoint13 ]14 .SH DESCRIPTION15 The16 .I 9import17 tool allows an arbitrary18 .I file19 on a remote20 .I system,21 with the capability of running the Plan 922 .IR exportfs (4)23 service,24 to be imported into the local name space.25 Usually26 .I file27 is a directory, so the complete28 file tree under the directory is made available.29 .PP30 A process is started on the31 remote machine, with authority of the user of32 .IR 9import ,33 to perform work for the local machine using the34 .IR exportfs (4)35 service.36 The default port used is TCP 17007.37 If38 .I mountpoint39 is omitted, then40 .I 9import41 uses the name of the remote42 .I file43 as the local mount point.44 .PP45 The options are:46 .TF "-s namexxx"47 .PD48 .TP49 .B -A50 Skip the authentication protocol.51 This is useful for connecting to foreign systems like Inferno.52 .TP53 .B -k \fIkeypattern54 Use55 .I keypattern56 to select a key to authenticate to the remote side57 (see58 .IR auth (2)).59 .TP60 .B -p61 Push the62 .IR aan (8)63 filter onto the connection to protect against64 temporary network outages.65 .TP66 .B -s \fIname67 Post the connection's mountable file descriptor as68 .BI /srv/ name\fR.69 .SH SOURCE70 .B \*9/src/cmd/9import.c71 .SH SEE ALSO72 .IR srv (4),73 .IR aan (8),74 .IR listen1 (8),75 .B cs76 in77 .IR ndb (7)78 .SH BUGS79 Encryption is not implemented.