GGATEC(8) MidnightBSD System Manager’s Manual GGATEC(8)
ggatec — GEOM Gate network client and control utility
ggatec create [−n]
[−o ro | wo | rw]
[−u unit] host path
ggatec rescue [−n] [−v] [−o ro | wo | rw] [−p port] [−R rcvbuf] [−S sndbuf] −u unit host path
ggatec destroy [−f] −u unit
ggatec list [−v] [−u unit]
The ggatec utility is a network client for GEOM Gate class. It is responsible for creation of ggate devices and forwarding I/O requests between geom_gate.ko kernel module and ggated(8) network daemon. Available commands:
Connect to given ggated(8) daemon and create a ggate provider related to the given remote file or device.
If ggatec process died/has been killed, you can save situation with this command, which creates new connection to the ggated(8) daemon and will handle pending and future requests.
Destroy the given ggate provider.
List ggate providers.
Forcibly destroy ggate provider (cancels all pending requests).
Do not use TCP_NODELAY option on TCP sockets.
−o ro | wo | rw
Specify permission to use when opening the file or device: read-only (ro), write-only (wo), or read-write (rw). Default is rw.
Port to connect to on the remote host. Default is 3080.
Number of pending I/O requests that can be queued before they will start to be canceled. Default is 1024.
Size of receive buffer to use. Default is 131072 (128kB).
Size of send buffer to use. Default is 131072 (128kB).
Sector size for ggate provider. If not specified, it is taken from device, or set to 512 bytes for files.
Number of seconds to wait before an I/O request will be canceled. 0 means no timeout. Default is 0.
Unit number to use.
Do not fork, run in foreground and print debug informations on standard output.
Remote host to connect to.
Path to a regular file or device.
Exit status is 0 on success, or 1 if the command fails. To get details about the failure, ggatec should be called with the −v option.
Made use of CD-ROM device from remote host.
client RO /dev/acd0
client# ggatec create
-o ro server /dev/acd0
client# mount_cd9660 /dev/ggate0 /cdrom
geom(4), ggated(8), ggatel(8), mount_cd9660(8)
The ggatec utility as well as this manual page was written by Pawel Jakub Dawidek 〈pjd@FreeBSD.org〉.
MidnightBSD 0.3 April 26, 2004 MidnightBSD 0.3