GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SNPRIMEDB (8)

NAME

snprimedb - feed the sn database.

CONTENTS

Synopsis
Description
Bugs
Environment Variables
Files

SYNOPSIS

snprimedb [-i] (no arguments)

DESCRIPTION

snprimedb reads records from its standard input and enters them into the database. The database is appended to; if you want to start a new database, you would delete the database files .chain, .table, .newsgroup before running this program.

The main purpose of snprimedb is to rebuild the ID database. Then its input is usually obtained from snscan.

If the option -i is given, simply initialize the database files if they do not exist, and exit.

Input lines are of the format
newsgroup id serial where newsgroup is the newsgroup the article may be found in, id is its message id, and serial is the local serial number of that article in that newsgroup. If newsgroup is the special name =junk, then the whole line is ignored.

You will need to be root or the owner of /var/spool/news to do this.

BUGS

snprimedb does not check to see that the articles really exist. Also the size of the hash table is fixed at compile time.

Under degenerate conditions, the hash table file .chain (see below) could grow very large, with reclaimed space remaining unused. This is due to the very simple file space allocator, which doesn’t know how to coalesce adjacent free areas. It doesn’t know how to split them either. The allocator assumes that the shape of the distribution of record lengths remains quite constant over time.

The hash table database doesn’t make any attempt to reduce its footprint. This should be acceptable, since the database is shared.

ENVIRONMENT VARIABLES

SNROOT If this is set and is not empty, the value is used in place of /var/spool/news, the default news spool directory.

FILES

/var/spool/news/.table
  snprimedb uses this file as the index of the hash table, and ...

/var/spool/news/.chain
  as the hash chains, and ...

/var/spool/news/.newsgroup
  to attach an integer identifier to each newsgroup name. This file is a human-readable flat text file.

Search for    or go to Top of page |  Section 8 |  Main Index


N.B. SNPRIMEDB,V0.3.8 (8) Harold Tay

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.