aboutsummaryrefslogtreecommitdiff
path: root/man/man4/import.html
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 03:45:44 +0000
committerrsc <devnull@localhost>2005-01-14 03:45:44 +0000
commit78e51a8c6678b6e3dff3d619aa786669f531f4bc (patch)
tree015e00fde4fc837fd31b705e18d17dc913829388 /man/man4/import.html
parent2634795b5f0053bc0ff08e5d7bbc0eda8efea061 (diff)
downloadplan9port-78e51a8c6678b6e3dff3d619aa786669f531f4bc.tar.gz
plan9port-78e51a8c6678b6e3dff3d619aa786669f531f4bc.tar.bz2
plan9port-78e51a8c6678b6e3dff3d619aa786669f531f4bc.zip
checkpoint
Diffstat (limited to 'man/man4/import.html')
-rw-r--r--man/man4/import.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/man/man4/import.html b/man/man4/import.html
new file mode 100644
index 00000000..e0eca5cb
--- /dev/null
+++ b/man/man4/import.html
@@ -0,0 +1,107 @@
+<head>
+<title>import(4) - Plan 9 from User Space</title>
+<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
+</head>
+<body bgcolor=#ffffff>
+<table border=0 cellpadding=0 cellspacing=0 width=100%>
+<tr height=10><td>
+<tr><td width=20><td>
+<tr><td width=20><td><b>IMPORT(4)</b><td align=right><b>IMPORT(4)</b>
+<tr><td width=20><td colspan=2>
+ <br>
+<p><font size=+1><b>NAME </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ import &ndash; import 9P resources from another system<br>
+
+</table>
+<p><font size=+1><b>SYNOPSIS </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ <tt><font size=+1>import</font></tt> [ <tt><font size=+1>&#8722;df</font></tt> ] [ <tt><font size=+1>&#8722;n</font></tt> <i>ns</i> ] [ <tt><font size=+1>&#8722;p</font></tt> <i>prog</i> ] [ <tt><font size=+1>&#8722;s</font></tt> <i>service</i> ] <i>system<br>
+ </i>
+</table>
+<p><font size=+1><b>DESCRIPTION </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ <i>Import</i> presents the 9P service <i>service</i> (default <tt><font size=+1>plumb</font></tt>) running
+ on <i>system</i> as a service on the local system, in the current name
+ space.
+ <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
+
+ The <tt><font size=+1>&#8722;n</font></tt> option sets the remote name space directory where <i>import</i>
+ should expect to find <i>service</i>. If it is not specified, <i>import</i>
+ uses name of the local system&#8217;s name space directory. (Since name
+ space directories are conventionally inside <tt><font size=+1>/tmp</font></tt>, the path have
+ different meanings on the two systems.)
+ <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
+
+ <i>Import</i> connects to <i>system</i> using <a href="../man1/ssh.html"><i>ssh</i>(1)</a>. It invokes <i>import</i> on the
+ remote system to carry out the remote side of the protocol. The
+ <tt><font size=+1>&#8722;p</font></tt> option specifies the path to <i>import</i> on the remote system, in
+ case it is not in the system search path.
+ <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
+
+ The <tt><font size=+1>&#8722;d</font></tt> option turns on debugging. The <tt><font size=+1>&#8722;f</font></tt> option keeps <i>import</i> from
+ forking itself into the background, also useful for debugging.<br>
+
+</table>
+<p><font size=+1><b>EXAMPLE </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ Suppose you run <tt><font size=+1>sam &#8722;r</font></tt> to the CPU server <i>anna</i>. <i>Sam</i> wants to talk
+ to a plumber on the local terminal, but the file names will refer
+ to files on <i>anna</i>.
+ <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
+
+ To fix this problem, create a new name space directory and start
+ a new plumber on <i>anna</i>:<br>
+
+ <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ <tt><font size=+1>remotens=/tmp/ns.`whoami`.on.`hostname`<br>
+ ssh anna mkdir $remotens<br>
+ ssh anna NAMESPACE=$remotens plumber<br>
+ </font></tt>Now import that plumber to the local name space before starting
+ <i>sam</i> and <i>9term</i>:<br>
+ <tt><font size=+1>NAMESPACE=/tmp/ns.anna<br>
+ mkdir $NAMESPACE<br>
+ import &#8722;n $remotens &#8722;s plumb anna<br>
+ sam &amp;<br>
+ 9term ssh anna &amp;<br>
+ </font></tt>
+ </table>
+
+</table>
+<p><font size=+1><b>SOURCE </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ <tt><font size=+1>/usr/local/plan9/src/cmd/import.c<br>
+ </font></tt>
+</table>
+<p><font size=+1><b>SEE ALSO </b></font><br>
+
+<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
+
+ <a href="../man4/9pserve.html"><i>9pserve</i>(4)</a>, <a href="../man4/intro.html"><i>intro</i>(4)</a><br>
+
+</table>
+
+<td width=20>
+<tr height=20><td>
+</table>
+<!-- TRAILER -->
+<table border=0 cellpadding=0 cellspacing=0 width=100%>
+<tr height=15><td width=10><td><td width=10>
+<tr><td><td>
+<center>
+<a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>
+</center>
+</table>
+<!-- TRAILER -->
+</body></html>