automount-prefix mount_point trigger_point
The automount-prefix command enables you to browse on a machine other than the one on which you compiled your program. This command is identical to the replacepath command except that automount-prefix path translations occur at compile time and are written into the database.
The automount-prefix command defines which automounter prefixes to remove from the source names stored in the database. The directory under which the automounter mounts the file systems is the mount_point; the trigger_point is the prefix you use to access the exported file system. The default is /.
If the path in the database fails, the path translations from both commands (that is, automount_prefix and replacepath) are used to search for source files while browsing.
At first glance, searching both paths may not seem possible; the browser database that is created when you run the compiler contains the absolute path for each source file. If the absolute path is not uniform across machines, then Sun WorkShop will not be able to display the source files when it responds to a query.
To get around this problem, you can do either of the following:
Ensure that all source files are mounted at the same mount point on all machines.
Compile your programs in an automounted path. A reference to such a path causes the automounter to automatically mount a file system from another machine.
There is a default automount-prefix command that is used to strip away automounter artifacts:
automount-prefix /tmp_mnt /
The default rule is generated only if no automount-prefix commands are specified.
For more information on using the automounter, see the automount(1M) man page.