Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 21:24:16 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Marco van de Voort" <marcov@stack.nl>
Cc:        Chris <cc@137.org>, arla-drinkers@stacken.kth.se, freebsd-hackers@FreeBSD.ORG
Subject:   Re: FreeBSD Linux emulation / arla 0.34.6 
Message-ID:  <33306.980367856@critter>
In-Reply-To: Your message of "Wed, 24 Jan 2001 21:21:12 %2B0100." <3A6F4748.15758.2090E6@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3A6F4748.15758.2090E6@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@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.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33306.980367856>