henesyinit from p9fd787fda5 years agoHistory
214 lines · 6.2 KB · HTML
RawDownload
<html><title>data</title><body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#330088" ALINK="#FF0044"><H1>Plan 9 From Bell Labs<br>Third Release Notes<br>June 7, 2000</H1><br>&#32;<br><DL><DT><DD><TT><PRE>Copyright &#169; 2000 Lucent Technologies Inc.All Rights Reserved<br>&#32;<br></PRE></TT></DL><br>&#32;<br>The third release of the Plan 9 operating system from Bell Labsis something of a snapshot of the current system.This differs from the previous, 1995 release,which was a more coordinated, well-defined release of an already-out-of-datesystem.Also, the previous releases were distributed on fixed media, while this releaseis being done over the web.The other major difference is that the third release is licensed underan open source agreement, which we hope will encourage peopleto experiment with it.<br>&#32;<br>Beyond that, there are innumerable little changes throughout the code.Although superficially it is the same environment, there is hardly an aspectof the system that has not been redesigned, rewritten, or replaced.The following is an incomplete list of changes.<br>&#32;<br>*The list of architectures has changed; more compilers are includedand the list of kernels has changed.There is solid support for Intel x86 multiprocessors.Also, although the sources are available forother architectures, the binaries and libraries are built only for theIntel x86 architectures.Kernel source is available for x86, Mips, DEC Alpha, and Power PC architectures.Compilers also exist for AMD 29000, Motorola MC68000 and MC68020,Intel i960, and SPARC.(Unlike the the last release, no SPARC kernel exists for the current system.)The compilers and related toolshave been made easier to port to Unix and Windows.<br>&#32;<br>*The kernel now has a file cache to improve I/O performance.Other kernel changes include the replacement of the streams interfacewith a simpler, faster, but less flexible I/O queue structure.The x86 kernels support PCI and PCMCIA devices.<br>&#32;<br>*Network management has been simplified and generalized.DNS supports a resolver mode and the DNS server is now solid.DHCP is supported both at the client and server ends.The system can handle multiple IP stacks, which are alsono longer Ethernet-specific.<br>&#32;<br>*The organization of disks in the kernel has been unified, providinga consistent interface to all disks and controllers: SCSI or ATAPI,magnetic or CD-ROM.<br>&#32;<br>*File offsets, such as in the<TT>seek</TT>system call, are now 64-bit values.The 1995 release defined the type<TT>Length</TT>for the x86 as<DL><DT><DD><TT><PRE>typedef union{	char	clength[8];	vlong	vlength;	struct	{		long	hlength;		long	length;	};} Length;</PRE></TT></DL>which is the wrong byte order.Now, for all architectures,<TT>Length</TT>is well handled by a<TT>vlong</TT>(<TT>long</TT><TT>long</TT>)type, although for compatibility it's still held in a union:<DL><DT><DD><TT><PRE>typedef union{	vlong	length;} Length;</PRE></TT></DL><br>&#32;<br>*The kernel now maintains a file name associated with each open file ordirectory, which can be cheaply recovered by the<TT>fd2path</TT>system call.Plan 9 now does a much better job with<TT>..</TT>(dot-dot).On a related note, a description of a process's name space may beread with the<TT>ns</TT>file in<TT>/proc</TT>,or by the<TT>ns</TT>command.<br>&#32;<br>*The security model is the same, althoughthe key format has changed.If you have an old key file, use<TT>auth/convkeys2</TT>(see<A href="/magic/man2html/8/auth"><I>auth</I>(8))</A>to update it.There are new libraries for mulitprecision arithmetic and security.<br>&#32;<br>*The graphics model is very different.It is based on the Porter-Duff compositing algebra rather than<TT>bitblt</TT>,and the system supports everything from bitmaps to true-color displays.Some of the graphics drivers exploit hardware acceleration.<br>&#32;<br>*Coupled to the graphics changes, the image and font file formats havechanged.They can represent a wider range of pixel formats and compress the data.Also the white/black sense of value is reversed (zero is now black; pixelsrepresent light, not ink).Most of the tools can handle the old format, but they all write the new format only.<br>&#32;<br>*The user interface now incorporates plumbing, a language-drivenway for applications to communicate.  See<A href="/magic/man2html/6/plumb"><I>plumb</I>(6)</A>for information.<br>&#32;<br>*Building on plumbing and a program that presents the mail box as a filesystem, Plan 9 now has convenient support for MIME mail messages.<br>&#32;<br>*<TT>8&#189;</TT>has been replaced by<TT>rio</TT>,which has a similar appearance but a different architecture.Although still a file server, it is much more efficient: the kernel drivermultiplexes graphics output so<TT>rio</TT>is not in the display path.<TT>Rio</TT>handles input and window control only.<br>&#32;<br>*PC booting is more sophisticated.  PCs can now boot Plan 9 directly fromthe disk without running DOS.<br>&#32;<br>*Alef is gone.It was deemed too difficult to maintain two sets of compilers and librariesfor all architectures.Alef programs were translated into C, with the help of a new thread librarythat preserves much of Alef's functionality, but none of its syntax.<br>&#32;<br>*Mothra is gone.  There is no web browser included in this release,but something may well appear before long.<br>&#32;<br>*The<TT>fb</TT>(frame buffer) suite is gone. Most of its tools aresupplanted by new ones, such as<TT>page</TT>,<TT>jpg</TT>,and<TT>togif</TT>.<br>&#32;<br>*Also gone from this release are the games and support forinternational input(<TT>ktrans</TT>etc.).Both may return.<br>&#32;<br>*New things include an implementation of<TT>ssh</TT>,an IMAP4 server,and some spam-filtering software (see<A href="/magic/man2html/8/scanmail"><I>scanmail</I>(8)).</A><br>&#32;<br>There's lots more.If you have problems, mail<TT>9trouble@plan9.bell-labs.com</TT>.Please don't mail us individually.<br>&#32;<br>Good Luck! <br>&#32;<br><A href=http://www.lucent.com/copyright.html>Copyright</A> &#169; 2000 Lucent Technologies Inc.  All rights reserved.</body></html>