🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83869

Re: CNFS articles going into tradspool directories

#83869
From: Russ Allbery
Date: Thu, 10 Feb 2011 02:08
61 lines
3428 bytes
"John F. Morse" <john@example.invalid> writes:
> Russ Allbery wrote:

>> Are you sure that it's a duplicate copy?  It should be a hard link (and
>> hence will not take up any additional space).

> Yes, I am sure.

> These are separate directories and separate files. No linking involved.

Do you know what to look for to see whether it's a hard link?  I ask
because neither of the things you said above (separate directories and
separate files) indicate that it's not a hard link, so I'm not certain if
you know what you're looking at.

> Poison wildmats would be a major undertaking since it is not known which
> groups might be crossposted.

But you know what groups you want to store in CNFS, so you can poison all
of those.

> Also, wouldn't a poisoned group never be accepted - anywhere?

Your storage.conf configuration doesn't have anything to do with what
newsgroups you accept.

> "Poison wildmat expressions (expressions starting with "@") are allowed
> and can be used to exclude certain group patterns:  articles crossposted
> to poisoned newsgroups will not be stored using this storage method.
> The <wildmat> pattern is matched in order."

> If I'm dense here, please give me an example using the two local groups I
> provided in my report.

method tradspool {
    newsgroups: local.*,@local.binaries
    class: 0
}

If you actually accept crossposts between your local.* hierarchy and other
non-local groups (not recommended), you can use something like:

method tradspool {
    newsgroups: @*,local.*,@local.binaries
    class: 0
}

to poison all non-local.* groups.

> Rearranging the storage.conf listing is not feasible due to the final
> "*" wildcard used for CNFS groups not listed elsewhere.

Yes, if you want CNFS to be your catch-all, you need to use poison
patterns instead if you want to exclude some groups from your tradspool
configuration.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87k4h8hc99.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
References: <iiv3oq$k2e$1@n102.xanadu-bbs.net> <8rgm2hFvolU1@mid.individual.net> <iivadv$nbg$1@n102.xanadu-bbs.net> <87hbccloy2.fsf@windlord.stanford.edu> <iivga8$p2e$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <87k4h8hc99.fsf@windlord.stanford.edu>
Subject: Re: CNFS articles going into tradspool directories
Date: Wed, 09 Feb 2011 18:08:50 -0800
From: Russ Allbery <rra@stanford.edu>
References: <iiv3oq$k2e$1@n102.xanadu-bbs.net> <8rgm2hFvolU1@mid.individual.net> <iivadv$nbg$1@n102.xanadu-bbs.net> <87hbccloy2.fsf@windlord.stanford.edu> <iivga8$p2e$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 61
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: usenet-its.stanford.edu 1297303730 13871 171.67.225.134 (10 Feb 2011
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Cancel-Lock: sha1:JA95LW7wq1Q530dYS2ArbFx9mN4=
X-Original-Bytes: 3142