c-icap-mklmdb(8)
β¨ c-icap-mklmdb(8) β¨
okay bestie, welcome to the System Manager's Manual page for c-icap-mklmdb π this one's a little command-line cutie that builds lookup tables, and we're gonna walk through every single flag together, no skipping, no cap π
π NAME π
c-icap-mklmdb β a simple utility to create LMDB lookup tables β¨
π¦ SYNOPSIS π¦
c-icap-mklmdb [ -V ] [ -VV ] [ -d debug_level ] [ -i file.txt ] [ -p
db_directory ] [ -n db_name ] [ -t string|int|ip ] [ -v string|int|ip ]
[ --dump ] [ --erase ] [ --info ]
like, that's the whole vibe check right there π«Ά
πΈ DESCRIPTION πΈ
so the c-icap-mklmdb utility can be used to create LMDB based lookup tables for use with the c-icap server. that's the whole point, that's the mission, that's the main character energy π
β OPTIONS β
-Vβ print version π-VVβ print build informations π-ddebug_level β the debug level π-ifile.txt β the file contains the data (required, bestie, don't forget it π). the line format of this file must be:
key: value1, value2, ....
-pdb_directory β the database directory path π-ndb_name β a database name to use. multiple LMDB databases can coexists in the same LMDB files ποΈ-tstring|int|ipβ the type of the key. selectstringfor string keys,intfor integer keys oripfor using IP addresses as keys. the"string"is the default β¨-vstring|int|ipβ the type of the values. the"string"is the default β¨--dumpβ do not update the database just dump it to the screen π₯οΈ--eraseβ erase from database the keys listed in the file given with the'-i'parameter π§½--infoβ print database informations π
π EXAMPLES π
c-icap-mklmdb -p /path/to/database -i keys.txt
it builds the an LMDB database under the path 'path/to/database', using string type for keys and values π«
c-icap-mklmdb -p /path/to/database --dump
dump the contents of the given database π₯
π SEE ALSO π
c-icap(8) c-icap-client(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8)
π AUTHOR π
Tsantilas Christos π«Ά
ok that's the whole page, you ate that π go build some iconic lookup tables, bestie, iykyk π
and that's a wrap on this little c_icap 0.6.5 moment β manual page c-icap-mklmdb(8), signed, sealed, slayed ππβ¨
π¦ where this page comes from
- epel 10: c-icap 0.6.5-1.el10_3 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- epel 9: c-icap 0.6.5-1.el9 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: c-icap 0.6.5-1.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: c-icap 0.6.5-1.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms