Symbolic Link - Variable Symbolic Links

Variable Symbolic Links

Symbolic links may be implemented in a context-dependent or variable fashion, such that the link points to varying targets depending on a configuration parameter, run-time parameter, or other instantaneous condition.

A variable or variant symbolic link is a symbolic link that has a variable name embedded in it. This allows some flexibility in filesystem order that is not possible with a standard symbolic link. Variables embedded in a symbolic links may include user and or environment specific information.

Operating systems that make use of variant symbolic links include NetBSD, DragonFly BSD and Domain/OS.

HP/Tru64 uses a context dependent symbolic link where the context is the cluster member number.

Pyramid Technology's OSx Operating System implemented conditional symbolic links which pointed to different locations depending on which universe a program was running in. The universes supported were AT&T's SysV.3 and the Berkeley Software Distribution (BSD 4.3). For example: if the ps command was run in the att universe, then the symbolic link for the directory /bin would point to /.attbin and the program /.attbin/ps would be executed. Whereas if the ps command was run in the ucb universe, then /bin would point to /.ucbbin and /.ucbbin/ps would be executed. Similar Conditional Symbolic Links were also created for other directories such as /lib, /usr/lib, /usr/include.

Read more about this topic:  Symbolic Link

Famous quotes containing the words variable, symbolic and/or links:

    There is not so variable a thing in nature as a lady’s head-dress.
    Joseph Addison (1672–1719)

    Play permits the child to resolve in symbolic form unsolved problems of the past and to cope directly or symbolically with present concerns. It is also his most significant tool for preparing himself for the future and its tasks.
    Bruno Bettelheim (20th century)

    Nor stony tower, nor walls of beaten brass,
    Nor airless dungeon, nor strong links of iron,
    Can be retentive to the strength of spirit.
    William Shakespeare (1564–1616)