Re: rm and old rpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Todd Zullinger <tmz <at> pobox.com> writes:

> ...
> ... But for this particular usage, if I
> wasn't using repomanage (or another rpm specific tool), I'd use
> tmpwatch rather than roll my own solution with find.

Hi,
with regard to tmpwatch.

$ man tmpwatch
...
       By  default,  tmpwatch  dates  files  by their atime (access time), ...
...

You may have to be careful with that.

Keep in mind that the default mount option (/etc/fstab) is relatime, which
causes update to the atime only if the previous atime was older than the file's
mtime or ctime.

But tmpwatch wants to know if a file has been accessed at all in the last
"time" period. So it may pick up for deletion a file that actually was accessed,
but whose atime does not reflect it.

I hope I am correct in this reasoning :-)

JB



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux