GROK-FSCK(1)
π GROK-FSCK
okay bestie, welcome to GROK-FSCK β the little utility that keeps your mirrored repos from rotting. She's part of the grok family, and she is so good at her job. π¦
β¨ SYNOPSIS β¨
grok-fsck -c /path/to/grokmirror.conf
like. that's it. that's the whole vibe. π
πΈ DESCRIPTION πΈ
so, real talk: git repos need to be repacked and checked for corruption on the reg. it's giving skincare routine but for your mirrors. this utility does all the necessary optimizations and reports any problems it finds to the email defined via fsck.report_to ('root' by default). π
she should run weekly β either from cron or from the systemd timer (check the contrib directory, iykyk).
and bestie, please go look at the example grokmirror.conf file, because there's a whole bunch of stuff in there you can tweak. π
β OPTIONS β
--versionβ show the program's version number and dip. bye! π-h,--helpβ show this help message and exit. classic.-v,--verboseβ be verbose and tell us what you're doing. not me needing the play-by-play but ok go off π-f,--forceβ force an immediate run on all repositories. no waiting, no chill.-c CONFIG,--config=CONFIGβ location offsck.conf. this is where your config lives, bestie.--repack-onlyβ only find and repack repositories that actually need optimizing (this is the nightly run mode π).--connectivityβ (assumes--force) rungit fsckon all repos, but only check connectivity.--repack-all-quickβ (assumes--force) do a quick repack of all repos. speedrun mode β‘--repack-all-fullβ (assumes--force) do a full repack of all repos. the whole main character treatment π
π«Ά SEE ALSO π«Ά
π SUPPORT π
email tools@linux.kernel.org if you need a hand, bestie. they're nice, fr fr.
π AUTHOR π
mricon@kernel.org
License: GPLv3+
π COPYRIGHT π
The Linux Foundation and contributors
and that's the whole page!! version 2.0.0, dated 2020-08-14 β she's been iconic since way back and she still slays. go fsck something. periodt. π
β¨
π¦ where this page comes from
- debian trixie: grokmirror 2.0.12-1 Β· GPL-3.0-or-later
- epel 9: python3-grokmirror 2.0.12-1.el9 Β· GPL-3.0-or-later
- fedora 43: python3-grokmirror 2.0.12-6.fc43 Β· GPL-3.0-or-later
- fedora 44: python3-grokmirror 2.0.12-7.fc44 Β· GPL-3.0-or-later
- ubuntu noble: grokmirror 2.0.11-2 Β· GPL-3.0-or-later
- ubuntu questing: grokmirror 2.0.12-1
- ubuntu resolute: grokmirror 2.0.12-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms