-
-
Notifications
You must be signed in to change notification settings - Fork 3
cdbdump.1
Manvendra Bhangui edited this page Sep 4, 2022
·
4 revisions
cdbmake - write cdb by reading series of encoded records on input
cdbdump - read cdb in stdin and print database in cdbmake format.
cdbmake f ftmp
cdbdump
cdbmake reads a series of encoded records from its standard input and writes a constant database to f.
cdbmake ensures that f is updated atomically, so programs reading f never have to wait for cdbmake to finish. It does this by first writing the database to ftmp and then moving ftmp on top of f. If ftmp already exists, it is destroyed. The directories containing ftmp and f must be writable to cdbmake; they must also be on the same filesystem.
cdbdump reads a constant database from its standard input and prints the database contents, in cdbmake(1) format, on standard output.