IMPORT(4)
NAME
import − import a name space from a remote system
SYNOPSIS
import [ -abcC ] [ -f ] system file [ mountpoint ]
DESCRIPTION
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. If mountpoint is omitted import uses the name of the remote file as the local mount point.
If file is a directory, import allows options exactly as in mount and bind(1) to control the construction of union directories.
The -f option causes import to push the fcall line discipline on its network connection. This option is intended for networks that do not preserve read/write boundaries.
EXAMPLE
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:
import -a kremvax /net.alt
telnet /net.alt/tcp!ucbvax
SOURCE
/sys/src/cmd/import.c
SEE ALSO
Plan 9 — July 29, 2000