N1 Grid Service Provisioning System 5.0 Plan and Component Developer's Guide

Component Type: system#symbolic link

The system#symbolic link component type represents a single symbolic link that is taken from a target server. The provisioning system deploys a symbolic link by creating a new link on the target server. The file that the symbolic link points to is taken from the value of the symlinkTarget variable. Any file that exists in the install location of the link is removed before the new symbolic link is created.

The system#symbolic link component type includes installation, uninstallation, and snapshot procedures. The uninstallation procedure removes the symbolic link, not the file to which it links. The snapshot procedure also captures the name of the file to which the symbolic link points, not to the file itself.

The system#symbolic link component type defines the following variables:

The following procedures are defined for the system#symbolic link component type:

Browsing

 

UNIX Systems 

Microsoft Windows Systems 

Root Path

/

List of physical drives on the host or network are mapped to a drive letter. Removable media is not shown. 

Delimiter

/

\

Ordering

Alphabetical with directories appearing first 

Selection Type

User can select a file for check-in. Double click a directory to view its contents. Only symbolic link type files can be selected for check-in. 

Sample Path

/foo/foo.txt

C:\foo\foo.txt

Special

Links display their local name and the location pointed to: 

foo->/usr/bar

 

Exported/Internal File Format

Symbolic links contain a resource that serves as a symbolic placeholder. Symbolic link data is stored as a set of variables, one for each name and location, in the component.