[news.software.b] Limiting the news spool to a fixed size

kurt@ibmarc.uucp (Kurt Shoens) (02/25/89)

I would like to keep as many news articles on my system as possible,
within the constraints of disk space and inodes (I am sadly limited
to 32,000 inodes at present).  "Expire" usually works fine, except
when I batch up news for days before dumping it on my system.  Then,
the flat distribution of article ages is upset, and expire removes
fewer articles than usual.

What I need is a program that computes a histogram of news articles,
both by arrival date and posted date (these being the two criteria by
which I can expire them) that will invoke expire with the right arguments
to leave a comfortable amount of free space and inodes each night.
This hypothetical program would choose to expire either by arrival date
or by posted date, according to which left the "right" number of articles.

So my questions are...

  Has anyone written such a utility?

  Does C news include such an ability?

An aside:  I would love to read the C news equivalent of the B news
documentation file "install.mn" so I could guess at the new features!

Kurt Shoens, IBM Almaden Research Center, ...!uunet!ibmarc!kurt