The BSD Family: The Open-Source Unix That Survived a Lawsuit
Zusammenfassung
The Berkeley Software Distribution began in 1977 as a tape of Unix utilities mailed from a graduate student’s office. By 1983 it was the vehicle through which TCP/IP protocols reached the academic world. By 1989 it was a complete Unix operating system that AT&T sued for copyright infringement. The lawsuit froze BSD development at the exact moment Linux was gaining momentum, handing Linus Torvalds an opening that changed computing history. When the case settled in 1994, BSD had lost three years — but survived. FreeBSD, OpenBSD, and NetBSD diverged into distinct communities with distinct philosophies. Darwin, the core of macOS and iOS, descended from BSD. The license that Berkeley published became the model for permissive open-source licensing. BSD’s legacy runs through every iPhone, every Mac, and every router that runs FreeBSD.
Bill Joy and the First Distributions
Bill Joy arrived at the University of California, Berkeley in 1975 as a graduate student in electrical engineering and computer science. Berkeley had received a copy of Unix Version 6 from Bell Labs and Joy, immediately recognizing its quality, began modifying and extending it.
His first notable contribution was vi (1976) — a visual, screen-oriented editor that replaced the ex line editor with a mode-based interface that displayed a full 24-line terminal screen of text and allowed cursor-based editing. Vi’s modal design — Insert mode for typing, Normal mode for commands — was counterintuitive to anyone accustomed to typewriters but extraordinarily efficient once learned. It remains in use as vim and neovim, fifty years after Joy wrote the original.
Joy also wrote the C shell (csh), which added interactive features to the Unix shell: command history (the ability to recall and repeat previous commands), job control (moving processes between foreground and background), and command aliases. These features are now standard in every shell; in 1978 they were novel.
In late 1977 and 1978, Joy assembled these modifications along with other Berkeley improvements into the Berkeley Software Distribution — initially just a tape of utilities that he mailed, for the cost of the media, to other universities. The first distribution (1BSD) was not a complete operating system but a collection of software that ran on top of a licensed AT&T Unix. The second distribution (2BSD, 1978) added more tools. The response was extraordinary; within months, BSD tapes were circulating through academic computing departments across the United States.
4BSD, TCP/IP, and the Network Revolution
The 3BSD (1979) and 4BSD (1980) distributions moved toward a complete operating system, adding virtual memory support (allowing programs to use more memory than physically installed), the fast file system redesign, and increasingly sophisticated networking.
The critical moment came in 1983 when DARPA contracted with Berkeley to integrate TCP/IP — the protocol suite of the ARPANET — into 4.2BSD. The choice of Berkeley was not accidental: BSD Unix was the most technically advanced academic Unix, and DARPA wanted the internet protocols distributed in the most widely used academic operating system.
4.2BSD (1983) shipped with a complete TCP/IP implementation including BSD sockets — the API for network programming that every Unix and Unix-like system since has used. The function calls socket(), bind(), connect(), send(), recv() that web servers, databases, and network applications use today are the BSD socket interface designed at Berkeley in 1982–1983. The choice to make network connections look like file descriptors — consistent with Unix’s “everything is a file” philosophy — was a design decision that shaped network programming for forty years.
With 4.2BSD, every academic department that ran Unix had TCP/IP networking. The protocols spread not through government mandate but because BSD included them. When NSFnet (the National Science Foundation Network) expanded internet connectivity to universities in the mid-1980s, the machines connecting to it were largely running BSD.
Joy himself left Berkeley in 1982 to co-found Sun Microsystems. SunOS was initially based on 4BSD, and Sun’s contributions — particularly the NFS (Network File System) protocol — flowed back into BSD, creating a mutual enrichment that continued through the 1980s.
The AT&T Lawsuit and the BSD Crisis
Throughout the 1980s, BSD had been distributing the AT&T Unix code under a license that required significant attribution but allowed modification and redistribution. The relationship between Berkeley and AT&T was complex: Berkeley had licensed the original Unix source from AT&T and had built on it, but the proportion of original AT&T code in successive BSD releases had steadily decreased as Berkeley rewrote components.
By 1989, Berkeley’s Keith Bostic undertook a systematic effort to replace every remaining line of AT&T code in BSD with freely written equivalents. By June 1991, the BSD team released Net/2 — a nearly complete BSD Unix containing no AT&T code except for six remaining kernel files whose status was disputed.
UNIX System Laboratories (USL), the AT&T subsidiary that owned the Unix intellectual property, filed suit in December 1992 against the Berkeley Software Design Inc. (BSDi), a commercial company selling a BSD-based Unix, and against the University of California. USL claimed that BSD contained misappropriated trade secrets and violated its Unix copyright.
The lawsuit froze BSD development at a critical moment. The Linux kernel had been announced by Linus Torvalds in August 1991 — just months before the USL lawsuit. In the counterfactual where the BSD lawsuit never happened, the most natural path for the early 1990s open-source Unix movement would have been BSD, which was a complete, mature system, rather than Linux, which was a kernel under construction. The lawsuit made BSD legally uncertain; Linux was legally clean. Developers chose Linux.
The Counterfactual That Shaped Computing
The USL v. BSDi lawsuit may be the most consequential legal action in open-source history — not for what it decided but for what it delayed. Had BSD been legally clear from 1991, Linux might have remained a hobby project. The three-year window during which BSD was legally uncertain was exactly the period when Linux gained the momentum that made it the dominant open-source Unix. Torvalds himself has said he might not have started Linux had he known 386BSD was coming. BSD was technically superior to early Linux in almost every respect; the legal shadow was the decisive factor.
The Settlement and the Split
The case settled in January 1994. The University of California paid nothing; USL (by then owned by Novell) agreed that 3 of the 18 disputed files would be removed from BSD and that Berkeley would add USL copyright notices to 70 files. The settlement was a substantial victory for Berkeley. The disputed files were removed; 4.4BSD-Lite was released as the legally clean BSD baseline.
The settlement arrived too late to reclaim the ground lost to Linux. But BSD survived, and its multiple derivatives diverged productively:
FreeBSD (1993, forked from 386BSD) targeted x86 PCs and became the dominant BSD variant, used extensively in web infrastructure. Yahoo!, WhatsApp, and Netflix’s content delivery network all ran FreeBSD at significant scale. PlayStation 4 and PlayStation 5 use a customized FreeBSD.
NetBSD (1993) prioritized portability — the NetBSD project’s goal was to run on as many hardware platforms as possible. It ran on everything from SPARC to VAX to embedded ARM processors, and was valued in embedded and research contexts where portability across unusual architectures mattered.
OpenBSD (1995), forked from NetBSD by Theo de Raadt after a dispute with NetBSD’s core team, became the security-focused BSD: its development process proactively audited the code for security vulnerabilities, introduced security mitigations (stack smashing protection, address space layout randomization) into the base system before most other operating systems, and used the motto “Secure by default.” OpenBSD produced OpenSSH (1999), the encrypted remote shell that became the universal protocol for secure server administration. OpenSSH is installed on virtually every Unix and Linux server in existence.
Darwin and the Apple Lineage
When Apple acquired NeXT in 1997, it inherited NeXTSTEP — an operating system built on Mach (a microkernel developed at Carnegie Mellon) and BSD userland code. Steve Jobs, returning to Apple with the acquisition, selected NeXTSTEP as the foundation for the next macOS.
Darwin — the open-source Unix core of macOS, iOS, watchOS, and tvOS — is built on a Mach kernel with a BSD userland layer. The BSD-derived components include the file system interfaces, networking stack, command-line tools, and much of the security infrastructure. Every Mac running macOS has a BSD-lineage Unix kernel underneath its graphical interface. The bash and zsh shells available in macOS Terminal, the ssh command that connects to remote servers, the TCP/IP stack that handles network connections — all descended from Berkeley.
The BSD License that permits Apple to use BSD code without releasing macOS as open source — requiring only attribution, not source sharing — was a deliberate design choice by the BSD developers that diverged sharply from the GPL (General Public License) that governs Linux. The GPL requires that any software incorporating GPL code be distributed under the same terms. The BSD License does not. Apple’s use of BSD would have been impossible under the GPL; FreeBSD’s use in the PlayStation would have been impossible under the GPL. The BSD License was the first major permissive open-source license, and its influence can be seen in the MIT License, the Apache License, and most of the open-source ecosystem that powers modern cloud infrastructure.
📚 Sources
- McKusick, Marshall Kirk et al.: The Design and Implementation of the 4.4BSD Operating System (1996), Addison-Wesley
- Salus, Peter H.: A Quarter Century of UNIX (1994), Addison-Wesley — particularly Chapters 7–9 on BSD
- McKusick, Marshall Kirk: “Twenty Years of Berkeley Unix: From AT&T-Owned to Freely Redistributable” — Open Sources: Voices from the Open Source Revolution (1999), O’Reilly
- Leffler, Samuel J. et al.: The Design and Implementation of the 4.3BSD Unix Operating System (1989), Addison-Wesley
- Salus, Peter H.: Daemon, the GNU, and the Penguin (2008) — on the USL lawsuit and BSD history
- OpenBSD — Wikipedia