From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <89d1e7b8050929040246dbda80@mail.gmail.com> Date: Thu, 29 Sep 2005 13:02:03 +0200 From: "Anselm R. Garbe" To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] 9P reading directory contents Topicbox-Message-UUID: 918893c4-ead0-11e9-9d60-3106f5b1d025 Hi there, I'm currently implementing a complete 9P file/server stack from scratch for Unix. I used to connect to acme fileserver for testing my client implementation. But I ran into a question, which isn't answered in the manual pages, concerning reading directory contents. I established a valid connection to the acme server using Tversion, and Tattach afterwards. Then I tryed two different ways to read the root directory contents: 1) Topen with root fid and Tread with root fid This worked as expected 2) Just Tread with root fid This worked also the same, but I didn't expected that it is possible to read directory contents without preparing the fid for I/O through Topen. Anyone can tell me if this is intended and why? Regards, -- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361