Commit dbd42dbe authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Document the -c option.

Talk a little about the config file.
parent e38e4af9
.\" $Id: dbck.8,v 1.8 1994/04/05 07:52:08 ceder Exp $
.\" $Id: dbck.8,v 1.9 1994/06/18 21:19:08 ceder Exp $
.\" Copyright (C) 1991, 1992 Lysator Academic Computer Association.
.\"
.\" This file is part of the LysKOM server.
......@@ -21,8 +21,8 @@
.\"
.\" Please mail bug reports to bug-lyskom@lysator.liu.se.
.\"
.\" $Id: dbck.8,v 1.8 1994/04/05 07:52:08 ceder Exp $
.\" $Date: 1994/04/05 07:52:08 $
.\" $Id: dbck.8,v 1.9 1994/06/18 21:19:08 ceder Exp $
.\" $Date: 1994/06/18 21:19:08 $
.TH dbck 8 "August 22, 1991"
.SH NAME
dbck - reports and corrects errors in the LysKOM database. This
......@@ -30,10 +30,9 @@ program is also used remove unreferenced texts from the texts file.
.SH SYNOPSIS
.B /usr/lyskom/bin/dbck
[
.B -D
.I database-directory
.B -dirvgsc
] [
.B -irvgs
.I config_file
]
.SH DESCRIPTION
This program should be run after something has happened that has made the
......@@ -47,28 +46,12 @@ the file with texts are rewritten without all unreferenced texts and
all pointers are adjusted. This does only happen if the database was
correct.
.PP
If none of the options
.B -r, -i
or
.B -g
are given the database is not changed.
The database is only modified if at least one of the options
.BR -r ", " -i " or " -g
is given.
Otherwise, it is only checked and any detected errors are reported.
.SH OPTIONS
.TP
.BI \-D " database-directory"
Use the database in the
.I database-directory
as the target of the checkup.
.br
Example: If your database is in
.ft B
$HOME/lyskom/db
.ft R
you should use the command
.ft B
.br
/usr/lyskom/bin/dbck -D $HOME/lyskom
.ft R
.TP
.B \-i
Run interactively asking the user questions.
.TP
......@@ -87,6 +70,14 @@ non-referenced texts.
.B \-s
Gather statistics about the lengths of texts. A table containing
the frequency of all lenghts that is currently used is printed.
.TP
.B \-c
Consider it an error if the
.B change_name
capability of a person is not set.
Due to a bug, that capability was never set for newly created persons
in release 1.6.1 of lyskomd. This option can be used to repair the
damage.
.SH NOTES
The messages
.I Conference <confno> has a bad Text-list. Starts with 0
......@@ -105,7 +96,9 @@ again.
.SH FILES
.TP 20
.B /usr/lyskom
Default database directory.
Default database directory, unless the
.I config_file
specifies something different.
.TP
.IB database-directory /db/ramkomd-data
File with all the elements and pointers.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment