The Berkeley Software Distribution or Berkeley Standard Distribution (BSD) is a discontinued
operating system based on
Research Unix, developed and distributed by the
Computer Systems Research Group
The Computer Systems Research Group (CSRG) was a research group at the University of California, Berkeley that was dedicated to enhancing AT&T Unix operating system and funded by Defense Advanced Research Projects Agency.
History
Professor Bo ...
(CSRG) at the
University of California, Berkeley. The term "BSD" commonly refers to its open-source descendants, including
FreeBSD
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
,
OpenBSD
OpenBSD is a security-focused, free and open-source, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by forking NetBSD 1.0. According to the website, the OpenBSD project em ...
,
NetBSD
NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is a ...
, and
DragonFly BSD.
BSD was initially called Berkeley Unix because it was based on the
source code of the original
Unix developed at
Bell Labs. In the 1980s, BSD was widely adopted by
workstation vendors in the form of proprietary Unix variants such as
DEC Ultrix
Ultrix (officially all-caps ULTRIX) is the brand name of Digital Equipment Corporation's (DEC) discontinued native Unix operating systems for the PDP-11, VAX, MicroVAX and DECstations.
History
The initial development of Unix occurred on DEC equip ...
and
Sun Microsystems
Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
SunOS
SunOS is a Unix-branded operating system developed by Sun Microsystems for their workstation and server computer systems. The ''SunOS'' name is usually only used to refer to versions 1.0 to 4.1.4, which were based on BSD, while versions 5.0 and l ...
due to its
permissive licensing and familiarity to many technology company founders and engineers.
Although these proprietary BSD derivatives were largely superseded in the 1990s by UNIX
SVR4
Unix System V (pronounced: "System Five") is one of the first commercial versions of the Unix operating system. It was originally developed by AT&T and first released in 1983. Four major versions of System V were released, numbered 1, 2, 3, an ...
and
OSF/1
OSF/1 is a variant of the Unix operating system developed by the Open Software Foundation during the late 1980s and early 1990s. OSF/1 is one of the first operating systems to have used the Mach kernel developed at Carnegie Mellon University, and ...
, later releases provided the basis for several
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
operating systems including
FreeBSD
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
,
OpenBSD
OpenBSD is a security-focused, free and open-source, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by forking NetBSD 1.0. According to the website, the OpenBSD project em ...
,
NetBSD
NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is a ...
,
DragonFly BSD,
Darwin
Darwin may refer to:
Common meanings
* Charles Darwin (1809–1882), English naturalist and writer, best known as the originator of the theory of biological evolution by natural selection
* Darwin, Northern Territory, a territorial capital city i ...
, and
TrueOS. These, in turn, have been used by proprietary operating systems, including
Apple's
macOS and
iOS, which derived from them, and
Microsoft Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
, which used (at least) part of its TCP/IP code, which was legal. Code from FreeBSD was also used to create the operating system for the
PlayStation 4
The PlayStation 4 (PS4) is a home video game console developed by Sony Interactive Entertainment. Announced as the successor to the PlayStation 3 in February 2013, it was launched on November 15, 2013, in North America, November 29, 2013 in ...
,
PlayStation 3,
PlayStation Vita
The PlayStation Vita (PS Vita, or Vita) is a handheld video game console developed and marketed by Sony Interactive Entertainment. It was first released in Japan on December 17, 2011, and in North America, Europe, and other international territo ...
, and
Nintendo Switch
The is a hybrid video game console developed by Nintendo and released worldwide in most regions on March 3, 2017. The console itself is a Tablet computer#Gaming tablet, tablet that can either be docking station, docked for use as a home video ...
.
History
The
earliest distributions of Unix from
Bell Labs in the 1970s included the
source code to the operating system, allowing researchers at universities to modify and extend Unix. The operating system arrived at Berkeley in 1974, at the request of computer science professor
Bob Fabry who had been on the program committee for the
Symposium on Operating Systems Principles where Unix was first presented. A
PDP-11/45 was bought to run the system, but for budgetary reasons, this machine was shared with the mathematics and statistics groups at Berkeley, who used
RSTS, so that Unix only ran on the machine eight hours per day (sometimes during the day, sometimes during the night). A larger
PDP-11/70 was installed at Berkeley the following year, using money from the
Ingres
Jean-Auguste-Dominique Ingres ( , ; 29 August 1780 – 14 January 1867) was a French Neoclassicism, Neoclassical Painting, painter. Ingres was profoundly influenced by past artistic traditions and aspired to become the guardian of academic ...
database project.
Understanding BSD requires delving far back into the history of Unix, the operating system first released by AT&T Bell Labs in 1969. BSD began life as a variant of Unix that programmers at the University of California at Berkeley, initially led by Bill Joy, began developing in the late 1970s.
At first, BSD was not a clone of Unix, or even a substantially different version of it. It just included some extra features, which were intertwined with code owned by AT&T.
In 1975,
Ken Thompson took a
sabbatical
A sabbatical (from the Hebrew: (i.e., Sabbath); in Latin ; Greek: ) is a rest or break from work.
The concept of the sabbatical is based on the Biblical practice of ''shmita'' (sabbatical year), which is related to agriculture. According to ...
from Bell Labs and came to Berkeley as a visiting professor. He helped to install
Version 6 Unix and started working on a
Pascal
Pascal, Pascal's or PASCAL may refer to:
People and fictional characters
* Pascal (given name), including a list of people with the name
* Pascal (surname), including a list of people and fictional characters with the name
** Blaise Pascal, Fren ...
implementation for the system. Graduate students Chuck Haley and
Bill Joy improved Thompson's Pascal and implemented an improved text editor,
ex. Other universities became interested in the software at Berkeley, and so in 1977 Joy started compiling the first Berkeley Software Distribution (1BSD), which was released on March 9, 1978. 1BSD was an add-on to Version 6 Unix rather than a complete operating system in its own right. Some thirty copies were sent out.
The second Berkeley Software Distribution (2BSD), released in May 1979,
included updated versions of the 1BSD software as well as two new programs by Joy that persist on Unix systems to this day: the
vi text editor (a
visual version of
ex) and the
C shell. Some 75 copies of 2BSD were sent out by Bill Joy.
A
VAX computer was installed at Berkeley in 1978, but the
port of Unix to the VAX architecture,
UNIX/32V
UNIX/32V is an early version of the Unix operating system from Bell Laboratories, released in June 1979. 32V was a direct port of the Seventh Edition Unix to the DEC VAX architecture.
Overview
Before 32V, Unix had primarily run on DEC P ...
, did not take advantage of the VAX's
virtual memory capabilities. The
kernel of 32V was largely rewritten to include Berkeley graduate student
Özalp Babaoğlu's virtual memory implementation, and a complete operating system including the new kernel, ports of the 2BSD utilities to the VAX, and the utilities from 32V was released as 3BSD at the end of 1979. 3BSD was also alternatively called Virtual VAX/UNIX or VMUNIX (for Virtual Memory Unix), and BSD kernel images were normally called
/vmunix
until 4.4BSD.
After 4.3BSD was released in June 1986, it was determined that BSD would move away from the aging VAX platform. The
Power 6/32 platform (codenamed "Tahoe") developed by
Computer Consoles Inc.
Computer Consoles Inc. or CCI was a telephony and computer company located in Rochester, New York, United States, which did business first as a private, and then ultimately a public company from 1968 to 1990. CCI provided worldwide telephone compa ...
seemed promising at the time, but was abandoned by its developers shortly thereafter. Nonetheless, the 4.3BSD-Tahoe port (June 1988) proved valuable, as it led to a separation of machine-dependent and machine-independent code in BSD which would improve the system's future portability.
In addition to portability, the CSRG worked on an implementation of the
OSI network protocol stack, improvements to the kernel virtual memory system and (with
Van Jacobson of
LBL) new TCP/IP algorithms to accommodate the growth of the Internet.
[M.K. McKusick, M.J. Karels, Keith Sklower, Kevin Fall, Marc Teitelbaum and Keith Bostic (1989). Current Research by The Computer Systems Research Group of Berkeley. Proc. European Unix Users Group.]
Until then, all versions of BSD used proprietary AT&T Unix code, and were therefore subject to an AT&T software license. Source code licenses had become very expensive and several outside parties had expressed interest in a separate release of the networking code, which had been developed entirely outside AT&T and would not be subject to the licensing requirement. This led to Networking Release 1 (Net/1), which was made available to non-licensees of AT&T code and was
freely redistributable under the terms of the
BSD license. It was released in June 1989.
After Net/1, BSD developer
Keith Bostic proposed that more non-AT&T sections of the BSD system be released under the same license as Net/1. To this end, he started a project to reimplement most of the standard Unix utilities without using the AT&T code. Within eighteen months, all of the AT&T utilities had been replaced, and it was determined that only a few AT&T files remained in the kernel. These files were removed, and the result was the June 1991 release of Networking Release 2 (Net/2), a nearly complete operating system that was freely distributable.
Net/2 was the basis for two separate ports of BSD to the
Intel 80386 architecture: the free
386BSD
386BSD (also known as "Jolix") is a discontinued Unix operating system based on the Berkeley Software Distribution (BSD). It was released in 1992 and ran on PC-compatible computer systems based on the 32-bit Intel 80386 microprocessor. 386BSD inn ...
by
William Jolitz and the
proprietary BSD/386 (later renamed BSD/OS) by
Berkeley Software Design (BSDi). 386BSD itself was short-lived, but became the initial code base of the
NetBSD
NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is a ...
and
FreeBSD
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
projects that were started shortly thereafter.
BSDi soon found itself in legal trouble with AT&T's
Unix System Laboratories (USL) subsidiary, then the owners of the System V
copyright and the Unix trademark. The ''
USL v. BSDi'' lawsuit was filed in 1992 and led to an
injunction
An injunction is a legal and equitable remedy in the form of a special court order that compels a party to do or refrain from specific acts. ("The court of appeals ... has exclusive jurisdiction to enjoin, set aside, suspend (in whole or in pa ...
on the distribution of Net/2 until the validity of USL's copyright claims on the source could be determined. The lawsuit slowed development of the free-software descendants of BSD for nearly two years while their legal status was in question, and as a result systems based on the
Linux kernel
The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ope ...
, which did not have such legal ambiguity, gained greater support. The lawsuit was settled in January 1994, largely in Berkeley's favor. Of the 18,000 files in the Berkeley distribution, only three had to be removed and 70 modified to show USL copyright notices. A further condition of the settlement was that USL would not file further lawsuits against users and distributors of the Berkeley-owned code in the upcoming 4.4BSD release.
The final release from Berkeley was 1995's 4.4BSD-Lite Release 2, after which the CSRG was dissolved and development of BSD at Berkeley ceased. Since then, several variants based directly or indirectly on 4.4BSD-Lite (such as
FreeBSD
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
,
NetBSD
NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is a ...
,
OpenBSD
OpenBSD is a security-focused, free and open-source, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by forking NetBSD 1.0. According to the website, the OpenBSD project em ...
and
DragonFly BSD) have been maintained.
The permissive nature of the
BSD license has allowed many other operating systems, both
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
and proprietary, to incorporate BSD source code. For example,
Microsoft Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
used BSD code in its implementation of TCP/IP and bundles recompiled versions of BSD's
command-line networking tools since
Windows 2000.
Darwin
Darwin may refer to:
Common meanings
* Charles Darwin (1809–1882), English naturalist and writer, best known as the originator of the theory of biological evolution by natural selection
* Darwin, Northern Territory, a territorial capital city i ...
, the basis for Apple's
macOS and
iOS, is based on 4.4BSD-Lite2 and FreeBSD. Various commercial Unix operating systems, such as
Solaris, also incorporate BSD code.
Relationship to Research Unix
Starting with the 8th Edition, versions of Research Unix at Bell Labs had a close relationship to BSD. This began when 4.1cBSD for the VAX was used as the basis for Research Unix 8th Edition. This continued in subsequent versions, such as the 9th Edition, which incorporated source code and improvements from 4.3BSD. The result was that these later versions of Research Unix were closer to BSD than they were to System V. In a
Usenet posting from 2000, Dennis Ritchie described this relationship between BSD and Research Unix:
Relationship to System V
Eric S. Raymond
Eric Steven Raymond (born December 4, 1957), often referred to as ESR, is an American software developer, open-source software advocate, and author of the 1997 essay and 1999 book ''The Cathedral and the Bazaar''. He wrote a guidebook for the ...
summarizes the longstanding relationship between
System V and BSD, stating, "The divide was roughly between longhairs and shorthairs;
programmer
A computer programmer, sometimes referred to as a software developer, a software engineer, a programmer or a coder, is a person who creates computer programs — often for larger computer software.
A programmer is someone who writes/creates ...
s and technical people tended to line up with Berkeley and BSD, more business-oriented types with AT&T and System V."
In 1989, David A. Curry wrote about the differences between BSD and System V. He characterized System V as being often regarded as the "standard Unix." However, he described BSD as more popular among university and government computer centers, due to its advanced features and performance:
Technology
Berkeley sockets
Berkeley's Unix was the first Unix to include libraries supporting the
Internet Protocol stacks: ''
Berkeley sockets''. A Unix implementation of IP's predecessor, the ARPAnet's
NCP, with
FTP and
Telnet clients, had been produced at the
University of Illinois in 1975, and was available at Berkeley.
However, the memory scarcity on the PDP-11 forced a complicated design and performance problems.
By integrating sockets with the Unix operating system's
file descriptor
In Unix and Unix-like computer operating systems, a file descriptor (FD, less frequently fildes) is a process-unique identifier (handle) for a file or other input/output resource, such as a pipe or network socket.
File descriptors typically have ...
s, it became almost as easy to read and write data across a
network as it was to access a disk. The AT&T laboratory eventually released their own
STREAMS
A stream is a continuous body of water, body of surface water Current (stream), flowing within the stream bed, bed and bank (geography), banks of a channel (geography), channel. Depending on its location or certain characteristics, a stream ...
library, which incorporated much of the same functionality in a software stack with a different architecture, but the wide distribution of the existing sockets library reduced the impact of the new
API. Early versions of BSD were used to form
Sun Microsystems
Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
'
SunOS
SunOS is a Unix-branded operating system developed by Sun Microsystems for their workstation and server computer systems. The ''SunOS'' name is usually only used to refer to versions 1.0 to 4.1.4, which were based on BSD, while versions 5.0 and l ...
, founding the first wave of popular Unix workstations.
Binary compatibility
Some BSD operating systems can run native software of several other operating systems on the same
architecture, using a binary
compatibility layer. This is much simpler and faster than
emulation; for example, it allows applications intended for
Linux to be run at effectively full speed. This makes BSDs not only suitable for server environments, but also for workstation ones, given the increasing availability of commercial or closed-source software for Linux only. This also allows administrators to migrate legacy commercial applications, which may have only supported commercial Unix variants, to a more modern operating system, retaining the functionality of such applications until they can be replaced by a better alternative.
Standards
Current BSD operating system variants support many of the common
IEEE,
ANSI,
ISO, and
POSIX standards, while retaining most of the traditional BSD behavior. Like
AT&T Unix, the BSD kernel is
monolithic
A monolith is a monument or natural feature consisting of a single massive stone or rock.
Monolith or monolithic may also refer to:
Architecture
* Monolithic architecture, a style of construction in which a building is carved, cast or excavated ...
, meaning that device drivers in the kernel run in
privileged mode
In computer science, hierarchical protection domains, often called protection rings, are mechanisms to protect data and functionality from faults (by improving fault tolerance) and malicious behavior (by providing computer security).
Computer ...
, as part of the core of the operating system.
BSD descendants
Several operating systems are based on BSD, including
FreeBSD
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
,
OpenBSD
OpenBSD is a security-focused, free and open-source, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by forking NetBSD 1.0. According to the website, the OpenBSD project em ...
,
NetBSD
NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is a ...
,
MidnightBSD
MidnightBSD is a free Unix, desktop-oriented operating system originally forked from FreeBSD 6.1, and periodically updated with code and drivers from later FreeBSD releases. Its default desktop environment, Xfce, is a lightweight user friendl ...
,
MirOS BSD,
GhostBSD,
Darwin
Darwin may refer to:
Common meanings
* Charles Darwin (1809–1882), English naturalist and writer, best known as the originator of the theory of biological evolution by natural selection
* Darwin, Northern Territory, a territorial capital city i ...
and
DragonFly BSD. Both NetBSD and FreeBSD were created in 1993. They were initially derived from
386BSD
386BSD (also known as "Jolix") is a discontinued Unix operating system based on the Berkeley Software Distribution (BSD). It was released in 1992 and ran on PC-compatible computer systems based on the 32-bit Intel 80386 microprocessor. 386BSD inn ...
(also known as "Jolix"), and merged the 4.4BSD-Lite source code in 1994. OpenBSD was
forked from NetBSD in 1995, and DragonFly BSD was forked from FreeBSD in 2003.
BSD was also used as the basis for several proprietary versions of Unix, such as
Sun's
SunOS
SunOS is a Unix-branded operating system developed by Sun Microsystems for their workstation and server computer systems. The ''SunOS'' name is usually only used to refer to versions 1.0 to 4.1.4, which were based on BSD, while versions 5.0 and l ...
,
Sequent's
DYNIX,
NeXT's
NeXTSTEP,
DEC's
Ultrix
Ultrix (officially all-caps ULTRIX) is the brand name of Digital Equipment Corporation's (DEC) discontinued native Unix operating systems for the PDP-11, VAX, MicroVAX and DECstations.
History
The initial development of Unix occurred on DEC equip ...
and OSF/1 AXP (now
Tru64 UNIX
Tru64 UNIX is a discontinued 64-bit UNIX operating system for the Alpha instruction set architecture (ISA), currently owned by Hewlett-Packard (HP). Previously, Tru64 UNIX was a product of Compaq, and before that, Digital Equipment Corporation ( ...
). NeXTSTEP later became the foundation for
Apple Inc.'s
macOS.
See also
*
BSD Daemon
*
BSD licenses
BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lice ...
*
Comparison of BSD operating systems
*
List of BSD operating systems
*
Unix wars
References
Bibliography
* Marshall K. McKusick, Keith Bostic, Michael J. Karels, John S. Quartermain, ''The Design and Implementation of the 4.4BSD Operating System'' (Addison Wesley, 1996; )
* Marshall K. McKusick, George V. Neville-Neil, ''The Design and Implementation of the FreeBSD Operating System'' (Addison Wesley, August 2, 2004; )
* Samuel J. Leffler, Marshall K. McKusick, Michael J. Karels,
John S. Quarterman, ''The Design and Implementation of the 4.3BSD UNIX Operating System'' (Addison Wesley, November 1989; )
*
*
Peter H. Salus, ''The Daemon, the GNU & The Penguin'' (Reed Media Services, September 1, 2008; )
*
Peter H. Salus, ''A Quarter Century of UNIX'' (Addison Wesley, June 1, 1994; )
*
Peter H. Salus, ''Casting the Net'' (Addison-Wesley, March 1995; )
External links
*
A timeline of BSD and Research UNIXUNIX Historynbsp;– History of UNIX and BSD using diagrams
The Design and Implementation of the 4.4BSD Operating SystemThe Unix Tree: Source code and manuals for old versions of UnixEuroBSDCon an annual event in Europe in September, October or November
foundedin 2001
BSDCan a conference in
Ottawa, Ontario, Canada, held annually in May since 2004, in June since 2015
AsiaBSDCon a conference in Tokyo, held annually in March of each year, since 2007
mdoc.su – short manual page URLs for FreeBSD, OpenBSD, NetBSD and DragonFly BSD a web-servic
writtenin
nginx
BXR.SU – Super User's BSD Cross Reference a userland and kernel source code search engine based on
OpenGrok and
nginx
{{Authority control
1977 software
Free software operating systems
Free software programmed in C
Operating system families
Science and technology in the San Francisco Bay Area
University of California, Berkeley