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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux