eTTYmology 1 min read
- NAME
- /usr — the second disk that became half of Unix
- SYNOPSIS
- /bin /usr/bin /usr/lib /usr/share
- FROM
- "user"
- home directories on disk two
- programs spill over
- /usr today
- SEE ALSO
- hier(7), The /usr merge
Why /usr exists
The first Unix disk on the PDP-11 filled up, so the system spilled onto a second one. That is where /bin and /usr/bin come from.
/usr sounds like it should hold user files. It did, once. Then it became the second half of the
operating system.
Two disks
Early Unix on the PDP-11 lived on small disks. When the system outgrew the first one, the developers
mounted a second disk and kept going. Home directories lived there, under /usr. As the system kept
growing, programs moved onto the second disk too, and /usr/bin appeared beside /bin.
Why it stuck
The split outlived the hardware. For decades /bin held what you needed to boot and repair the
machine, and /usr held everything else, even when both lived on the same disk.
Modern distributions have mostly merged them: /bin is now a symlink to /usr/bin.
$ ls -ld /bin
lrwxrwxrwx 1 root root 7 /bin -> usr/binDraft: the details of the PDP-11 disk layout need checking against the sources below.