OSF DCE Administration Guide--Core Components

Restructuring a Namespace
dcecp> directory list /.:/sales -simplename
work_disk link1
dcecp> directory list /.:/sales -simplename -object
work_disk
dcecp> directory list /.:/sales -simplename -link
link1
dcecp> directory delete /.:/sales -tree
dcecp> directory show /.:/sales
Error: Requested entry does not exist
If a directory to be deleted is not empty, the directory delete command will fail. To
recover from this kind of failure, you must remove all the entries in the directory and its
child directories, then run the directory delete command again. Use the link delete and
object delete commands to delete the soft links and object entries in any directories.
Then run the directory delete command to delete the directories.
21.3.2 Deleting a Directory Replica
If a directory is replicated, all the replicas have to be deleted individually. Then the
directory can be deleted using the commands described in the previous section.
To display a list of all replicas of a directory, use the dcecp utility’s directory show
command. Look at the CDS_Replicas attribute of the directory in the list. Each
replica’s CDS_Replicas attribute has several subattributes. Look at the CH_Name
subattribute for each replica to get the name of the clearinghouse where it is located.
For example:
124243 Tandem Computers Incorporated 219