Plan 9 from Bell Labs
Plan 9 from Bell Labs
Plan 9 from Bell Labs is a distributed operating system developed at Bell Labs in the 1980s and 1990s. It was designed to be a successor to Unix, emphasizing network transparency, a unified file system interface, and a clean design. Its name is a reference to the 1959 science‑fiction film Plan 9 from Outer Space.
History
Plan 9 was conceived by the same Bell Labs researchers who contributed to Unix, including Ken Thompson, Dennis Ritchie, and Rob Pike. Development began in the mid‑1980s, and the system was publicly released to universities in 1992. The original goal was to create a system in which distributed resources, such as processors, displays, and storage, could be accessed uniformly through a file‑system abstraction. Plan 9 was not a commercial success, but it influenced later operating systems and research projects. The last official release was the Fourth Edition in 2002; since then, the system has been maintained by the Plan 9 Foundation.
Design and features
- Everything is a file: Plan 9 extends the Unix principle by representing all resources, including network connections, processes, and graphics, as files in a hierarchical namespace.
- 9P protocol: A lightweight, user‑space protocol that allows clients and servers to export file trees over a network, making distributed computing transparent.
- UTF‑8: Plan 9 was the first operating system to adopt UTF‑8 as its native character encoding, designed by Ken Thompson and Rob Pike.
- Rio window system: A simple, compositing window system that treats windows as files.
- Processor pools: Plan 9 separates CPU servers, file servers, and terminals, enabling heterogeneous clusters.
- Rc shell: A simple command language that replaced the Bourne shell, designed for scriptability and consistency.
Legacy
Plan 9's ideas were influential in the development of modern operating systems and file systems. Concepts such as the 9P protocol, per‑process namespaces, and the union mount mechanism were adopted or adapted by projects like Inferno (operating system), Linux (in the form of 9P over Virtio for virtualization), and Windows (through the Plan 9 from User Space tools). The system also inspired the design of Google Go's concurrency model and the Acme text editor.