This is just an example of how one might use the Open System Toolkit
to build a simple-minded file system interconnect from your Apollo network
to a vanilla bsd4.2 or bsd4.3 system.

NOTE WELL:  We have no plans to turn this into a product.  It has a lot
of deficiencies, like performance and security.

To build the Apollo side of things, do:

    make types          (Makes the types)
    make install        (Makes and install the v2 manager)
    make crv2           (Makes the program that makes the gateway object)

To install the server on your bsd4.3 system, first copy Makefile, attr.h,
v2d.h, and v2d.c to your 4.3 machine.  Do 'make v2d' on the 4.3 machine.
If you have inetd on your 4.3 machine, you can use v2d directly.
Otherwise, you will have to start it by hand or from /etc/rc, and give
it the '-s' flag.  You will need to either add v2d to /etc/services or
use the '-p' option to v2d.

If you are using bsd4.2 rather than bsd4.3, you should #define BSD4_2
in v2d.c (either directly in the source, or add -DBSD4_2 to the Makefile).

Use crv2 to make a gateway object:

    crv2 <hostname> <gateway-file>          (Makes the gateway object)

If your 4.3 user ids aren't the same as the ones on your Apollo network,
you will get strange behavior.  There is a translation table at the end
of open.c that you can use to partly offset this.  If you are security
conscious, you may want to just run v2d as a guest rather than as root.

Good luck!

  - Jim Rees, Apollo Computer
