[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unionfs, looking up links and translators

From: Moritz Schulte
Subject: Re: Unionfs, looking up links and translators
Date: Thu, 19 Dec 2002 21:52:07 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

tb@becket.net (Thomas Bushnell, BSG) writes:

> Instead, you fetch the actual node, and then tell the user to reauth
> *that* node.

Are you sure the needed functionality is implemented?

I tried that, it does not work (with a retry name of ""); the user
keeps the underlying node, he doesn't get the target of a symbolic
link, nor does he get the port to a translator running on that node.

In libdiskfs/dir-lookup.c the case where path is "" is handled
specially; the user simply gets the same node again, to which he sent
the dir_lookup RPC.  Neither the part of resolving symbolic links, nor
the part of fetching translator root ports is used in that case:

  if (path[0] == '\0')
      /* Set things up in the state expected by the code from gotit: on. */
      dnp = 0;
      np = dircred->po->np;
      mutex_lock (&np->lock);
      diskfs_nref (np);
      goto gotit;

I also wonder how to resolve relative, symbolic links when dir_lookup
has no reference to the directory containing the node, for which the
user did a ""-lookup.

moritz@duesseldorf.ccc.de - http://duesseldorf.ccc.de/~moritz/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199

reply via email to

[Prev in Thread] Current Thread [Next in Thread]