rdzidlic writes

does recollindex modify atime? I notice that mutt no longer displays folders with unseen email which is the usual symptom.

medoc writes

Recoll makes no effort to preserve atime. As far as I know, there is no simple way to do this without changing ctime which is much worse. Using atime for anything is properly moronic (what of noatime? what of another app using the maildir ?)

rdzidlic writes

apparently, O_NOATIME is intended for exactly this purpose. Not only does it preserve atime but it will also reduce io - where supported.

There seem to be other possibilities, tar supports some and for the special case of MBOXes even workarounds should be considered where simple NO_NOATIME doesn’t work.

rdzidlic writes

apparently xapian already does this: http://trac.xapian.org/ticket/222

  • only recoll MBOX extraction does not know how to do it.

medoc writes

Use O_NOATIME to avoid disturbing st_atime when possible. Closes issue #230

→ <<cset a8557846633a > >