Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Configuring the Mount Point for Remote File Systems

When the desktop passes file names from one system to another, it must transform, or map, those file names to names that make sense to the destination system. This mapping is necessary because a file may be mounted in different locations on the different systems, and therefore must be accessed using different names. For example the file /projects/big on sysA may be accessed as /net/sysA/projects/big on sysB.

Requirements for File-Name Mapping

To correctly perform this file-name mapping, one of the following must be true:

Setting a Value for DTMOUNTPOINT

You must set the DTMOUNTPOINT environment variable if both of the following conditions are true:

  1. Edit the file /etc/inetd.conf:

  2. Find the dtspcd entry and add:

    		-mount_point mount_point
    
  3. Find the rpc.ttdbserver entry and add:

    		-m mount_point
    

    For example if the automounter is being used with a mount point of /nfs, the entries in /etc/inetd.conf are:

    	dtspc stream tcp nowait root /usr/dt/bin/dtspcd \
     	/usr/dt/bin/dtspcd -mount_point /nfs
     	rpc stream tcp wait root /usr/dt/bin/rpc.ttdbserver \
     	100083 1 rpc.ttdbserver -m /nfs
  4. Perform the procedure on your system that rereads /etc/inetd.conf. For more information, see the inetd(1M) man page.

  5. Set DTMOUNTPOINT such that its value is inherited by user logins.

    This can be done by setting the variable in /etc/dt/config/Xsession.d. For more information on setting environment variables, see To Set Environment Variables.