GGATEL(8)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… GGATEL(8) β€” like, the local GEOM Gate control utility, bestie

okay so real talk: this is ggatel, and you're reading it in section 8 of the System Manager's Manual. she's a system manager girlie. let's get into it ✨


🌸 NAME

ggatel β€” the GEOM Gate local control utility. local as in she's right here with you, no network nonsense πŸ’–


πŸŽ€ SYNOPSIS

ggatel create [-v] [-o -option] ... [-s sectorsize] [-t timeout]
       [-u unit] path
ggatel destroy [-f] -u unit
ggatel list [-v] [-u unit]
ggatel rescue [-v] [-o -option] ... -u unit path

like yes, four whole modes. pick your fighter πŸ‘‘


✨ DESCRIPTION

ggatel is a local GEOM Gate class consumer. no cap.

she can absolutely serve as a glow-up replacement for md(4) devices, and she's also that girl as a "GEOMificator" for devices that aren't GEOM-aware (they just haven't been introduced to GEOM yet, it's fine, we're working on them 🫢).

but real talk β€” her main character origin story? she was mainly created as an example on how to use the GEOM Gate kernel subsystem and how to communicate with it. she's a tutorial and a tool. iconic behaviour honestly.

🌈 Available commands

  • create β€” creates a ggate provider related to the given regular file or device. new provider just dropped πŸ’…
  • destroy β€” destroys the given ggate provider. it's giving closure 😭
  • list β€” lists ggate providers. inventory check, we love a spreadsheet moment πŸ“
  • rescue β€” takes over a previously created provider and handles pending and future requests. this is the one you call when the initial ggatel process died and you're like "girl get UP". super useful. and to prevent data loss, the given path must lead to the regular file or device that was used to create the provider β€” do not freestyle this one, bestie, the vibes must match exactly ⭐

πŸ”₯ Available options

  • -f β€” forcibly destroys the ggate provider. and by "forcibly" we mean it cancels all pending requests. dramatic, effective, use with intention πŸ’€
  • -o option β€” specifies permissions and options to use when opening the file or device. the menu:
    • ro β€” read-only
    • wo β€” write-only
    • rw β€” read-write
    • direct β€” opens with the O_DIRECT option on the file
    • default is rw 🌸
  • -s sectorsize β€” sector size for the ggate provider. if you don't specify it, it's taken from the device β€” or set to 512 bytes for files. she'll figure it out 🧚
  • -t timeout β€” number of seconds to wait before an I/O request will be canceled. 0 means no timeout (live your truth). default is 30 ⏳
  • -u unit β€” unit number to use. you pick the number, you get the provider πŸŽ€
  • -v β€” do not fork, run in foreground, and print debug information on standard output. she stays right there in your terminal and tells you everything, iykyk πŸ‘€
  • path β€” path to a regular file or device. that's the whole vibe.

πŸ’œ EXIT STATUS

exit status is 0 on success, or 1 if the command fails.

and to get details about the failure? call ggatel with the -v option. she'll spill the whole teaaa πŸ˜­β˜•


πŸ¦‹ SEE ALSO

geom(4), ggatec(8), ggated(8), mount(8), newfs(8)

the whole friend group fr fr 🫢


πŸ‘‘ HISTORY

the ggatel utility appeared in FreeBSD 5.3. a legacy queen. she's been slaying since day one ✨


🌟 AUTHORS

the ggatel utility, as well as this manual page, was written by Pawel Jakub Dawidek <pjd@FreeBSD.org>. we stan an author who writes the manpage too, that's main character energy πŸ’–


ok that's the whole page, nothing skipped, every flag accounted for. vibe check: passed 🌈

and finally, the cute little sign-off bit: this page is the Debian build, dated September 8, 2016 β€” so yeah, she's got a vintage moment going on, but the info is timeless bestie πŸ’…πŸŽ€

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms