[systemd-devel] tmpfiles versus tmpwatch

Lennart Poettering lennart at poettering.net
Wed Apr 29 03:22:26 PDT 2015


On Wed, 29.04.15 22:08, Roger Qiu (roger.qiu at polycademy.com) wrote:

> Hi Lennart,
> 
> So there really isn't a fast of way just checking if a file has an open file
> descriptor on it?
> 
> Sometimes atime is on relatime, so it only gets updated if modification is
> earlier.

Using relatime is fine, except for /tmp and /var/tmp really. Setting
the flag for those file systems is really a poor choice, since it
breaks "aging" things there...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list