Subject: Re: problem with tmpfs and linux emulation?
To: None <current-users@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: current-users
Date: 11/13/2005 23:44:38
pcah8322@artax.karlin.mff.cuni.cz (Pavel Cahyna) writes:

>On Sun, Nov 13, 2005 at 09:45:14PM +0100, Michael van Elst wrote:
>> When d_off is not a valid offset, the llseek fails and the next
>> iteration may or may not read more directory entries.

>How can d_off be invalid? It was returned by the kernel before, so it
>should be valid, no?

With tmpfs (and NFS) d_off is an opaque cookie and does
not resemble an offset into the "directory file".

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."