22 Sep
2006
22 Sep
'06
6:13 p.m.
On Fri, 2006-09-22 at 08:43 -0600, Robert Creager wrote:
Timo Sirainen wrote:
The problem is that hardlinking a file to another directory didn't update the directory's mtime. You most likely don't have that bug fixed in your kernel.
Interesting. Where are the files hard linked from? They show up in the new directory, but where else are they?
The way maildir delivery works is:
create the file in tmp/ hardlink it to new/ unlink from tmp/
The last two steps could be done with a rename() which would fix the JFS problem, but since there's a tiny (practically non-existent with Dovecot) possibility of that overwriting a mail file in new/ dir, link()+unlink() is done.