Re: [dev] requirements of build systems

From: Pontus Stenetorp <pontus_AT_stenetorp.se>
Date: Tue, 1 Feb 2022 21:29:55 +0900

On Tue 01 Feb 2022, NRK wrote:
> On Mon, Jan 31, 2022 at 12:10:27AM +0200, Petros Pateros wrote:
> > However, it was pointed out to me that relying on mtime can give wrong results,
> > for example:
> > (a) if the clock is set backwards or in case of insufficient granularity in mtime
> > then a file that gets modified might have the same mtime
> > (b) an mmap(2)-ed file can get modified but its mtime might not get updated
> > soon enough
>
> How likely is it for these situations to occur in practice? If these are
> practical problems, then it makes sense to solve them. Otherwise I think
> it's best not to waste resource solving theoretical problems.

Speaking for myself, I certainly have experienced issues with inaccurate timestamps on NFS for compute clusters where its use is very common. Not saying this as a supporter of NFS and the likes, just as evidence that it does occur in practice.
Received on Tue Feb 01 2022 - 13:29:55 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 01 2022 - 13:48:07 CET