[OpenAFS] getting /usr from AFS (i.e., installing OpenAFS client on a fs tree other than /usr) :-?

Jim Rees rees@umich.edu
Fri, 29 Jun 2001 11:00:43 -0400


  Here we have a local AFS cell, so I tought I may try to use it to make my 
  life simpler... by mounting the whole "/usr" tree via AFS on all the hosts.

That's what we do.  But you don't want all of /usr in afs.  Here is our
setup:

% ls -l /usr
total 19
lrwxr-xr-x  1 root  wheel    16 Dec 21  2000 CVS -> /afsroot/usr/CVS
lrwxr-xr-x  1 root  wheel     5 Dec 21  2000 X11 -> X11R6
lrwxr-xr-x  1 root  wheel    18 Dec 21  2000 X11R6 -> /afsroot/usr/X11R6
lrwxr-xr-x  1 root  wheel    19 Dec 21  2000 Xserver -> X11R6/bin/XF86_SVGA
lrwxr-xr-x  1 root  wheel    30 Dec 21  2000 afs -> /afs/citi.umich.edu/usr/afs3.3
drwxr-xr-x  2 root  wheel  6144 Jun 23 15:56 bin
lrwxr-xr-x  1 root  wheel    20 Dec 21  2000 contrib -> /afsroot/usr/contrib
lrwxr-xr-x  1 root  wheel    18 Dec 21  2000 games -> /afsroot/usr/games
lrwxr-xr-x  1 root  wheel    20 Dec 21  2000 include -> /afsroot/usr/include
drwxr-xr-x  3 root  wheel  5120 Jun 27 15:38 lib
lrwxr-xr-x  1 root  wheel    20 Dec 21  2000 libdata -> /afsroot/usr/libdata
drwxr-xr-x  6 root  wheel  1024 Dec 19  2000 libexec
drwxr-xr-x  2 root  wheel   512 Nov  6  2000 lkm
lrwxr-xr-x  1 root  wheel    18 Dec 21  2000 local -> /afsroot/usr/local
lrwxr-xr-x  1 root  wheel     9 Dec 21  2000 man -> share/man
drwxr-xr-x  2 root  wheel   512 Nov  6  2000 mdec
lrwxr-xr-x  1 root  wheel    16 Dec 21  2000 obj -> /afsroot/usr/obj
lrwxr-xr-x  1 root  wheel    18 Dec 21  2000 ports -> /afsroot/usr/ports
lrwxr-xr-x  1 root  wheel     7 Mar  3 11:33 rees -> /u/rees
drwxr-xr-x  2 root  wheel  3584 Dec 19  2000 sbin
lrwxr-xr-x  1 root  wheel    18 Dec 21  2000 share -> /afsroot/usr/share
lrwxr-xr-x  1 root  wheel    16 Dec 21  2000 src -> /afsroot/usr/src
drwxr-xr-x  5 root  wheel   512 Dec 21  2000 vice
% ls -l /usr/X11/bin/X
lrwxr-xr-x  1 rees  wheel  12 Jan  8 13:54 /usr/X11/bin/X -> /usr/Xserver

Note the link for Xserver.  That's because the X server can be different on
each machine.