狮子书》:Unix源码教学传奇与版权风波

约翰·莱恩斯编写《狮子书》讲解Unix源码。1979年AT&T收紧许可后,该书遭官方封锁,学生靠未授权复印件学习约20年,成为构建操作系统的重要基石。

约翰·莱恩斯(John Lions)在澳大利亚新南威尔士大学讲授操作系统课程时,面临着一个核心难题:如何让学生真正理解操作系统的内部机制。他认为,最有效的教学方式是直接研究 Unix 的源代码,但这在当时并非易事。

地下流传的Unix源码讲义
他们需要研究 Unix 的源代码。但这是一个艰难的过程。
我会写自己的教科书。

起初,在课堂上学习 Unix 源代码尚属可行。然而,1979 年 6 月,AT&T 在 USENIX 大会上发布了新的第 7 版许可条款,严格限制在课程中披露或讨论源代码。这一举措使得《狮子书》(Lions' Commentary on UNIX 6th Edition, with Source Code)的发行受到严密管控[5][6]。

我正在修改许可证。祈祷我没有改变它进一步。
没有逃脱我们的操作系统。

尽管官方试图封锁源码的传播,但在正式版出版前的约 20 年间,计算机科学系的学生们依靠未经授权的复印件进行学习和交流。这本书成为了一代学生构建自己操作系统的重要基石[5][8]。

他拿到了书!
不要让他逃跑!
快点,快点!这本书!

Ugh!

我发现你对源代码的兴趣令人不安。
只是使用系统调用。学习一些理论。让我们来处理内部问题。
理论还不够。我需要看到代码。
这个代码是我们理解操作系统的唯一希望。

目前,《狮子书》的官方版本已可在 Amazon 订购印刷版。此外,Unix 第 6 版的源代码也可通过 TUHS(The Unix Heritage Society)单独获取。

官方出版的版本。

参考资料

  1. Lions' Commentary on UNIX 6th Edition, with Source Code
  2. John Lions, Lions' Commentary on UNIX 6th Edition, with Source Code, Peer-to-Peer Communications, 1996 (ISBN 1-57398-013-7)
  3. System Calls
  4. UNICEN News, Vol. No. 3 March 1977 - John Lions' letter of March 11, 1977 and announcement of book distribution to Unix licensees.
  5. November 30, 1999 - Recollections by students and Dennis Ritchie regarding distribution restrictions and the path to publication.
  6. Peter H. Salus, The Daemon, the GNU and the Penguin, Chapter 6: "1979", 2005 - Details on the 7th edition license terms announced at the June 1979 USENIX conference and restrictions on classroom use.
  7. Dennis Ritchie's letter of October 22, 1995 and Peter H. Salus' letter of July 12, 1996 - Letters preserved by Warren Toomey regarding publishing permissions.
  8. MIT, "Xv6, a simple Unix-like teaching operating system", "History and Background" - Teaching context via Lions' commentary and xv6 background.

评论 0

0/500

评论需审核后展示,请文明发言

💬
还没有评论,来说两句

相关阅读