[OpenAFS] Mail delivery into OpenAFS
Russ Allbery
rra@stanford.edu
Wed, 09 Jul 2003 13:36:22 -0700
Patrick J LoPresti <patl@users.sourceforge.net> writes:
> There is no problem with locking because no locking is required.
link is a locking mechanism.
> qmail uses link() instead of rename() for guaranteed reliability
> (consider what happens if the machine crashes at a bad time). But with
> a decent OS and a logging file system, rename() should work fine.
Using link also happens to defend against the case of giving two messages
the same name. The system is slightly less robust when using rename than
when using link, and the reasoning behind maildir was done based on using
link.
That's all I'm saying.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>