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

All documentation removed. Refer to dbck.info.

parent 52fe4310
.\" $Id: dbck.8,v 1.13 1996/06/09 13:49:05 byers Exp $
.\" $Id: dbck.8,v 1.14 1999/04/03 15:34:32 ceder Exp $
.\" Copyright (C) 1991, 1992 Lysator Academic Computer Association.
.\"
.\" This file is part of the LysKOM server.
......@@ -21,12 +21,11 @@
.\"
.\" Please mail bug reports to bug-lyskom@lysator.liu.se.
.\"
.\" $Id: dbck.8,v 1.13 1996/06/09 13:49:05 byers Exp $
.\" $Date: 1996/06/09 13:49:05 $
.\" $Id: dbck.8,v 1.14 1999/04/03 15:34:32 ceder Exp $
.\" $Date: 1999/04/03 15:34:32 $
.TH dbck 8 "August 22, 1991"
.SH NAME
dbck - reports and corrects errors in the LysKOM database. This
program is also used remove unreferenced texts from the texts file.
dbck - LysKOM database maintenance program
.SH SYNOPSIS
.B /usr/lyskom/bin/dbck
[
......@@ -35,144 +34,8 @@ program is also used remove unreferenced texts from the texts file.
.I config_file
]
.SH DESCRIPTION
This program should be run after something has happened that has made the
database corrupted. It can only be used for some other database
maintenance.
.PP
It fixes the database, checking all references.
.PP
With argument
.B -g
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
The database is only modified if at least one of the options
.B -r ", " -i ,
or any of the options that explicitly manipulate the database
are given.
Otherwise, it is only checked and any detected errors are reported.
.PP
The option
.B -F
forces the database to be written even if no modifications have been made.
.SH OPTIONS
Both the short and long form of the opions are given below.
.TP
.B \-h \-\-help
Give a usage message (which includes the version number and the
compiled-in default location of the config file) and exit
immediately.
.TP
.B \-i \-\-interactive
Run interactively.
If any inconsistency is found, a remedial cure will be suggested, and
the user must confirm if he wants the action to be taken or not.
.TP
.B \-r \-\-auto\-repair
Repair simple errors without asking.
.TP
.B \-v \-\-verbose
Verbose mode. Report not only errors but other statuses of the
database.
.TP
.B \-g \-\-compact\-text\-mass
Do the garbage collect of the texts part of the database. This is
sometimes called a compression of the text but it only removes
non-referenced texts.
.TP
.B \-s \-\-print\-statistics
Gather statistics about the lengths of texts. A table containing
the frequency of all lenghts that is currently used is printed.
.TP
.B \-t \-\-list\-text\-no
Print
.B Checking text_no
.I T
for each text number
.I T
that exists. Warning: this generates lots of output!
.TP
.B \-c \-\-set\-change\-name
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.
.TP
.BI \-P " pers_no " \-\-clear-password= pers_no
Clear the password of the specified user.
This option is silently ignored if the user doesn't exist.
.TP
.BI \-G " pers_no " \-\-grant-all= pers_no
Grant all privileges to the specified user.
This option is silently ignored if the user doesn't exist.
.TP
.BI \-o " format " \-\-output\-version= " format "
Select output format. Valid formats are 1 or 0.
.TP
.B \-F \-\-force\-output
Force output. Always write a new data file even if no modifications
have been made. This is useful for converting between different
database formats.
.B \-\-pers-pres-conf= " conf-no "
Set the conference for person presentations. This option overrides the
configuration file and the database file.
.B \-\-conf-pres-conf= " conf-no "
Set the conference for conference presentations. This option overrides
the configuration file and the database file.
.B \-\-motd-conf= " conf-no "
Set the conference for lapps on doors. This option overrides the
configuration file and the database file.
.B \-\-kom-news-conf= " conf-no "
Set the conference for news about LysKOM. This option overries the
configuration file and the database file.
.B \-\-motd-of-kom= " text-no "
Set the login message of LysKOM. This option overrides the
configuration file and the database file.
.SH NOTES
The messages
.I Conference <confno> has a bad Text-list. Starts with 0
and
.I Person <persno> has created <number> conferences, not <number>
.RI ( as
.I said in
.IR person-stat ).
are normal. If you get them when you specify
.B -g,
let
.B dbck
fix them and run
.B dbck -g
again.
.SH FILES
.TP 20
.B /usr/lyskom
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.
.TP
.IB database-directory /db/ramkomd-texts
File with the texts.
.TP
.IB database-directory /db/ramkomd-backup
Backup file of
.B ramkomd-data.
.SH BUGS
Does not lock the database.
.PP
Does never check if the database is locked.
.PP
Should have an unlock database option.
.PP
Does not check that
.B ramkomd-data
and
.B ramkomd-texts
are consistent.
.SH AUTHOR
Per Cederqvist <ceder@lysator.liu.se>
dbck is a LysKOM database maintenance program.
.SH SEE ALSO
Full documentation can be found in the Texinfo manual "dbck
Reference Manual" (found in info format as
.BR dbck.info ).
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