Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!amgraf!heitis1!news From: news@heitis1.uucp (News Administrator) Newsgroups: news.software.b Subject: Re: relaynews x-posting problem solved. Message-ID: <1991Apr16.174829.9417@heitis1.uucp> Date: 16 Apr 91 17:48:29 GMT References: <1991Apr12.121017.4804@tygra.UUCP> Organization: Harmon Electronics, Inc Lines: 27 In article <1991Apr12.121017.4804@tygra.UUCP> jp@tygra.UUCP (John Palmer) writes: >Solved the crossposting problem that I was having. > >Problem: I had to make a separate filesystem out of /usr/spool/news/comp >as I was running out of INODES for news. Xenix only allows ~65k INODES >per filesystem. The problem occurred when an article came in that was >crossposted to comp.* and some other hierarchy. Relaynews creates the > >Solution: Hack the files fileart.c and relaynews.c to do the following: >In the main pgm, create an empty file called "/tmp/rncpcmds". Then, >change the function mkonelink (which files an article by either creating >the file for it, or creating a link to a file which already exists) to >call the function "copyart" if the link fails. > Problem: Suppose the file is cross-posted to: comp.sources.d,alt.sources,alt.aquaria,soc.womyn, etc.... It will create 4 copies of the article in this case. I had patches which took care of this at one point, not because of Inodes, instead disk space (4 40Meg HD's). What I did, was attempt to make a link, if it failed, I did a copy, and then on subsequent links tried both names. This continued until all cross-postings had been either, linked, or copied, or linked to copies, etc, ad-infinitum. I will see if I can find the patches and send them, and if anyone else is interested, I can also post'em. brian