Encyclopedia > Plan9

  Article Content

Plan 9

Redirected from Plan9

Plan 9 is a Unix-like operating system developed by Bell Laboratories. The first edition of Plan 9 was released in 1993, a second shrink-wrapped version in 1995, and the third under a non-free licence (but with source code available) in 2000. Currently the rights to the product are held by a UK company, Vita Nuova.

Plan 9 started at about the same time that large-scale efforts were being made to productize microkernel operating systems. In the microkernel world, the "whole idea" is to reduce the kernel to the bare minimum functions needed by all operating systems at their core. This includes such duties as arbitrating access to hardware, memory, and time on the CPU. A complete OS would then be created as a selection of programs running on top of the kernel, known as servers, communicating to each other by passing messages. The advantage to this approach was that it modularized the operating system, as well as allowing those messages to be passed among machines to create a single larger computer.

Plan 9's designers were also interested in similar goals, but took a different route entirely. Instead of asking the question "what do all operating systems want to do", Plan 9 asked "what is Unix really trying to do?". The answers to these two questions are very different, and in the case of Plan 9 this included:

  • represent everything as a file
  • make no distinction between local and remote objects

and nothing more.

The first issue was handled by extending the system beyond files to "names", that is, a unique path to any object whether it be a file, screen, user, or computer. All were handled using the existing Unix standards, but extended such that any object could be named and addressed (a similar need created the widely-used URI system).

In addition to this, the system allowed objects to have different names for different users, in effect each user could create their own customized "meta-computer" by collecting various named objects into their workspace. Unix has a similar concept in which users gain privileges by being copied from another user, but in Plan 9 this can be extended to any object. In fact the user can easily spawn another copy of themselves, modify that copy, and then dump it without it affecting any of the original resources.

The second issue resulted in a new low-level networking protocol known as 9P. Simply put, 9P was a system for connecting one named object to another using a file-like system. 9P can be thought of as a fast byte-oriented (as opposed to block-oriented) version of NFS, one that can talk to any object and not just an NFS server on the remote machine.

The result is a distributed computing environment assembled from separate machines – terminals that sit on users' desks, file servers that store permanent data, and other servers that provide faster CPUs, user authentication, and network gateways[?], all using 9P. The protocol is used to refer to and communicate with processes, programs, and data, including both the user interface and the network.

It is based on the best features of UNIX but was developed to demonstrate the concept of making communication the central function of the computing system -- all system resources are named and accessed as if they were files and allowing multiple views of the distributed system to be defined dynamically for each program running on a particular machine. This approach improves generality and modularity of application design by encouraging servers that hold any information to appear to users and to applications just like collections of ordinary files

Plan 9 runs on Intel, MIPS, DEC Alpha, and PowerPC architectures. It is written in a strict dialect of ISO/ANSI C. It can import POSIX applications and can emulate the Berkeley socket interface[?]. It has complete UTF-8 support, and a windowing system called rio.

The name is based on the scifi movie Plan 9 from Outer Space directed by Ed Wood, which many consider one of the worst (or best, depending on your point of view) movies ever made.

License

Plan 9's license isn't considered Open Source by OSI nor free software by FSF

External links



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Brazil

... 20th centuries, a period that also saw Brazil industrialise and further expand into its interior. Brazil became a dictatorship in 1937 under Getulio Vargas, returned to ...

 
 
 
This page was created in 22.8 ms