<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 7:22 PM, Emmanuel Dreyfus <span dir="ltr">&lt;<a href="mailto:manu@netbsd.org" target="_blank">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"><span class="">J. Bruce Fields &lt;<a href="mailto:bfields@fieldses.org">bfields@fieldses.org</a>&gt; wrote:<br>
<br>
&gt; Is the result on non-Linux really to fail any readdir using an offset<br>
&gt; not returned from the current open?<br>
<br>
</span>Yes, but thatnon-Linux behabvior is POSIX compliant. Linux just happens<br>
to do more than the standard here.<br>
<span class=""><br>
&gt; I can&#39;t see how NFS READDIR will work on non-Linux platforms in that<br>
&gt; case.<br>
<br>
</span>Differrent case: seekdir/telldir operate at libc level on data cached in<br>
userland. NFS READDIR operates on data in the kernel.<br></blockquote><div><br></div><div>Is there a way to get hold of the directory entry cookies used by NFS readdir from user-space? some sort of a NetBSD specific syscall (like getdents of Linux)?</div><div><br></div><div>Thanks</div></div></div></div>