RBFS is the Ring-Buffer File System for FUSE. You can mount it over any filesystem that Linux can mount, and based on configurable rules, it will delete the oldest (configurably mtime or atime -based) files as it approaches full.