[OpenAFS-devel] getcwd() on Linux 2.6.18+OpenAFS 1.4.2 bugs/errors.

Jim Rees rees@umich.edu
Fri, 16 Nov 2007 12:17:52 -0500


Jeffrey Altman wrote:

  We know what one of the paths to a volume root happens to be.  If we can
  detect when a second path is being used, perhaps instead of returning
  the vnode we already used, we lie and produce a new "local only" vnode
  that is a symlink to the original mountpoint that was crossed.

Say, that might just work, although the implementation could get very messy.
Symlinks are well suited to this, being syntactic one-way shortcuts through
the name space.