Query: import
OS: plan9
Section: 4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMPORT(4) Kernel Interfaces Manual IMPORT(4)NAMEimport - import a name space from a remote systemSYNOPSISimport [ option ... ] system file [ mountpoint ]DESCRIPTIONImport 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.EXAMPLETo 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 ucbvaxSOURCE/sys/src/cmd/import.cSEE ALSObind(1), cs in ndb(8) IMPORT(4)