From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Tolpin Message-Id: <200403182331.i2INVbsA096235@adat.davidashen.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] dirread In-Reply-To: <200403182300.i2IN0p5T095713@adat.davidashen.net> Date: Fri, 19 Mar 2004 03:31:37 +0400 Topicbox-Message-UUID: 375d5158-eacd-11e9-9e20-41e7f4b1d025 man 2 dirread :... :The data returned by a read(2) on a directory is a set of complete directory :entries in a machine-independent format, exactly equivalent to the result of :a stat(2) on each file or subdirectory in the directory. But it is not so. stat(2) on each file in the directory, when there are multiple files with identical names, will return data for the first entry only. What am I missing? David