Matthias Schniedermeyer
2007-Aug-02 09:27 UTC
Option to not update Atime on filesystems not mounted noatime
Hi I have a single filesystem i don't mount noatime because mutt would work very good otherwise. 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? Bis denn -- Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a "you asked for it, you got it" text editor -- complicated, cryptic, powerful, unforgiving, dangerous.
Matt McCutchen
2007-Aug-02 13:33 UTC
Option to not update Atime on filesystems not mounted noatime
On 8/2/07, Matthias Schniedermeyer <ms@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