OSF DCE Administration Guide--Core Components
Chapter 20. Using the CDS Subtree Commands
to Restructure CDS Directories
Sometimes, because of corporate restructuring or for other reasons, you need to combine
or rearrange various directories or subtrees of directories in your CDS namespace.
For example, suppose the engineering group in your organization, /.:/eng, is combined
with the research and development group, /.:/rnd, and that the two groups begin to share
a common set of applications and other network resources. You can reflect this
organizational change in your namespace hierarchy by merging the contents of these
directories.
Similarly, if the engineering group becomes subordinate to the research and development
group, you can reflect this change by creating an empty directory named /.:/rnd/eng and
then merging the contents of the /.:/eng directory into /.:/rnd/eng, effectively appending
/.:/eng below /.:/rnd.
20.1 Overview of the Merge and Append Procedures
To merge or append CDS directories, you use the DCE control program (dcecp)
directory merge command. The basic steps for both procedures are as follows:
1. At your system prompt, enter dcecp to invoke the DCE control program.
2. Merge or append one existing directory with another existing directory. To do this,
use the directory merge command to combine the directory’s information about
its descendants (object entries, soft links, and child directories) with another
directory’s information or to append the information below an existing bottom-
level directory.
3. Delete the source directory or subtree (and its contents) that you merged in step 2
from its old location in the hierarchy by using the directory delete command.
Replace the deleted directory information with a single soft link of the same name
to redirect lookups of the information at the new location by using the link create
command.
124243 Tandem Computers Incorporated 20−1