[uw.mfcf.bugs] rdist and xhier almost there

idallen@watcgl.waterloo.edu (08/28/89)

From: "Ian! D. Allen [CGL]" <idallen>

I have a list of directories and files I want to rdist to the workstation
world, so I rdist from watcgl to watcgl into a master workstation
directory, then rdist -x from there to the workstation world.  Thus, my
workstation directory is an exact copy of what is supposed to be out there.

But consider the directory /.software/local/mfcf-basics and the line:

    rdist -w -C /.software/local/mfcf-basics localhost:$workstationroot

What I intend is that wherever mfcf-basics is on watcgl I want the
copy in the workstation directory to be the same.  Doesn't work like
that, because that rdist expands to:

    rdist -C /.software/local/mfcf-basics \
	localhost:$workstationroot/.software/local/mfcf-basics

and thus (resolving symlinks) to

    rdist -C /usr/var/software/mfcf-basics \
	localhost:/usr/var/software/mfcf-basics

which does nothing.  I really want to be able to do something like:

    rdist -C /.software/local/mfcf-basics localhost:chroot($workstationroot)

(No, I do not want to rdist /usr/var/software/mfcf-basics, because I
don't know that it will stay under /usr/var; that info is what
/.software/local provides.)

Oh well.  Maybe I really do have to rdist out to a workstation, rdist
back to watcgl (so we have a copy that gets backed up on tape), then
rdist out to the other workstations using -x.  Bother.