| 1 |
.TH diodcat 8 "@META_DATE@" "@META_ALIAS@" "@META_NAME@" |
| 2 |
.SH NAME |
| 3 |
diodcat \- cat files by attaching directly to diod server |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBdiodcat\fR \fI[OPTIONS] [-s NAME] [-a aname] [file [file...]]\fR |
| 6 |
.SH DESCRIPTION |
| 7 |
.B diodcat |
| 8 |
connects to a \fBdiod\fR server, attaches to the mount point \fIaname\fR, |
| 9 |
and concatenates the contents of the specified files on stdout. |
| 10 |
.SH OPTIONS |
| 11 |
.TP |
| 12 |
.I "-a, --aname NAME" |
| 13 |
The file system name on the server (default "ctl"). |
| 14 |
Note that the "ctl" synthetic file system must be explicitly exported. |
| 15 |
.TP |
| 16 |
.I "-s, --server NAME" |
| 17 |
The server in IP[:PORT], HOST[:PORT], or /path/to/socket form |
| 18 |
(default localhost:564). |
| 19 |
.TP |
| 20 |
.I "-m, --msize SIZE" |
| 21 |
The maximum request size including 9P headers (default 65536). |
| 22 |
.TP |
| 23 |
.I "-u, --uid UID" |
| 24 |
Try to attach to the server as the specified user (default your effective uid). |
| 25 |
.TP |
| 26 |
.I "-t, --timeout SECS" |
| 27 |
Force timeout after specified number of seconds (default no timeout). |
| 28 |
.TP |
| 29 |
.I "-p, --privport" |
| 30 |
Connect from a socket bound to a port in the range of 512-1023, |
| 31 |
available to root only. This can be used in conjunction with the |
| 32 |
\fIprivport\fR export option. |
| 33 |
.SH "SEE ALSO" |
| 34 |
diod (8) |