.\" $NetBSD: pkg_filecheck.1,v 1.1.1.1 2003/07/13 16:15:34 wiz Exp $ .\" .\" Copyright (c) 2003 Thomas Klausner .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR, THOMAS KLAUSNER, .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd July 13, 2003 .Dt PKG_FILECHECK 1 .Os .Sh NAME .Nm pkg_filecheck .Nd compare file system contents with package database .Sh SYNOPSIS .Nm .Op Fl h .Op Fl c Ar config-file .Sh DESCRIPTION .Nm reads the package tools database and and compares it with the actual contents of the directory hierarchy starting at .Pa @PREFIX@ , reporting any files that are on the file system, but not in the database. The database used and the hierarchy to be checked can be changed in the config file. .Pp Supported options: .Bl -tag -width XcXconfigXfileX -offset indent .It Fl c Ar config-file Use .Ar config-file as config file instead of the default .Pa @PKG_SYSCONFDIR@/pkg_filecheck.conf . .It Fl h Display a very short help message. .El .Sh SEE ALSO .Xr builddb 1 .Sh BUGS .Nm does not report files that are in the database, but not in the file system. You can use .Dq Ic pkg_admin Ar check for that.