1.\" Copyright (c) 1992 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.roff% 5.\" 6.\" @(#)cap_mkdb.1 5.2 (Berkeley) 09/08/92 7.\" 8.Dd "" 9.Dt CAP_MKDB 1 10.Os 11.Sh NAME 12.Nm cap_mkdb 13.Nd create capability database 14.Pp 15.Sh SYNOPSIS 16.Nm cap_mkdb 17.Op Fl f Ar outfile 18.Ar file1 19.Op Ar file2 ... 20.Pp 21.Sh DESCRIPTION 22.Nm Cap_mkdb 23builds a hashed database out of the 24.Xr getcap 3 25logical database constructed by the concatenation of the specified 26files . 27The hashed database is stored into a file named by the basename 28of the first file argument and the string 29.Dq .db . 30The 31.Xr getcap 3 32routines can access the database in this form much more quickly 33than they can the original text file(s). 34.Pp 35.Sh OPTIONS 36.Bl -tag -width XXXXXX -indent 37.It Fl f Ar outfile 38Specify a different database basename. 39.El 40.Pp 41.Sh RETURN VALUE 42The 43.Nm cap_mkdb 44utility exits 0 on success and >0 if an error occurs. 45.Sh SEE ALSO 46.Xr dbopen 3 , 47.Xr getcap 3 , 48.Xr termcap 5 49 50 51 52 53 54