Path: utzoo!utstat!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!samsung!munnari.oz.au!metro!wolfen!bhpcpd!bernd From: bernd@bhpcpd.kembla.oz.au (Bernd Wechner) Newsgroups: news.software.b Subject: Is there a way to expire to a specified free disk space? Keywords: expire, space Message-ID: <1990Nov6.181747.21191@bhpcpd.kembla.oz.au> Date: 6 Nov 90 18:17:47 GMT Organization: BHP Coated Products Division, Research & Technology Centre Lines: 21 I have often wondered if there was a nice easy way to expire news until a specified quantity of disk space if freed. This would help to maintain free disk space which is currently consumed when news breaks through a bottleneck in the network. Under this circumstance, an expire which keeps news for a specified period of time will let the disk overfill. In essence it would be nice to say: "expire as usual, but keep going if less than X MB of free space exists" Has this been done? Have I not RTFM closely enough? Although I haven't tried it I expect I can whip something up using the -n option of Cnew's expire incrementing the date until the space is acceptable. This would be slow though as it might possibly involve several expire runs. -- Bernd Wechner, Research Officer (bernd@bhpcpd.kembla.oz.au) BHP Coated Products Division, Research and Technology Centre Port Kembla, New South Wales, Australia. Brought to you by Super Global Mega Corp .com