.\" Copyright (c) 1992 The Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.roff% .\" .\" @(#)cap_mkdb.1 5.3 (Berkeley) 01/23/93 .\" .Dd "" .Dt CAP_MKDB 1 .Os .Sh NAME .Nm cap_mkdb .Nd create capability database .Pp .Sh SYNOPSIS .Nm cap_mkdb .Op Fl v .Op Fl f Ar outfile .Ar file1 .Op Ar file2 ... .Pp .Sh DESCRIPTION .Nm Cap_mkdb builds a hashed database out of the .Xr getcap 3 logical database constructed by the concatenation of the specified files . The hashed database is stored into a file named by the basename of the first file argument and the string .Dq .db . The .Xr getcap 3 routines can access the database in this form much more quickly than they can the original text file(s). .Pp The options as as follows: .Bl -tag -width XXXXXX -indent .It Fl f Ar outfile Specify a different database basename. .It Fl v Print out the number of capability records in the database. .El .Pp .Sh RETURN VALUE The .Nm cap_mkdb utility exits 0 on success and >0 if an error occurs. .Sh SEE ALSO .Xr dbopen 3 , .Xr getcap 3 , .Xr termcap 5