From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 30 Jul 2009 13:30:45 -0300 Message-ID: From: Iruata Souza To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] 9p question Topicbox-Message-UUID: 3292b336-ead5-11e9-9d60-3106f5b1d025 On Thu, Jul 30, 2009 at 1:08 PM, Russ Cox wrote: > 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? =C2=A0Is 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. =C2=A0This would > make it easy to implement fchdir on Unix. > it would surely make it easier for unix implementations. i have had plenty of issues with that in o9fs. but as yourself pointed out, what would that walk mean? iru