Article View: news.software.nn
Article #1895Re: Nnmaster database init
From: Brett McCoy
Date: Wed, 24 Jul 1991 22:17
Date: Wed, 24 Jul 1991 22:17
34 lines
2008 bytes
2008 bytes
In <2460@stasys.sta.sub.org> fkk@stasys.sta.sub.org (Frank Kaefer) writes: >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 ? You need to do one more step after creating the /usr/spool/nn/DATA directory. You need to create a /usr/spool/nn/DATA/1 directory, then run 'nnmaster -I'. If that 1 directory is there then it assumes that it is supposed to use multiple directories, otherwise it will use just one directory. -- Brett McCoy Computing and Telecommunications Activities brtmac@maverick.ksu.ksu.edu Kansas State University "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence." E.W.Dijkstra, 18th June 1975.
Technical Details
Message-ID:
<k8rv30INNile@maverick.ksu.ksu.edu>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!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!maverick.ksu.ksu.eduReferences:
<2460@stasys.sta.sub.org>Show Full Headers
Complete Article Headers
Message-ID: <k8rv30INNile@maverick.ksu.ksu.edu> Subject: Re: Nnmaster database init Date: Wed, 24 Jul 1991 22:17:04 +0000 From: brtmac@maverick.ksu.ksu.edu (Brett McCoy) References: <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!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!maverick.ksu.ksu.edu Newsgroups: news.software.nn Organization: Kansas State University Lines: 34