|| FreeBSD System Manager's Manual
GEOM Gate local control utility
|| create [ -v][ -o ro | wo | rw][ -s sectorsize][ -t timeout][ -u unit] path
|| attach [ -v][ -o ro | wo | rw] -u unit path
|| destroy [ -f] -u unit
|| list [ -v][ -u unit]
utility is a local GEOM Gate class consumer. It can be used as a replacement for
devices or as a “GEOMificator” for non GEOM-aware devices, but it was mainly created as an example on how to use and how to communicate with the GEOM Gate kernel module.
ggate provider related to the given regular file or device.
Attach a worker process to an existing
Destroy the given
ggate provider (cancels all pending requests).
Specify permission to use when opening the file or device: read-only (
ro), write-only (
wo), or read-write (
rw). Default is
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 30.
Unit number to use.
Do not fork, run in foreground and print debug informations on standard output.
Path to a regular file or device.
EXIT STATUS Exit status is 0 on success, or 1 if the command fails. To get details about the failure,
ggatel should be called with the
“GEOMify” the “
” device and use
to encrypt data on a floppy.
ggatel create -u 5 /dev/fd0
gbde init /dev/ggate5
gbde attach ggate5
mount /dev/ggate5.bde /secret
cp /private/foo /secret/
gbde detach ggate5
ggatel destroy -u 5
ggatel utility as well as this manual page was written by