This page describes using NFS together with the
ViewStation's Remote Mount Directory and Local Mount Directory, which
are selected on the Remote Hosts menu of Setup Mode.
The HDS
ViewStation uses an internal file system that closely resembles the NFS
file system, using mount points to establish local and remote path
specifications. Local and Remote Mount Directories are entered in the
Remote Hosts menu of Setup Mode, for each different host if desired.
Individual paths, such as for fonts or clients, are accessed by means
of the information the mount points provide.
A Local Mount Directory defines an internal ViewStation
location for the server to look for things. The ViewStation file system
maintains an internal list of these Local Mount Directories and
searches that list when it opens a file. (The list contains all the
specified internal file locations, like HDS$$ROM, HostNames, Local Mount
Directories, ViewStation device names like /dev/flash or /dev/tty1,
etc.) If the Local Mount Directory is specified, then it is used as the
mount point. If no Local Mount Directory is specified, the Host Name is
prepended with a leading slash and it becomes the mount point.
A Remote Mount Directory defines a location on the remote host
as a starting place for the ViewStation to look for things. The Remote
Mount Directory is typically a directory location where the HDSware tape
was loaded or some special files are located. The Mount Point is the
main directory, with subdirectories specified by the path itself. The
Remote Mount Directory is prepended to the path (after the mount point
is stripped off) to give the complete file location.
For example, if the Local Mount Directory specifies "/fonts"
(the leading slash is necessary), then a Mount Point is created in the
ViewStation. The fontpath is specified as "/fonts/100dpi,/fonts/misc".
The Remote Mount Directory for that host is
"/usr2/lib/X11/HDS/hds-fx/fonts". Thus, when a font is requested, the
View Station finds the /fonts mount point and the fontpath, strips off
the mount point, prepends the Remote Mount Directory, and locates the
desired font in the reconstructed full path
"/usr2/lib/X11/HDS/hds-fx/fonts/100dpi", etc.
This file structure provides additional functionality for
using the ViewStation on your network. For instance, if you want to
have a backup font host, you could specify "/fonts" as Local Mount
Directories on both Host1 and Host2. The ViewStation's mount point
would first go to Host1, and if that file open failed, it would go on to
the mount point on Host2, and so on. The Remote Mount Directory could
be different for Host1 and Host2, but as long as those were correctly
specified on the Remote Hosts menus, the files would be found.
Another example of customization for the ViewStation would be defining
different fontpaths for different hosts. If you had one host that needed
OPEN LOOK fonts and another host that needed word processing fonts, but
you didn't want to load all fonts on all hosts, you could use this
configuration to handle the special fontpaths.
1. Set the ViewStation's fontpath as follows (on the User
Preferences Menu): /fonts1/100dpi,/fonts2/Xol,/fonts3/WPfonts
2. On the Remote Hosts Menu, set:
For Host 1 Local Mount Directory: /fonts1
Remote
Mount Directory: /usr/libX11/hds-fx/fonts
which results in a full fontpath of:
/host1/usr/lib/X11/hds-fx/fonts/100dpi
For Host 2 Local Mount Directory: /fonts2
Remote Mount Directory: home/openwin/MITXol/fonts
which results in a full fontpath of:
/host2/home/openwin/MITXol/fonts/Xol
For Host 3 Local Mount Directory: /fonts3
Remote Mount Directory: /usr3/lib/Asterix/fonts
which results in a full fontpath of:
/host3/usr3/lib/Asterix/fonts/WPfonts
Return to Section Heading Page
Return to the Home Page
If you need more information than is available here, you can reach
HDS via email at info@hds.com, or
call us at 1.800.HDS.1551 in the USA, or at +610.277.8300 from outside
the US. For questions or problems regarding the HDS WWW page, contact
webmaster@hds.com.
© 1996 by HDS Network Systems
Inc.