summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-05 17:17:06 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-05 17:17:06 +0000
commitcd2c4a9ed3b932a362d3f9008bbf244ec5b977d6 (patch)
treecf7f89e9f8a9b14647b69f72314c1777c31a71f0 /usr.sbin
parent57616925fbb1f05b1bd1397f3a3f4249c3f3a534 (diff)
last piece
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_fsck.892
1 files changed, 0 insertions, 92 deletions
diff --git a/usr.sbin/pkg_add/pkg_fsck.8 b/usr.sbin/pkg_add/pkg_fsck.8
deleted file mode 100644
index 4c133427e63..00000000000
--- a/usr.sbin/pkg_add/pkg_fsck.8
+++ /dev/null
@@ -1,92 +0,0 @@
-.\" $OpenBSD: pkg_fsck.8,v 1.2 2010/06/05 17:03:27 jmc Exp $
-.\"
-.\" Copyright (c) 2010 Marc Espie <espie@openbsd.org>
-.\"
-.\" Permission to use, copy, modify, and distribute this software for any
-.\" purpose with or without fee is hereby granted, provided that the above
-.\" copyright notice and this permission notice appear in all copies.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\"
-.Dd $Mdocdate: June 5 2010 $
-.Dt PKG_FSCK 1
-.Os
-.Sh NAME
-.Nm pkg_fsck
-.Nd check consistency of installed packages
-.Sh SYNOPSIS
-.Nm pkg_fsck
-.Bk -words
-.Op Fl fimnqvx
-.Oo Fl D Ar name
-.Ns Oo Ns = Ns Ar value
-.Oc
-.Oc
-.Ek
-.Sh DESCRIPTION
-.Nm
-verifies as much information as it can about installed packages.
-.Pp
-.Nm
-is not needed under normal circumstances, but it can be used to recover after
-a catastrophic system failure in the middle of a
-.Xr pkg_add 1
-or
-.Xr pkg_delete 1 .
-.Pp
-.Nm
-performs the following checks:
-.Bl -tag -width small
-.It Packing-list sanity
-Checks that
-.Pa /var/db/pkg
-only contains directories, that each directory holds a packing-list,
-and that said packing-list is an actual packing-list that matches the directory.
-.It Files from packages
-Checks that each file or directory in those packing-lists actually exist,
-and that their checksum matches what's recorded in the packing-list.
-.El
-.Pp
-The options are as follows:
-.Bl -tag -width Ds
-.It Xo
-.Fl D
-.Ar name Ns Op = Ns Ar value
-.Xc
-For consistency with other pkg commands.
-No relevant defines so far.
-.It Fl f
-Force the removal of bogus package information.
-.It Fl i
-Ask user whether to irrevocably remove bogus package information.
-.It Fl m
-Causes
-.Nm
-to always display the progress meter in cases it would not do so by default.
-.It Fl n
-Don't actually modify packages, just perform checks.
-.It Fl q
-Don't verify checksums for files, just check for their existence.
-.It Fl v
-Turn on verbose output.
-Several
-.Fl v
-may turn on more verbose output.
-.It Fl x
-Disable progress meter.
-.El
-.Sh SEE ALSO
-.Xr fsck 8
-.Sh AUTHORS
-This program was written by
-.An Marc Espie .
-.Sh BUGS
-Work in progress.
-More checks to be added.
-Use with caution.