Subject: Re: problem with tmpfs and linux emulation?
To: Christos Zoulas <christos@astron.com>
From: SODA Noriyuki <soda@sra.co.jp>
List: current-users
Date: 11/13/2005 04:54:18
>>>>> On Sat, 12 Nov 2005 19:23:40 +0000 (UTC),
      christos@astron.com (Christos Zoulas) said:

> I don't think that linux uses read to read directories. I think it always
> uses getdents. Something else must be going on. Can someone verify by using
> ktrace?

Linux libc doesn't use read(2) to read directories, it uses
getdents64().
open(2) against directories always fails on Linux, even if the
filesystem is local.
--
soda