From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] About 9P ... From: "Russ Cox" Date: Sat, 23 Jun 2007 00:30:26 -0400 In-Reply-To: <467C4C48.6050009@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070623043028.A0A7C1E8C51@holo.morphisms.net> Topicbox-Message-UUID: 85e68cb8-ead2-11e9-9d60-3106f5b1d025 > So unless Russ is right and that the > fact FIDS are choosen by the client has > been decided arbitrarily ... I still have > no answer to my question. In the current version of 9P, there is no reason why the client has to choose the fids (file ids). You don't have to believe me, but it's true. The client must choose the tags (request ids) since it sends the first request message without any input from the server. The tags are what enable having multiple messages outstanding. There is an historical reason why fids are chosen by the client, but like most historical reasons, it no longer applies. In very early versions of 9P (before the first edition release), there were no tags. Replies were matched based on fid and type, so fids had to be chosen by the client, just as tags do now. Tags were introduced on November 21, 1990: http://swtch.com/go/fid2tag Russ