FreeBSD Linux emulation / arla 0.34.6

Poul-Henning Kamp phk at critter.freebsd.dk
Sat Jan 27 23:32:36 CET 2001


In message <3A6F4748.15758.2090E6 at localhost>, "Marco van de Voort" writes:
>> I have discovered a rather interesting bug with this combination,
>> and was wondering if anyone could point me in the right direction
>> to help me track it down.
>> 
>> The problem is that linux binaries which call getdirents on an afs
>> directory do not report the last directory entry:
>
>Hmm. Could it be getdirentries itself, or some oddity that is not 
>documented, but worked around in libc? I also have some 
>getdirentries (FreeBSD version, patched together I directly admit) 
>based code that sometimes doesn't seem to be able to find certain 
>directories.

I had some fun with it when playing with a TOYFS of mine.

Take a peek in the libc sources, there are som assumptions which
may surprise you.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.






More information about the Arla-drinkers mailing list