OSF DCE Administration Guide--Core Components

Restructuring a Namespace
/.:/mfg/robo1 on the next skulk after December 12, 1994, at 9:00 a.m.
The following command creates a soft link that is named /.:/admin/linka that points to
an object entry named /.:/sales/discount_stats:
dcecp> link create /.:/admin/linka -linkto /.:/sales/discount_stats -timeout \
{1994-01-11-12:00:00 090-00:00:00}
In the preceding command, the expiration time placed in the CDS_LinkTimeout
attribute value indicates that CDS will check that the destination name
/.:/sales/discount_stats still exists on the next skulk after January 11, 1994, at 12:00 p.m.
If the destination name does not exist, CDS deletes the soft link. If the destination name
still exists, the soft link remains in effect for another 90 days, as specified by the
extension time specified for the CDS_LinkTimeout attribute value 090-00:00:00. When
the 90-day extension period expires, CDS repeats the check at 90-day intervals until the
destination name is deleted.
21.1.2 Changing a Soft Link’s Destination Name
Use the dcecp link modify command to specify a new value for a soft link’s
CDS_LinkTarget attribute and redirect the soft link from its current destination name to
some other name in the namespace.
To change a soft link’s destination name, you must have write permission to the soft link.
For example, the following command redirects a soft link that is named
/.:/admin/work_disk from its current destination name to the new destination name
/.:/admin/work_disk03:
dcecp> link modify /.:/admin/work_disk -change {CDS_LinkTarget \
/.:/admin/work_disk03}
21.1.3 Changing a Soft Link’s Expiration or Extension Value
Use the dcecp link modify command to specify a new value for the expiration and
extension values that are stored in a soft link’s CDS_LinkTimeout attribute. Even if
you want to modify only one of the values, you must specify values for both expiration
and extension in your command. You specify a new value in the same format that you
used to establish the original value. The expiration value has the format yyyy-mm-dd-
hh:mm:ss, and an extension value has the format ddd-hh:mm:ss.
To change a soft link’s expiration or extension value, you must have write permission to
the soft link.
The following command sets the expiration value of a soft link that is named
/.:/eng/link01 to December 31, 1994, at 12:00 p.m. In this example, no extension is
currently assigned to the soft link.
124243 Tandem Computers Incorporated 213