Subject: Re: CVS commit: src
To: Gordon Waidhofer <gww@traakan.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 06/23/2005 13:34:48
"Gordon Waidhofer" <gww@traakan.com> writes:
> I saw a demo of AFS (I believe) that had conditional
> symbolic links. The selectors were actually
> part of the proc rather than system wide.
AFS currently has a single magic symbol, "@sys", which expands to a
system type name - something like sun4x_59 or i386_rhel4. Modern
versions of OpenAFS actually have a more-magic expansion such that
@sys can be a list (say "sun4x_59", "sun4x_58", "sun4x_57"), and a
path like arch/@sys/bin will expand to the first real path that exists
with one of the members in the list. See openafs.org for current
info; it's quite well-used today.
- Nathan