From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 30 Jul 2009 09:08:14 -0700 Message-ID: Subject: Re: [9fans] 9p question From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 326af7e2-ead5-11e9-9d60-3106f5b1d025 On Thu, Jul 30, 2009 at 8:28 AM, Venkatesh Srinivas wrote: > How come you can't TWalk along an open Fid? In the original 9P protocol, that didn't make sense, because walk always updated the fid it was starting from. If you open a fid and then walk it elsewhere, is it still open? Is that an implicit close? And the operation isn't needed by the Plan 9 kernel anyway, so out it goes. In the current 9P protocol, I think it would be fine to allow a walk to start at an open fid as long as newfid was being used to create a new fid. This would make it easy to implement fchdir on Unix. Russ