mkhistory(8cn)

mkhistory8cn

Rebuild news history file

Usage

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

Overview

Mkhistory rebuilds the history file and its auxiliaries to match the articles in /var/spool/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/spool/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

/var/lib/news/history	history file
/var/lib/news/history.pag	dbm database for history file
/var/lib/news/history.dir	dbm database for history file
/var/lib/news/history.n*	new history file and dbm files abuilding
/usr/lib/news/maint/*	various auxiliaries

Releases

10 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1–3.0
  2. 3.1–5.0

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.

From cnews cr.g7-40.4 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.