| Author |
Message |
|
| Guest |
Posted: Tue Jun 01, 2010 1:41 pm |
|
|
|
Guest
|
git fetch git://github.com/bjorng/otp.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>
</item>
<tag><c>raw</c></tag>
<item>
Is that OK?
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Jun 01, 2010 1:41 pm |
|
|
|
Guest
|
git fetch git://github.com/bjorng/otp.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>
</item>
<tag><c>raw</c></tag>
<item>
Is that OK?
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Jun 01, 2010 2:03 pm |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 03:40:40PM +0200, Bj??rn Gustavsson wrote:
> git fetch git://github.com/bjorng/otp.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>
> </item>
> <tag><c>raw</c></tag>
> <item>
>
> Is that OK?
That is much better, thanks! One small typo: "support its" should be
"supports it".
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Jun 01, 2010 2:03 pm |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 03:40:40PM +0200, Bj??rn Gustavsson wrote:
> git fetch git://github.com/bjorng/otp.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>
> </item>
> <tag><c>raw</c></tag>
> <item>
>
> Is that OK?
That is much better, thanks! One small typo: "support its" should be
"supports it".
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jun 02, 2010 7:20 am |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 10:02:46AM -0400, Michael Santos wrote:
> On Tue, Jun 01, 2010 at 03:40:40PM +0200, Bj??rn Gustavsson wrote:
> > git fetch git://github.com/bjorng/otp.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>
> > </item>
> > <tag><c>raw</c></tag>
> > <item>
> >
> > Is that OK?
>
> That is much better, thanks! One small typo: "support its" should be
> "supports it".
I will --amend that to Bj |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jun 02, 2010 7:21 am |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 10:02:46AM -0400, Michael Santos wrote:
> On Tue, Jun 01, 2010 at 03:40:40PM +0200, Bj??rn Gustavsson wrote:
> > git fetch git://github.com/bjorng/otp.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>
> > </item>
> > <tag><c>raw</c></tag>
> > <item>
> >
> > Is that OK?
>
> That is much better, thanks! One small typo: "support its" should be
> "supports it".
I will --amend that to Bj |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|