NAME
import – import a name space from a remote system |
SYNOPSIS
import [ options ] system file [ mountpoint ]
import –B [ options ] mountpoint [ cmd [ args ... ] ] |
DESCRIPTION
This tool is deprecated and has been replaced by rimport (see
rcpu(1)). Import allows an arbitrary file on a remote system to be imported into the local name space. Usually file is a directory, so the complete file tree under the directory is made available. A process is started on the remote machine, with authority of the user of import, to perform work for the local machine using the exportfs(4) service. The default port used is TCP 17007. If mountpoint is omitted import uses the name of the remote file as the local mount point.
The options are:
The –B option runs import in ``backwards'' mode. In this mode,
import runs a p9any authentication (as server) over its file descriptor
0 (expected to be an incoming network connection from exportfs
–B), mounts the connection onto mntpt, and optionally runs cmd
args. |
EXAMPLES
Assume a machine kremvax that has IP interfaces for the company
intranet and the global internet mounted on /net and /net.alt
respectively. Any machine inside the company can get telnet out
to the global internet using:
|
SOURCE
/sys/src/cmd/import.c |
SEE ALSO
rcpu(1), bind(1), ssl(3), exportfs(4), srv(4), aan(8), listen(8),
cs in ndb(8) |