Hoping someone has seen this before and has suggestions for fixing.

I have a RedHat 6.0 (stock kernel 2.2.5-15) desktop accessing
mbox-format folders via NFS on a Sun running Solaris 2.6.
(Yes, I know there are potential problems due to locking
and what not in this scenario, but I avoid those by only
ever reading mail from my desktop). Everything seems to
work fine for the most part, but any time I empty a folder
things get a bit weird. I've got 'set save_empty', so an
empty folder gets left as a zero-sized file, rather than
removed (so that my list of mailboxes doesn't get out
of sync with what really exists). But 'stat <file>'
as shown below shows that the modification time is
more recent than the access time.

> stat ~/mail/folders/junk
  File: "/home/scmunix1/twalberg/mail/folders/junk"
  Size: 0            Filetype: Regular File
  Mode: (0600/-rw-------)         Uid: (10044/twalberg)  Gid: (  105/ttcusers)
Device:  0,8   Inode: 9683      Links: 1    
Access: Tue Jul  6 08:47:24 1999(00000.00:33:48)
Modify: Tue Jul  6 08:55:01 1999(00000.00:26:11)
Change: Tue Jul  6 08:59:05 1999(00000.00:22:07)

This of course makes mutt think that there is new mail
in the folder, and, since revisiting the folder will
not modify it, this condition seems to persist until
either, a) there really is new mail in the folder or
b) I 'rm <file>; touch <file>' (which makes the access
and modification times identical).

Other folders that have been read and modified (messages
deleted, but not some left - i.e. not empty folders) have
access times that are more recent than the modification
time.

Question is, is this something odd that mutt is doing,
or should I be digging into Linux/Sun NFS interactions?

Thanks in advance for any help you can give.

                                tw


-- 
+------------------------------+--------------------------+
| Tim Walberg                  | Phone: 847-782-2472      |
| TERAbridge Technologies Corp | FAX:   847-623-1717      |
| 1375 Tri-State Parkway       | [EMAIL PROTECTED]  |
| Gurnee, IL 60031             | 800-SKY-TEL2 PIN 9353299 |
+------------------------------+--------------------------+

PGP signature

Reply via email to