Path: utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!samsung!olivea!sun-barr!newstop!grapevine!west!texsun!hosaka.Central.Sun.COM!jthomp From: jthomp@hosaka.Central.Sun.COM (Jim Thompson) Newsgroups: news.software.b Subject: Re: Multi-Filesystem News Spool Message-ID: <1198@texsun.Central.Sun.COM> Date: 30 Oct 90 00:57:27 GMT References: <495@zok.UUCP> Sender: news@texsun.Central.Sun.COM Distribution: news Organization: Sun Microsystems, Mt. View, Ca. Lines: 24 In article <495@zok.UUCP> mark@zok.UUCP (Mark W. Snitily) writes: >It's not *exactly* what you want, but it'd a starting point. A few months >ago I posted diffs to Bnews 2.11.19 so that it use multiple filesystems. >The code only handles two filesystems but could be generalized. Basically >the idea is: if you get an error from the hard link, do a copy. It'll >make only one copy per filesystem and then generate additional hard links >if needed. Hmm, I did something slighly different than this, but it requires symbolic-links. Basicly you *always* copy the first occurance of an article that was cross-posted. You then create symbolic links to *that* article for the rest of its 'appearances'. This handles as many filesystems as you'ld like to put 'underneath' the spool, at the expense of an article becomming completely unreadable if you happen to unlink() or otherwise loose the 'first' copy. All the changes are confined to inews.c. -- Jim Thompson - Network Engineering - Sun Microsystems - jthomp@central.sun.com Charter Member - Fatalistic International Society for Hedonistic Youth (FISHY) "DEC measures benchmarks with a calendar." -- Bumper sticker on a VW van.