Symlink

dead-metaphor Physical ConnectionFilesystem

Categories: computer-science

What It Brings

Unix filesystems borrow the vocabulary of physical chains to describe references between names and data. A “link” is a connection between a filename and the underlying data on disk. The metaphor subdivides into two species: hard links (multiple names attached directly to the same data, like two chains bolted to the same anchor) and symbolic links (a name that points to another name, like a sign that says “go there instead”).

Key structural parallels:

Where It Breaks

Expressions

Origin Story

The link concept dates to the Multics filesystem in the mid-1960s, which distinguished between “links” (additional directory entries for existing files) and “branch entries” (the primary name). Unix inherited and simplified this in the early 1970s, making all directory entries equal — there is no “primary” name, only a link count. Dennis Ritchie and Ken Thompson’s original Unix treated every directory entry as a hard link.

Symbolic links arrived later, introduced in 4.2BSD in 1983 by Keith Bostic and others. The “symbolic” qualifier distinguished these new indirect references from the older “hard” links — a terminological distinction that only makes sense within the link metaphor. The success of the metaphor is measured by its spread: hyperlinks, deep links, backlinks, and link rot all descend from this filesystem vocabulary.

References

Related Mappings