From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e66415018d2564f7 X-Google-Attributes: gidfee84,public X-Google-Thread: 10b2d5,e66415018d2564f7 X-Google-Attributes: gid10b2d5,public X-Google-ArrivalTime: 1994-09-22 13:12:19 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!olivea!uunet!not-for-mail From: tal@plts.org (Tom Limoncelli) Newsgroups: news.admin.technical,comp.unix.osf.osf1 Subject: Re: Tunefs the /news filesystem? Date: 22 Sep 1994 16:09:41 -0400 Organization: PLTS, Somerville, NJ USA Sender: zorch@ftp.UU.NET Distribution: world Message-ID: <35soa5$72q@ftp.UU.NET> References: <355aci$be@kenya.isu.edu> <3584uk$mkm@ftp.UU.NET> <35co3u$oc@ftp.UU.NET> <35l8sf$49u@ftp.UU.NET> NNTP-Posting-Host: ftp.uu.net Xref: bga.com news.admin.technical:292 comp.unix.osf.osf1:3654 In <35l8sf$49u@ftp.UU.NET> mkl@rob.cs.tu-bs.de (Mario Klebsch) writes: >But sincs I don't care how long it takes to look up an article, why >doesn't the news software simply compress the articles after posting >and decompresses them when reading? As long as all news readers use >nntp, there should be no problems. It's even more simple than that! All programs read articles via the same call in the INN source. Modify that one routine to check for a .gz file if the article isn't found. Then, to do the compression just do this every 6 hours: cd /var/spool/news gfind . -regex '.*/[0-9][0-9]*$' -mtime +1 -print | xargs gzip -9 This way you get (1) minimal code changes, (2) fast access to recent news. This is another opportunity for someone to become famous by writing a minimal amount of code. --tal -- Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work) Write to me for info about internet mailing lists on these topics: Drew University Alumni/ae, IXO/tpage users, New Jersey Unix Sysadmins' Group (like SAGE), New Jersey motss, North East motss, BiNet/New Jersey, and more!