On Sun, May 08, 2005 at 05:32:56PM +0100, Paul Jakma wrote:
> On Sat, 7 May 2005, Liam Bedford wrote:
>> >You've reminded me. My UML box at bytemark had / mounted noatime.
> >Mutt couldn't figure out what was going on with my mail at all at
> >all. It kept telling me there was new mail in every folder. So mutt
> >uses atime.
>> Odd, why can't it use mtime?
It does.
> Mutt should know when it's updated a mail (eg to unset a 'NEW' flag
> when you read a mail) and be able to maintain its own 'my-mtime', so
> if it notices the file mtime change from its internal 'my-mtime' ->
> new mail.
That doesn't handle the case of "I've just started mutt, I want to know
which of my 20 mailboxes has new mail"; mutt compares atime with mtime,
and if mtime is later the mailbox has new mail. As far as I know most
Unix mailers perform the same checks. Mutt could update a cache with
the last time it accessed the mailbox, but that wouldn't be
interoperable with any other mailer, whereas atime is.
--
John Tobin
"OS/370 is a truly remarkable operating system. It's possible to destroy
days of work with a single misplaced space, so alertness in the
programming staff is encouraged."
-- http://www.pbm.com/~lindahl/real.programmers.html
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!