MKHISTORY

Section: Misc. Reference Manual Pages (8CN)
Updated: 28 Aug 1994
Index Return to Main Contents
 

NAME

mkhistory - rebuild news history file  

SYNOPSIS

/usr/libexec/news/maint/mkhistory [ -s sizemultiplier ]  

DESCRIPTION

Mkhistory rebuilds the history file and its auxiliaries to match the articles in /var/news. Normally mkhistory uses a reasonable default size for the dbz(3Z) index database; if the -s option is given, the expected number of entries in the history database is taken to be the number of articles found in /var/news times sizemultiplier.

Mkhistory is fairly slow and locks the whole news system for the duration of the run, so it should not be run casually.  

FILES

/etc/news/historyhistory file
/etc/news/history.pagdbm database for history file
/etc/news/history.dirdbm database for history file
/etc/news/history.n*new history file and dbm files abuilding
/usr/libexec/news/maint/*various auxiliaries
 

SEE ALSO

dbm(3Z), expire(8CN)  

HISTORY

Written at U of Toronto by Henry Spencer.  

BUGS

Mkhistory is inherently incapable of reconstructing history-file lines corresponding to expired articles. Protection against old articles reappearing is thus somewhat limited for a while after the history file is rebuilt.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
HISTORY
BUGS

This document was created by man2html, using the manual pages.
Time: 16:42:32 GMT, November 10, 2022