Red Hat Bugzilla – Bug 4178
patch for basing tmpwatch on mtime instead of atime
Last modified: 2008-05-01 11:37:51 EDT
On systems which use GNU tar for backups (as an example) the
atime of files is being updated on a regular basis and this
invalidates the efforts of tmpwatch. I wrote a patch which
adds a flag for the option of using mtime to make the
decision about deleting the files. I wrote the patch against
tmpwatch-1.2 which is why I'm filing this under RH 4.2, but
it should apply to newer versions.
The patch is coming in a seperate followup. Thanks.
this will be added in the next release (6.1). Thank you for the