Option to not update Atime on filesystems not mounted noatime

Matt McCutchen hashproduct+rsync at gmail.com
Thu Aug 2 13:32:56 GMT 2007


On 8/2/07, Matthias Schniedermeyer <ms at citd.de> wrote:
> I have a single filesystem i don't mount noatime because mutt would work
> very good otherwise.

IMHO, mutt is broken for relying on atimes because other programs
reading the mailbox will cause mutt to miss new mail.  It would be
silly to solve the problem by demanding that all those programs use
O_NOATIME.  But that doesn't mean rsync shouldn't offer O_NOATIME...

> Today, in a discussion about mkisofs, i learned that Linux since 2.6.8
> supports "O_NOATIME" as an option to open. (see "man 2 open")
>
> So how comes that rsync doesn't do that and/or there is no option to
> switch on that behaviour?

Nobody has bothered to implement it yet.  It wouldn't be hard to do.

Matt


More information about the rsync mailing list