On Thu, Jul 30, 2009 at 1:08 PM, Russ Cox<r...@swtch.com> wrote:
> On Thu, Jul 30, 2009 at 8:28 AM, Venkatesh Srinivas<m...@acm.jhu.edu> 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.
>

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

Reply via email to