🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53943

Re: timehash and cnfs

#53943
From: Graeme Mathieson
Date: Thu, 23 Aug 2001 09:22
40 lines
2523 bytes
"madog" <madog@madogcc.myip.org> writes:

[ expire.ctl ]
> some one has told me this, currently i set this:
>
> test:A:1:1:1
> *:A:30:30:30
> 
> which i think is to keep the articles in group "test" for only 1 day,
> whil the others for 30 days is that right ?

That's correct, yes.

> ok, but i still feel confused about class, for example, is it legal to
> set class this way ?
> 
> method timehash {
>         newsgroups: *
>         class: 0
>         size: 2,64000
> }
> method timehash {
>        newsgroups: *
>        class: 1
>        size: 2,64000

I don't get it.  The second method stanza there is completely pointless.
storage.conf(5) says:

        If an article matches multiple storage method entries, the
        first one will be used.

Since both are exactly the same, only the first would ever be used.

For timehash, the class specifies the directory under $patharticles
that the article is stored under.  For example, in your first method
there, articles would be stored in $patharticles/time-00/...
-- 
graeme+sig@mathie.cx                          http://www.mathie.cx/~graeme/
Technical Details
Message-ID: <87pu9nb07a.fsf@homer.mathie.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.mathie.cx!not-for-mail
References: <9m1gr6$bbr$1@mail.cn99.com> <yln14rvbop.fsf@windlord.stanford.edu> <9m1q4v$h8q$1@mail.cn99.com> <ylsnejbgkt.fsf@windlord.stanford.edu> <86vgjfqr0b.fsf@kaytest.dmt.dk> <87zo8rb4ih.fsf@homer.mathie.cx> <9m2d63$1bm$1@mail.cn99.com> <87vgjfb364.fsf@homer.mathie.cx> <9m2fpu$2uo$1@mail.cn99.com>

Show Full Headers
Complete Article Headers
Message-ID: <87pu9nb07a.fsf@homer.mathie.cx>
Subject: Re: timehash and cnfs
Date: Thu, 23 Aug 2001 09:22:01 +0000
From: Graeme Mathieson <graeme+usenet@mathie.cx>
References: <9m1gr6$bbr$1@mail.cn99.com> <yln14rvbop.fsf@windlord.stanford.edu> <9m1q4v$h8q$1@mail.cn99.com> <ylsnejbgkt.fsf@windlord.stanford.edu> <86vgjfqr0b.fsf@kaytest.dmt.dk> <87zo8rb4ih.fsf@homer.mathie.cx> <9m2d63$1bm$1@mail.cn99.com> <87vgjfb364.fsf@homer.mathie.cx> <9m2fpu$2uo$1@mail.cn99.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.mathie.cx!not-for-mail
Newsgroups: news.software.nntp
Organization: <Insert something funny here about organisation or lack thereof>
Lines: 39
Sender: graeme@homer.mathie.cx
NNTP-Posting-Host: homer.mathie.cx
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: homer.mathie.cx 998558522 6986 62.189.57.194 (23 Aug 2001 09:22:02 GMT)
X-Complaints-To: usenet@mathie.cx
NNTP-Posting-Date: Thu, 23 Aug 2001 09:22:02 +0000 (UTC)
X-Secret: Znqr lbh ybbx!
Mail-Copies-To: never
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)