As far as I know when
atime is set (which is the default) if I touch a file its datetime will be updated:
0 -rw-r--r-- 1 root root 0 Mar 5 11:57 my_file
When I touch the file the date will be updated. I have set
noatime and rebooted the server and now when I touch the file date will be updated again. Shouldn't it be the same as before? I supposed that touching a file will not change the access time of the file.
Is this true?
I have checked the partition with
mount -l and noatime is present:
/dev/mapper/database-var on /var type xfs (rw,noatime,attr2,inode64,logbsize=256k,sunit=512,swidth=1024,noquota)