OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
The sequence of commands to synchronize and delete the /.:/eng directory and
then create soft links for the former contents are as follows:
dcecp> directory synchronize /.:/eng
dcecp> directory delete /.:/eng -tree
dcecp> link create /.:/eng -to /.:/rnd
The directory delete command invoked with the -tree option deletes a directory
and all the object entries, soft links, and child directories beneath that directory. If
you use the the directory delete command without the -tree option, all of the
directories to be deleted must be empty, or errors will occur.
Figure 20-2 shows the structure of the example namespace before and after the
merge operation in our example.
Figure 20-2. Example Namespace Before and After the Merge Operation
Before Merge After Merge
/.:/.:
/rnd/eng/rnd/eng
obj1link1 obj2 link2obj1 link1
obj1 link2link1 obj2
20.2.1 Appending CDS Directories
The following procedure appends the source directory /.:/eng to the /.:/rnd directory
(that is, copies the /.:/eng directory into the empty target directory /eng under the /.:/rnd
directory):
1. Run the directory create command to create a new empty directory named
/.:/rnd/eng into which the contents of the source directory /.:/eng can be placed:
dcecp> directory create /.:/rnd/eng
By default, the directory create command creates new directories in the same
clearinghouse as the parent directory. If you wish to create a directory in another
clearinghouse, you must use the -clearinghouse option of the command to specify
the other clearinghouse.
2. Perform a skulk on the /.:/eng directory before appending it to the /.:/rnd
directory. This synchronization of the source directory’s replicas can prevent
errors that cause the append operation to fail:
dcecp> directory synchronize /.:/eng
20 4 Tandem Computers Incorporated 124243