Björn Gustavsson <>
Tue Jun 1 15:40:40 CEST 2010

git fetch git:// ms/file-exclusive-mode

We will probably graduate this branch (after testing it
on more platforms), but with the following addition
to the documentation:

diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index eed92d2..640137a 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -616,6 +616,11 @@ f.txt:  {person, "kalle", 25}.
             <p>The file, when opened for writing, is created if it
               does not exist. If the file exists, open will return
               <c>{error, eexist}</c>.</p>
+           <warning><p>This option does not guarantee exclusiveness on
+           file systems that do not support O_EXCL properly,
+           such as NFS. Do not depend on this option unless you
+           know that the file system support its (in general, local
+           file systems should be safe).</p></warning>

Is that OK?

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list