Article View: news.software.nntp
Article #83864Re: CNFS articles going into tradspool directories
From: John F. Morse
Date: Thu, 10 Feb 2011 19:05
Date: Thu, 10 Feb 2011 19:05
95 lines
3890 bytes
3890 bytes
Russ Allbery wrote:
> 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.
>
The inode number.
"ls -i" or "stat" provides the information.
The inode is identical.
So, would the tradspool file be deleted when the CNFS buffer rolled
around at some future date?
I don't think so since it is a hard link, but I've been known to make
errors. ;-)
> 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.
>
OK. "Accept and store" then. ;-)
>> "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
> }
>
Easy enough, and applied. Tests OK. Thanks.
Wouldn't the ! work just as good?
> 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.
>
I don't, but I'll file this for future reference. Thanks
>> 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.
The actual used-to-be final "*" in CNFS storage.conf had to be changed
to "*,!junk" because the junk class was added at a later date below the
"*" catch-all.
I suppose I could move junk up one stanza, and then remove the ! from *
and it would work.
--
John
When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<ij1cuj$9tu$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.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!news.glorb.com!news2.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mailReferences:
<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> <87k4h8hc99.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <ij1cuj$9tu$1@n102.xanadu-bbs.net> Subject: Re: CNFS articles going into tradspool directories Date: Thu, 10 Feb 2011 13:05:55 -0600 From: "John F. Morse" <john@example.invalid> 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> <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.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!news.glorb.com!news2.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 95 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: n102.xanadu-bbs.net 1297364755 10174 192.168.89.210 (10 Feb 2011 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Thu, 10 Feb 2011 19:05:55 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (X11/20101027) In-Reply-To: <87k4h8hc99.fsf@windlord.stanford.edu> X-Enigmail-Version: 0.96.0