<div><br><div class="gmail_quote">On Tue, Aug 2, 2011 at 2:38 PM, Emmanuel Dreyfus <span dir="ltr">&lt;<a href="mailto:manu@netbsd.org">manu@netbsd.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, Jul 31, 2011 at 05:56:42PM +0530, Anand Avati wrote:<br>
&gt; Your summary is accurate. Currently distribute assumes link(2)ability of<br>
&gt; non-directories to provide POSIX semantics that the destination path should<br>
&gt; always be accessible if a file already existed at the time of rename(2).<br>
<br>
</div>It seems this has been adressed by standards:<br>
<a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html" target="_blank">http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html</a><br>
<br>
The bottom line is just to use lnkat(2) instead of link(2). I will<br>
implement linkat support in NetBSD</blockquote><div><br></div>That sounds good! I&#39;m wondering if we should update storage/posix to use POSIX.2008 updates for its syscalls.<div><br></div><div>Avati </div></div></div>