Jesse Keating wrote:
On Fri, 2005-12-09 at 18:27 +0100, Nicolas Mailhot wrote:
If yum is so concerned about this "data" safety why is it storing it in a filesystem tree specifically reserved for stuff that can be removed without notice?
But anyway this was not my point.
I don't see anything in the FHS that says things will come in randomly and remove stuff w/out notice.
" The application must always be able to recover from manual deletion of these files "
So other stuff does not need to notify the app that wrote those files before deleting them
" (generally because of a disk space shortage) "
So when the system / the admin wants to reclaim some disk space, it's / he's allowed to do a find /var/cache -type f -exec -rm -f {} ;
Actually it goes even farther than this, other stuff don't have to give any particular reason to delete files in /var/cache.
Any package may include such a bit in its install scriplets and it'll be perfectly legit.