--On Thursday, February 10, 2022 8:03 PM -0500 Matthew Miller <mattdm at mattdm.org> wrote:> relatime has been the default for a long time -- that only updates atime > once per some reasonable timeperiod. The wear and tear from that is > negligible and you can still get a basic idea of when files where > accessed.According to the man page for mount, relatime updates atime whenever mtime or ctime are updated, or if neither has been updated in the last 24 hours. Which is still prohibitive if you're doing an incremental (rsync) backup and checking file contents on the "full" backup weekly or monthly. The only apps I've found that need atime are tmpwatch and biff, neither of which I use.
On Thu, Feb 10, 2022 at 05:32:05PM -0800, Kenneth Porter wrote:>--On Thursday, February 10, 2022 8:03 PM -0500 Matthew Miller ><mattdm at mattdm.org> wrote: > >> relatime has been the default for a long time -- that only updates atime >> once per some reasonable timeperiod. The wear and tear from that is >> negligible and you can still get a basic idea of when files where >> accessed. > >According to the man page for mount, relatime updates atime whenever mtime >or ctime are updated, or if neither has been updated in the last 24 hours. >Which is still prohibitive if you're doing an incremental (rsync) backup >and checking file contents on the "full" backup weekly or monthly. > >The only apps I've found that need atime are tmpwatch and biff, neither of >which I use.atime updates that occur when {m,c}time are updated add no additional burden. So you are concerned about a single "possible" inode update once a day? jl -- Jon H. LaBadie jcu at labadie.us
Once upon a time, Kenneth Porter <shiva at sewingwitch.com> said:> According to the man page for mount, relatime updates atime whenever > mtime or ctime are updated, or if neither has been updated in the > last 24 hours. Which is still prohibitive if you're doing an > incremental (rsync) backup and checking file contents on the "full" > backup weekly or monthly.Unless you never write to the disk, that will still be lost in the noise of writes. But if it still bothers you, use rsync --open-noatime. -- Chris Adams <linux at cmadams.net>