[go: nahoru, domu]

Jump to content

9P (protocol)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 66.92.185.225 (talk) at 03:32, 11 May 2007 ((compress language) Comment: {{IPstack}} looks really inapropriate here. Why not a photo of cat-5 cable as well?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

9P (or the Plan 9 Filesystem Protocol or Styx), is a network protocol developed for the Plan 9 from Bell Labs distributed operating system as the means of connecting the components of a Plan 9 system. Files are key objects in Plan 9. They represent windows, network connections, processes, and almost anything else available in the operating system. 9P encourages caching and also serving of synthetic files (e.g. /proc to represent processes), unlike NFS.

9P was revised for the 4th edition of Plan 9 under the name 9P2000 that contained various fundamental improvements. The latest version of Inferno also uses 9P2000. The Inferno file protocol was originally called Styx, but technically it has always been a variant of 9P.

There is a server implementation of 9P for Unix called u9fs included in the Plan 9 distribution, and a kernel client driver for Linux as part of the v9fs project. 9P (and derivatives) have also found application in embedded environments, such as the Styx on a Brick project.

9P server applications

Many of Plan 9's applications take the form of 9P servers; some particularly noteworthy examples:

  • acme: a user interface for programmers
  • rio: the Plan 9 window manager.
  • plumber: interprocess communication
  • wikifs: a wiki

See also

External links

Documentation

Implementations