term% cat index.txt IMPORT(4) Kernel Interfaces Manual IMPORT(4)
NAME
import - import a name space from a remote system
SYNOPSIS
import [ option ... ] 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.
EXAMPLE
To allow a Datakit-only machine to access an Ethernet using TCP:
import -a kremvax /net
con tcp!ucbvax
or
import -a kremvax /net
echo 'add tcp' > /net/cs
con ucbvax
SOURCE
/sys/src/cmd/import.c
SEE ALSO
bind(1), cs in ndb(8)
IMPORT(4)