[OpenAFS] problems with file links under Windows XP
Tue, 5 Feb 2008 14:20:10 -0500
On Thu, Jan 24, 2008 at 08:59:14AM -0500, Jeffrey Altman wrote:
> Also, I would really like to understand the rationale for creating
> a link that includes either ".." or "../..". Can you provide me an
> example where this makes sense?
I've done this, albeit in a unix environment.
We used a software packaging scheme like so (use a monospaced font):
So that all files for a given software package, foo-1.0 or bar-1.2
in this example, were located under a single directory tree.
In /usr/local/bin, man, etc., were symlinks to the files in each
Rather than hardcoding the symbolic link like so:
ln -s /usr/local/pkg/foo-1.0/bin/foo foo
We did it with relative paths like so:
ln -s ../pkg/foo-1.0/bin/foo foo
using relative paths instead of absolute paths in the links allowed people
to put the packages in different locations on their systems, perhaps
allowing them to use multiple package trees from multiple providers, etc.