Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-unix!hplabs!sdcrdcf!SDC-CAMARILLO.ARPA!SDC-CAMARILLO.ARPA!jonab From: jonab@SDC-CAMARILLO.ARPA.UUCP Newsgroups: news.software.b Subject: Re: Sharing news across NFS Message-ID: <341@SDC-CAMARILLO.ARPA> Date: Mon, 23-Feb-87 11:59:43 EST Article-I.D.: SDC-CAMA.341 Posted: Mon Feb 23 11:59:43 1987 Date-Received: Thu, 26-Feb-87 22:11:39 EST References: <185@quacky.mips.UUCP> Reply-To: jonab@SDC-CAMARILLO.ARPA (Jonathan P. Biggar) Organization: SDC R+D Distributed Architectures, Camarillo, CA Lines: 34 In article <185@quacky.mips.UUCP> dce@quacky.UUCP (David Elliott) writes: >I have implemented this as follows: > > 1. /usr/spool/news is shared > 2. /usr/new/lib/news is shared, but seq and sys are symbolic > links to files in /usr/new/lib/news.local > 3. Only the machine that has the news disks actually gets > news from outside. > >Is there any way for me to change it so that inews doesn't update the >active file? That is, without changing all of the various news posting >commands, can I tell inews to just send the news to rnews@mips without >saving a local copy? > Here is what I did with our collection of Suns: I set up /usr/spool/news and /usr/lib/news to be shared via nfs, but I don't define HIDDENNET. Instead, I replace /usr/lib/news/inews with the following shell script: #!/bin/sh if [ `hostname` = sdcjove ]; then /usr/lib/news/inews.real "$@" else rsh sdcjove /usr/lib/news/inews.real "$@" fi Where sdcjove is the name of my main news machine. All news is forwarded to sdcjove where it is posted normally. Jon Biggar sdcrdcf!jonab jonab@CAM.UNISYS.COM