Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matthias Schniedermeyer
On 02.08.2007 11:57, Matt McCutchen wrote: > > Could you give me a hint, so i can patch my local rsync? > > Add the option (--o_noatime or whatever you want to call it) in all > the appropriate places in options.c, including a variable to store > whether the option is on. Then declare the variab

Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matt McCutchen
On 8/2/07, Matt McCutchen <[EMAIL PROTECTED]> wrote: > Then declare the variable in sender.c and > modify the do_open call in send_files to pass NO_ATIME if the variable > is true. Oops, I meant O_NOATIME, as you probably guessed. Matt -- To unsubscribe or change options: https://lists.samba.org

Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matt McCutchen
On 8/2/07, Matthias Schniedermeyer <[EMAIL PROTECTED]> wrote: > I once wrote to the mutt-maillinglist why mutt doesn't set atime > explicitly, so that it works even on noatime-mounted filesystems, but i > was totally ignored. Maybe that question was just stupid. Setting the atime explicitly makes

Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matthias Schniedermeyer
On 02.08.2007 09:32, Matt McCutchen wrote: > On 8/2/07, Matthias Schniedermeyer <[EMAIL PROTECTED]> 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 mailb

Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Paul Slootman
On Thu 02 Aug 2007, Matt McCutchen wrote: > On 8/2/07, Matthias Schniedermeyer <[EMAIL PROTECTED]> 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 mailbo

Re: Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matt McCutchen
On 8/2/07, Matthias Schniedermeyer <[EMAIL PROTECTED]> 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

Option to not update Atime on filesystems not mounted noatime

2007-08-02 Thread Matthias Schniedermeyer
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 opti