[Dovecot] Problems with dovecot using Maildir on JFS.

Willem Riede wriede at riede.org
Sat Feb 12 17:38:52 EET 2005


On 02/09/2005 02:15:18 PM, Timo Sirainen wrote:
> 
> JFS doesn't update directory's mtime when files are added, removed or
> renamed in it. So Dovecot can't know when the maildir has changed
> without constantly reading its contents. With Linux's dnotify this could
> be kind of worked around, but I'm not really interested about doing
> that.

[wriede at serve ~]$ mount | grep jfs
/dev/mapper/VolGroup00-LogVol01 on /home type jfs (rw)
[wriede at serve ~]$ mkdir try
[wriede at serve ~]$ stat -c%y try
2005-02-12 10:27:30.923695153 -0500
[wriede at serve ~]$ date
Sat Feb 12 10:28:25 EST 2005
[wriede at serve ~]$ touch try/afile
[wriede at serve ~]$ stat -c%y try
2005-02-12 10:28:37.978676796 -0500
[wriede at serve ~]$ date
Sat Feb 12 10:28:48 EST 2005
[wriede at serve ~]$ mv try/afile try/somethingelse
[wriede at serve ~]$ stat -c%y try
2005-02-12 10:29:33.456596795 -0500
[wriede at serve ~]$ date
Sat Feb 12 10:29:43 EST 2005
[wriede at serve ~]$ rm try/somethingelse
[wriede at serve ~]$ stat -c%y try
2005-02-12 10:29:51.707964720 -0500
[wriede at serve ~]$ date
Sat Feb 12 10:30:08 EST 2005

[wriede at serve ~]$ man stat
NAME
       stat - display file or filesystem status
...
       %y     Time of last modification

Comments? Willem Riede.




More information about the dovecot mailing list