Re: [PATCH] unix-mail.c when using a filesystem that is mounted with noatime
Johan Walles <[email protected]> 23 Mar 2003 17:47:13 +0100
| Newsgroups | gmane.comp.gnome.apps.bubblemon |
|---|---|
| Message-ID | <1048438033.1164.6.camel@foo> |
tis 2003-03-18 klockan 18.11 skrev Adam Sjøgren: > I was wondering whether there is some way to detect whether the > filesystem that $MAIL resides on has been mounted with noatime? I have no idea unforturnately :-(. Is there? > I mount with noatime, and bubblemon always thinks I've got mail... > > So I made a little change, included below, that bubblemon perhaps > could fall back to, if atime isn't updated? I don't have a problem with falling back to this solution if noatime is in fact not updated, but the question is how to detect it. What do you think? I wouldn't want to default to your solution however, because that would break the mail indication for mailers who use $MAIL for storage. But if you can find out how to detect your noatime setting, I'm all for your plan B. Cheers //Johan