9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9P reading directory contents
@ 2005-09-29 11:02 Anselm R. Garbe
  2005-09-29 14:18 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Anselm R. Garbe @ 2005-09-29 11:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-29 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-29 11:02 [9fans] 9P reading directory contents Anselm R. Garbe
2005-09-29 14:18 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).