Using Sun WorkShop

replacepath


replacepath from_prefix   to_prefix

This command specifies how to modify path names in the source browsing database.

In general, from-prefix corresponds to the automounter "mount point" (the path name where the automounter actually mounts the file system); and to-prefix corresponds to the automounter "trigger point" (the path name known and used by the developer).

There is considerable flexibility in how an automounter is used; the method can vary from host to host.

Path replacement rules are matched in the order that they are found and matching stops after a replacement is done.

The default replacepath command is used to strip away automounter artifacts:


replacepath /tmp_mnt

When used for this purpose, the command should be given as the mount point as the first argument and the trigger point as the second argument.