Mounting the Repository on a New Platform
As described in the porting guide, to get the repository mounted on a new platform, you need to two things:
A vmount binary
A copy of the mountrepos script, possibly with hard-coded values for each call to vgetconfig
vmount is small, written in straight C, and its source can be found in the vmount package. There are currently variants for:
Linux |
|
Tru64 UNIX |
|
Solaris |
|
FreeBSD |
|
Darwin (MacOS X) |
If you don't have a compiler handy, there are a few pre-compiled versions of vmount attached to this page:
Once you have vmount download a copy of the mountrepos script. If you don't have a working copy of vgetconfig on your new platform, you'll need to edit the part at the top to look something like this:
NFS_host=`vgetconfig Repository NFS_host || echo "vesta.example.com"` NFS_port=`vgetconfig Repository NFS_port || echo 21774` AppendableRootName=`vgetconfig UserInterface AppendableRootName || echo "/vesta"` MutableRootName=`vgetconfig UserInterface MutableRootName || echo "/vesta-work"` VolatileRootName=`vgetconfig Run_Tool VolatileRootName || echo "/vesta-work/.volatile"`
Replace each one of the strings being echoed (e.g. "vesta.example.com") with what the vgetconfig command on the same line returns on your working Vesta installation.
Now you should be able to run your modified mountrepos script and mount the rpeository.