Subject: Re: problem with tmpfs and linux emulation?
To: None <>
From: YAMAMOTO Takashi <>
List: current-users
Date: 11/13/2005 06:17:19
> > Linux libc doesn't use read(2) to read directories, it uses
> > getdents64().
> "It depends".  There were discussions on linux kernel lists as little
> as a year ago about how it would be _nice_ to be able to assume that
> libc always used getdents64() to avoid supporting lseek() on directories.
> Thor

are you sure?
iirc, linux doesn't support read(2) on directories, even for ext2.