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:

vmount is small, written in straight C, and its source can be found in the vmount package. There are currently variants for:

Linux

vmount_linux.c

Tru64 UNIX

vmount_tru64.c

Solaris

vmount_solaris.c

FreeBSD

vmount_freebsd.c

Darwin (MacOS X)

vmount_darwin.c

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.

Vesta: MountingRepositoryOnNewPlatform (last edited 2005-08-06 19:45:26 by KenSchalk)