dbck.latexinfo 3.51 KB
 Per Cederqvist committed Aug 12, 1991 1 \documentstyle[12pt,latexinfo,lyskom]{report} \c -*-latexinfo-*-  Linus Tolke committed Sep 15, 1991 2   Pär Emanuelsson committed Sep 21, 1992 3 \c $Id: dbck.latexinfo,v 0.3 1992/09/21 14:38:58 pell Exp$  Linus Tolke committed Sep 15, 1991 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 \c Copyright (C) 1991 Lysator Academic Computer Association. \c \c This file is part of the LysKOM server. \c \c LysKOM is free software; you can redistribute it and/or modify it \c under the terms of the GNU General Public License as published by \c the Free Software Foundation; either version 1, or (at your option) \c any later version. \c \c LysKOM is distributed in the hope that it will be useful, but WITHOUT \c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License \c for more details. \c \c You should have received a copy of the GNU General Public License \c along with LysKOM; see the file COPYING. If not, write to \c Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN, \c or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, \c MA 02139, USA. \c \c Please mail bug reports to bug-lyskom@lysator.liu.se.  Per Cederqvist committed Aug 12, 1991 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 \pagestyle{empty} \begin{document} \title{dbck --- Automatic LysKOM Database Integrity Check Program\\} \sp{5} \author{Per Cederqvist\\ Lysator\\ ceder@lysator.liu.se} \sp{1} \date{\today} \maketitle \clearpage \vspace{0pt plus 1filll} Copyright \copyright{} 1990 Lysator \sp{2}  Pär Emanuelsson committed Sep 21, 1992 45 This document describes dbck, a program that automatically checks for  Per Cederqvist committed Aug 12, 1991 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 and repairs inconsistencies in the LysKOM data base. \sp{6} Permission is granted to copy and distribute this manual, provided that the above Copyright notice and this text remains on all copies. \clearpage \pagestyle{headings} \pagenumbering{roman} \tableofcontents \clearpage \pagenumbering{arabic} \setfilename{dbck.info} \begin{ifinfo} Copyright \copyright 1991 Lysator \end{ifinfo} \node Top, Invoking dbck, , (top) \comment node-name, next, previous, up Dbck is a data base checker that is used to assure that the data base of LysKOM isn't corrupted. It is also used to gather some statistics and to compact the database. \begin{menu} * Invoking dbck:: Options et c. * Tests:: A complete list of all tests that dbck performs. \end{menu} \node Invoking dbck, Tests, ,Top \comment node-name, next, previous, up \chapter{Invoking dbck} Dbck accepts several switches. If no switches are given dbck will read the file and report any errors found, but it wont repair them. This behaviour is useful to check for errors without having to take down the server. You must take down the server to be able to repair any errors. \begin{description} \item[-D\var{dir}]Tell dbck to look for the data base is in the directory \file{\var{dir}/db} instead of the default \file{/usr/lyskom/db}. \item[-i]Interactive use. If an error is found, and dbck thinks that it can repair it, dbck will display a message describing what error it has found, and how it intend to fix it. The Operator can type \kbd{y} if he accepts the action, och \kbd{n} if not. Note that some errors will be repaired in a way that gives information loss --- but always as little as possible. \item[-r]Repair simple errors without confirmation. \item[-v]Verbose mode. Normally only errors are displayed. If you give the \code{-v} flag some more statistic, such as number of texts, average lengths of texts, and so on, will be printed. \item[-d]Debug mode. Hardly useful unless you are debugging lacgen. \item[-g]Garbage collect. Compact the file \samp{db/lyskom-texts} by removing all unused text. \end{description} \clearpage \chapter{Tests} \end{document}