Path: utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!emory!att!bu.edu!purdue!haven!decuac!hussar.dco.dec.com!mjr From: mjr@hussar.dco.dec.com (Marcus J. Ranum) Newsgroups: news.software.b Subject: Re: Is there a way to expire to a specified free disk space? Keywords: expire, space Message-ID: <1990Nov6.182246.26333@decuac.dec.com> Date: 6 Nov 90 18:22:46 GMT References: <1990Nov6.181747.21191@bhpcpd.kembla.oz.au> Sender: news@decuac.dec.com (Network News) Organization: Digital Equipment Corp., Washington Ultrix Resource Center Lines: 13 In article <1990Nov6.181747.21191@bhpcpd.kembla.oz.au> bernd@bhpcpd.kembla.oz.au (Bernd Wechner) writes: >I have often wondered if there was a nice easy way to expire news until >a specified quantity of disk space if freed. Nifty idea. Hmmm.... I wonder if a lazy expire could be developed. IE: each time expire is run, articles are placed on an "available to trash" list. "spacefor" would then delete as many articles off the trash list as needed to make the space available. That way you could tune your expiry so that when lots of useful discussions about Re^15 "should I check the return value of close(2)?" come across unix wizards, er, internals, it would grab the needed space out of a less important group, like news.admin. :) mjr. Brought to you by Super Global Mega Corp .com