[OpenAFS] Context dependent directories

Jeffrey Altman jaltman@secure-endpoints.com
Mon, 10 Aug 2009 06:49:37 -0400


You can set the value of the @sys variable to an ordered list of
substitution names.  See the man page for "fs sysname"

  http://docs.openafs.org/Reference/1/fs_sysname.html

for example:

  fs sysname ocfs i386_linux26
  fs sysname redhat_gfs i386_linux26

you can then include "@sys" in the target path of a symlink to produce
conditional behavior.

Frédéric Grelot wrote:
> Hi everybody
> 
> I'd like to have a gnome configuration that depends to the host I'm connecting at (because my terminals have different display settings, but all connect to the same afs home directory server).
> I saw the "@sys" variable, usable in pathname, but my hosts seem to have the same system (i386_linux26), so I'd like to know if there is a way of making host-dependent symlinks or directory name, so that for example, ~/.gconf links to .host1-config/.gconf if I'm on host1, or .host2-config if I'm on host2 (or anythink like this).
> I saw that some filesystem support context dependent symlinks (ocfs, redhat GFS), but is there any such feature in openafs?
> 
> Thank you for your help.
> 
> Frédéric Grelot
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>