🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Steven Gillard Fri, 18 Sep 1998 00:00
CNFS utility for recovery after a crash
#31499
Author: Steven Gillard
Date: Fri, 18 Sep 1998 00:00
33 lines
1888 bytes
Greetings,

After a recent system crash I had a problem where the most recent few
articles in each cycbuff file were overwritten by new articles.  In some
lesser-used buffers I lost 20 articles which equated to a day of news in
these groups.

This was caused by an un-updated free pointer in the cycbuff headers -
by default INN updates the cycbuff header on disk after each 25
articles.

I have written a utility to check and adjust the free pointer of a
cycbuff file if necessary.  This utility (which i've dubbed "cbck") can
also be used to reset a cycbuff and change the path name in the header
so you can move it in the file system.

I've found it useful (along with makehistory -r it makes INN 2.x & CNFS
recovery _almost_ complete), so i thought i'd post a message here to see
if anyone else has an interest.  If anybody wants the source, drop me a
line (remove "nojunkmail" from my email to reply).  Ideally someone will
load it on a web page or ftp site with other INN stuff.

Note that its only been tested on HPUX 10.20 and with file system
cycbuffs, but it should be portable enough (been working with hpux so
long I just cant tell any more  :-(  )

Cheers,
Steve

steven_gillard@hp.nojunkmail.com
...opinions expressed are my own...

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads