(Illustration by Gaich Muramatsu)
On Thu, Mar 18, 2004 at 08:44:22PM +0100, Ivan Popov wrote: > On Thu, 18 Mar 2004, Johannes Martin wrote: > > > /coda/internal-ip - does not work > > /coda/external-ip - does not work > > /coda/name-of-internal-ip - works fine (even write access) > > /coda/name-of-external-ip - works partly, after Although the client clearly has no problem doing so, you really shouldn't mount the same realm at multiple locations. Servers don't realize that these are multiple 'instances' of the same client and will only send callbacks to one of the two mounts. So when you add a file in /coda/name-of-internal-ip, it might not show up in name-of-external-ip (or the other way around). I don't understand why the ip-addresses aren't working though, all of the ways you are trying to access the realm should work the same as far as the client is concerned. Only the server has a problem with it. btw. because each of these is a separate 'instance' on the client, you would also need to get tokens for each individual instance. Something like, clog admin_at_external-ip clog admin_at_internal-ip clog admin_at_name-of-external-ip clog admin_at_name-of-internal-ip > I have not checked in the source, but - funny - even realm names put into > the "realms" file do not work, unless they contain a dot '.' > Hostnames on my "domainless" net do not work either... Correct you need to have at least a single '.' in the realm name. This is partly to prevent things like 'Recycled Files' and non-realm paths (i.e. /coda/usr/) to not block on name resolutioni and to avoid trashing the root nameservers with useless requests. It also makes the globally unique naming scheme actually _globally unique_. I realize that people might like to access local aliases like /coda/cs/foo (similar to how people set up their /afs root), but it isn't a "globally unique name" and the realms file should not be used as a way to trick the system. If you want local shortcuts, you can save even more typing by doing the following, mkdir /c ln -s /coda/coda.chalmers.se /c/chalmers ln -s /coda/coda.cs.cmu.edu /c/cmu ln -s /coda/testserver.coda.cs.cmu.edu /c/test This way you don't even have to remember the realm names when the client is reinitialized and /coda is still empty. JanReceived on 2004-03-18 17:30:46