🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1892

Nnmaster database init

#1892
From: Frank Kaefer
Date: Wed, 24 Jul 1991 10:28
28 lines
1607 bytes
Greetings!

I have a question about the database init with nn - maybe it is a FAQ.

I wanted to initialize a complete new database with "# nnmaster -I ; nnmaster".

To do this I deleted /usr/spool/nn and did a mkdir of /usr/spool/nn and
/usr/spool/nn/DATA (followed by chown).

Now nnmaster puts all his datafiles directly in /usr/spool/nn/DATA.

Before this, nnmaster had several directories to store the datafiles in:
% ls /usr/spool/nn/DATA
0       11      14      17      2       22      3       7
1       12      15      18      20      23      4       8
10      13      16      19      21      24      5       9

So my question is: why doesn't nnmaster use directories anymore ?

Was it the init script that created these directories ? How does nnmaster know
where to look for the database file ?

Cheers,
Frank
-- 
| Frank Kaefer | fkk@stasys.sta.sub.org | Starnberg, Germany |
| Compuserve: 72427,2101   | Internet: fkk@Germany.Sun.COM   |
| unido!sunde!fkaefer      |    postmaster@Germany.Sun.COM   |
Technical Details
Message-ID: <2460@stasys.sta.sub.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!ira.uka.de!smurf.sub.org!altger!stasys!fkk

Show Full Headers
Complete Article Headers
Message-ID: <2460@stasys.sta.sub.org>
Subject: Nnmaster database init
Date: Wed, 24 Jul 1991 10:28:31 +0000
From: fkk@stasys.sta.sub.org (Frank Kaefer)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!ira.uka.de!smurf.sub.org!altger!stasys!fkk
Newsgroups: news.software.nn
Reply-To: stasys!fkk@Germany.Sun.COM
Organization: Stasys UUCP Server, Starnberg (Germany)
Lines: 28