Moody wrote: "What you _would_ want for this would be the ability to walk from the existing fd, however the limits of 9p walk make this a bit impossible to implement in a great way in my opinion. " Maybe the chan could keep two fids: the original walked fid, and an opened clone of that fid? The open one could be used for read/write, etc, and the original could be used for subsequent walks. Ron Minnich wrote: "The question I had was, can I get the benefit of *at without doing what linux is doing, namely, for all system calls with a path, make an '...at' version. I am guessing so, though I'm not sure it's as efficient." Could you do something like open ("/fd/5/as-dir/a/b/c", ...) or open ("#d/5/as-dir/a/b/c", ...) where 5 is the file descriptor of an open directory, and "as-dir" is effectively bound to the directory it has open? The Linux docs make passing reference to "tricks involving /proc/../fd" which seems like a better idea than adding all those *at system calls... ... from the department of partly-baked ideas... ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T675e737e776e5a9c-M4f2926b33d54b9f6842c2078 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription