man.bsd.lv manual page server

Manual Page Search Parameters

GGATEC(8) System Manager's Manual GGATEC(8)

ggatecGEOM Gate network client and control utility

ggatec create [-n] [-v] [-o ro | wo | rw] [-p port] [-q queue_size] [-R rcvbuf] [-S sndbuf] [-s sectorsize] [-t timeout] [-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 the GEOM Gate class. It is responsible for the creation of ggate devices and forwarding I/O requests between the GEOM Gate kernel subsystem and the ggated(8) network daemon. Available commands:
Connect to a ggated(8) daemon on the specified host and create a ggate provider for the specified remote file or device.
Create a new connection after the ggatec process has died or been killed. The new connection to the ggated(8) daemon handles pending and future requests.
Destroy the given ggate provider.
List ggate providers.

Available options:

Forcibly destroy ggate provider (cancels all pending requests).
Do not use TCP_NODELAY option on TCP sockets.
ro | |
Specify permissions to use when opening the file or device: read-only (ro), write-only (wo), or read-write (rw). Default is rw.
port
Port to connect to on the remote host. Default is 3080.
queue_size
Number of pending I/O requests that can be queued before they will start to be canceled. Default is 1024.
rcvbuf
Size of receive buffer to use. Default is 131072 (128kB).
sndbuf
Size of send buffer to use. Default is 131072 (128kB).
sectorsize
Sector size for ggate provider. If not specified, it is taken from the device, or set to 512 bytes for files.
timeout
Number of seconds to wait before an I/O request will be canceled. Default is 0, which means no timeout.
unit
Unit number to use.
Do not fork, run in foreground and print debug information on standard output.
host
Remote host to connect to.
path
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.

Use a CD-ROM device on a remote host.

server# cat /etc/gg.exports
client RO /dev/cd0
server# ggated

client# ggatec create -o ro server /dev/cd0
ggate0
client# mount_cd9660 /dev/ggate0 /cdrom

geom(4), ggated(8), ggatel(8), mount_cd9660(8)

The ggatec utility appeared in FreeBSD 5.3.

The ggatec utility as well as this manual page was written by Pawel Jakub Dawidek <pjd@FreeBSD.org>.

September 8, 2016 FreeBSD-12.0