groff 1.23.0 added .MR to its -man macro package. The NEWS file states
that the inclusion of the macro "was prompted by its introduction to
Plan 9 from User Space's troff in August 2020." From d32deab it seems
that the name for Plan 9 from User Space's implementation was suggested
by groff maintainer G. Brandon Robinson.
Not sure if the intention was to make these definitions compatible, but
it would be nice if they were.
Currently, Plan 9 from User Space's .MR expects its second argument to
be parenthesized. groff's .MR does not. This results in extra
parentheses appearing in manual references when viewing Plan 9 from User
Space's manual pages on a system using groff.
80 lines
1.3 KiB
Groff
80 lines
1.3 KiB
Groff
.TH 9IMPORT 4
|
|
.SH NAME
|
|
9import \- import a name space from a remote system
|
|
.SH SYNOPSIS
|
|
.B 9import
|
|
[
|
|
.I options
|
|
]
|
|
.I system
|
|
.I file
|
|
[
|
|
.I mountpoint
|
|
]
|
|
.SH DESCRIPTION
|
|
The
|
|
.I 9import
|
|
tool allows an arbitrary
|
|
.I file
|
|
on a remote
|
|
.I system,
|
|
with the capability of running the Plan 9
|
|
.MR exportfs 4
|
|
service,
|
|
to be imported into the local name space.
|
|
Usually
|
|
.I file
|
|
is a directory, so the complete
|
|
file tree under the directory is made available.
|
|
.PP
|
|
A process is started on the
|
|
remote machine, with authority of the user of
|
|
.IR 9import ,
|
|
to perform work for the local machine using the
|
|
.MR exportfs 4
|
|
service.
|
|
The default port used is TCP 17007.
|
|
If
|
|
.I mountpoint
|
|
is omitted, then
|
|
.I 9import
|
|
uses the name of the remote
|
|
.I file
|
|
as the local mount point.
|
|
.PP
|
|
The options are:
|
|
.TF "-s namexxx"
|
|
.PD
|
|
.TP
|
|
.B -A
|
|
Skip the authentication protocol.
|
|
This is useful for connecting to foreign systems like Inferno.
|
|
.TP
|
|
.B -k \fIkeypattern
|
|
Use
|
|
.I keypattern
|
|
to select a key to authenticate to the remote side
|
|
(see
|
|
.MR auth 2 ).
|
|
.TP
|
|
.B -p
|
|
Push the
|
|
.MR aan 8
|
|
filter onto the connection to protect against
|
|
temporary network outages.
|
|
.TP
|
|
.B -s \fIname
|
|
Post the connection's mountable file descriptor as
|
|
.BI /srv/ name\fR.
|
|
.SH SOURCE
|
|
.B \*9/src/cmd/9import.c
|
|
.SH SEE ALSO
|
|
.MR srv 4 ,
|
|
.MR aan 8 ,
|
|
.MR listen1 8 ,
|
|
.B cs
|
|
in
|
|
.MR ndb 7
|
|
.SH BUGS
|
|
Encryption is not implemented.
|