1 .\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nd "GEOM Gate network client and control utility"
38 .Op Fl o Cm ro | wo | rw
40 .Op Fl q Ar queue_size
43 .Op Fl s Ar sectorsize
52 .Op Fl o Cm ro | wo | rw
70 utility is a network client for the GEOM Gate class.
71 It is responsible for the creation of
73 devices and forwarding I/O requests between the
79 .Bl -tag -width ".Cm destroy"
83 daemon on the specified host and create a
85 provider for the specified remote file or device.
87 Create a new connection after the
89 process has died or been killed.
90 The new connection to the
92 daemon handles pending and future requests.
104 .Bl -tag -width ".Fl s Cm ro | wo | rw"
108 provider (cancels all pending requests).
112 option on TCP sockets.
113 .It Fl o Cm ro | wo | rw
114 Specify permission to use when opening the file or device: read-only
123 Port to connect to on the remote host.
125 .It Fl q Ar queue_size
126 Number of pending I/O requests that can be queued before they will
127 start to be canceled.
130 Size of receive buffer to use.
131 Default is 131072 (128kB).
133 Size of send buffer to use.
134 Default is 131072 (128kB).
135 .It Fl s Ar sectorsize
139 If not specified, it is taken from device, or set to 512 bytes for files.
141 Number of seconds to wait before an I/O request will be canceled.
142 Default is 0, which means no timeout.
146 Do not fork, run in foreground and print debug information on standard
149 Remote host to connect to.
151 Path to a regular file or device.
154 Exit status is 0 on success, or 1 if the command fails.
155 To get details about the failure,
157 should be called with the
161 Use a CD-ROM device on a remote host.
162 .Bd -literal -offset indent
163 server# cat /etc/gg.exports
167 client# ggatec create -o ro server /dev/acd0
169 client# mount_cd9660 /dev/ggate0 /cdrom
179 utility as well as this manual page was written by
180 .An Pawel Jakub Dawidek Aq pjd@FreeBSD.org .