s6
Software
skarnet.org

The s6-update-symlinks program

s6-update-symlinks links the content of several similar directory trees under a single tree. Its main use is to replace search paths like $PATH or $MANPATH, by creating a unique access tree based on the source trees. Name conflicts are solved by giving precedence to the last named directory. Subdirectories are created exactly as needed ; what can be shared is shared.

s6-update-symlinks is useful when one wants to combine a logical package system, like Dan Bernstein's /package and /command, with physical filesystem constraints, like /, /usr and /usr/local on separate filesystems.

Interface

     s6-update-symlinks d src1 src2 ...

Examples