Current-Users archive

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

Re: tmpfs: touch does not update ctime



On Sat, Sep 26, 2026 at 08:25:56AM +0100, Greg Troxel wrote:
> What does POSIX say?

https://pubs.opengroup.org/onlinepubs/9799919799/functions/futimens.html

has

"Upon successful completion, futimens() and utimensat() shall mark the
last file status change timestamp for update, with the exception that
if both tv_nsec fields are set to UTIME_OMIT, the file status change
timestamp need not be marked for update."

where I think that 'last file status change timestamp' refers to
ctime, and so I think this reads as 'it should be updated as well'.
 Thomas


Home | Main Index | Thread Index | Old Index