release4.ms 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .TL
  2. Plan 9 From Bell Labs
  3. .br
  4. Fourth Release Notes
  5. .br
  6. April, 2002
  7. .LP
  8. .sp -.4i
  9. .nf
  10. .ce 1000
  11. Copyright © 2002 Lucent Technologies Inc.
  12. All Rights Reserved
  13. .sp .2i
  14. .fi
  15. .LP
  16. The fourth release of the Plan 9 operating system from Bell Labs
  17. packages a major overhaul of the system at every level.
  18. From the underlying file system protocol, 9P, through the kernel,
  19. libraries, and applications, almost everything has been modified
  20. and, in many cases, redesigned or rewritten.
  21. .LP
  22. The most significant change is that 9P has been redesigned to address
  23. a number of shortcomings, most important, its previous inability to handle long
  24. file names.
  25. Unfortunately, squeezing long names onto the disks of existing
  26. file servers is a messy business that we're still grappling with,
  27. so at the moment
  28. .I fs (4)
  29. and
  30. .I kfs (4)
  31. can't yet handle long names,
  32. although they do talk the new protocol.
  33. (In fact, they
  34. talk both old and new, as required, to ease transition.)
  35. In the meantime, there is a workaround \(em
  36. .I lnfs (4)
  37. \(em
  38. and many of the other file servers such as
  39. .I ramfs (4)
  40. and
  41. .I u9fs (4)
  42. work just fine with long names.
  43. It's only the standard disk-resident file servers
  44. that don't, and as soon we have versions that do, we'll release them.
  45. .LP
  46. The following is a partial list of the major changes throughout the system.
  47. .de Xx
  48. .LP
  49. \(bu
  50. ..
  51. .Xx
  52. The file system protocol, 9P, has been reworked.
  53. It now has variable-length names, so it can handle long names
  54. but also is more compact when handling short ones.
  55. It uses a different format that is easily parsed, eliminating the need for the old
  56. .CW aux/fcall
  57. utility,
  58. and delegates its authentication duties to an external agent,
  59. .CW factotum .
  60. .Xx
  61. Security has been a focus of attention.
  62. A new security agent,
  63. .I factotum (4),
  64. manages passwords and other secrets and, coupled with a new secure file store
  65. .I secstore (8),
  66. enables secure single sign-on.
  67. .Xx
  68. .CW Cpu ,
  69. .CW import ,
  70. and
  71. .CW exportfs
  72. all encrypt their connections now, and since they use the new 9P they
  73. also use new network port numbers.
  74. A new service
  75. .I aan (1)
  76. is used by
  77. .CW import
  78. to make its network connections more reliable in the face of network outages.
  79. The old ports still work, through the agency of a protocol conversion filter
  80. .I srvold9p (4).
  81. .Xx
  82. We are phasing out the IL protocol since it doesn't handle long-distance connections
  83. well (and long-distance networks don't handle it well, either).
  84. IL is still used by
  85. .I fs (4)
  86. (in time, that too will change)
  87. but TCP has become the standard protocol for all other services.
  88. .Xx
  89. The software for the new network-resident secure block store,
  90. .I venti (8),
  91. is included with this distribution.
  92. We are in the process of reworking
  93. .I fs (4)
  94. to use Venti rather than a WORM as its permanent block repository/backup medium,
  95. but that code is only in the design stage and is not included in this release.
  96. .Xx
  97. The need to handle longer file names triggered a rethinking of the way the
  98. system handles strings in general.
  99. The kernel is now more explanatory when it gives an error message and
  100. more consistent in how it handles strings such as commands to devices.
  101. The interfaces to many of the system calls, such as
  102. .I errstr (2)
  103. and
  104. .I wait (2)
  105. all had to change as a result, as did the library interface to read directories,
  106. .I stat (2)
  107. and its relatives.
  108. .Xx
  109. The formatted I/O package described in
  110. .I print (2)
  111. and
  112. .I fmtinstall (2)
  113. has been redesigned.
  114. Although the basic interface is unchanged, it now runs without locks and
  115. has an internal buffer management mechanism that means
  116. .CW print
  117. no longer needs a large on-stack buffer.
  118. The interface for writing custom print verbs and custom formatted I/O routines
  119. has also been greatly improved.
  120. .Xx
  121. The thread library
  122. .I thread (2)
  123. has been completely rewritten.
  124. The main visible change is that, coupled with the changes to printing,
  125. .CW threadprint
  126. is gone; you can just use
  127. .CW print
  128. or
  129. .CW fprint
  130. at will.
  131. .Xx
  132. Support for electronic mail has been extended in many ways and now includes
  133. some new spam filtering tools,
  134. much better (and more standard) handling of MIME messages,
  135. the ability to render incoming HTML mail,
  136. and much more.
  137. .LP
  138. There are so many changes to the programming interfaces of the system
  139. that they are described in a separate document, entitled
  140. .I
  141. Changes to the Programming Environment in the Fourth Release of Plan 9.
  142. .R
  143. Please read it before you start updating your own software to run under the new system.
  144. .LP
  145. The installation method has also changed and we're moving towards a new
  146. method for maintaining updates.
  147. The Plan 9 Wiki
  148. .CW http://plan9.bell-labs.com/wiki/plan9 ) (
  149. and Usenet group
  150. .CW comp.os.plan9 ) (
  151. are the places to visit to learn more and stay current.
  152. In particular, the installation notes are now maintained in the Wiki;
  153. the traditional papers on installation and start-up are gone.
  154. .LP
  155. There's lots more new stuff.
  156. If you have problems, mail
  157. .CW 9trouble@plan9.bell-labs.com
  158. or, better, check the wiki
  159. .CW http://plan9.bell-labs.com/wiki/plan9
  160. or ask the Usenet newsgroup
  161. .CW comp.os.plan9 .
  162. .LP
  163. Good Luck!