跳到正文
hackernews100(fosscomics.com)· joonehur·· 6 小時前品質評分54

Lions 的 Unix 評註本為何曾有 20 年靠影本流傳

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years

重點導讀

學作業系統時,學生需要讀 Unix 原始碼,但當時的授課限制讓老師很難把這些內容拿來教。

  • John Lions 因此寫了《Lions' Commentary on UNIX 6th Edition》,用 Unix 原始碼協助學生理解作業系統。
  • 1979 年 AT&T 宣佈新的 Version 7 授權條款,限制在課堂上公開或討論原始碼,這本書的散佈也受到管制。正式版本出版前約 20 年,學生靠未經授權的影本研讀。文章指出,這本書幫助一代學生學會打造自己的作業系統。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

Posted on Nov 25, 2026

ENKO

John Lions was teaching operating systems at the University of New South Wales in Australia.

What's the best way to
teach operating systems?

They need to study the Unix source.
But it's tough going.

I'll write my
own textbook.

Early on, Unix source could be studied in class. But at USENIX in June 1979, AT&T announced new Version 7 license terms restricting courses that disclosed or discussed source code. Distribution of Lions' book was tightly controlled as well [5][6].

I am altering the license.
Pray I don't alter it
any further.

There is no escape
from our operating system.

Armored soldiers raid a Unix class while someone by the window urges the students to run.

He's teaching from the Unix source code!
Seize the books!
Run!

He's got the book!

Don't let him
escape!

Quick! Take
the book!

An armored soldier fires at the fleeing student.
The student twists as a shot hits him, still clutching the book.

Ugh!

I find your interest
in source code disturbing.

Just use the system calls.
Learn a little theory.
Leave the internals to us.

Theory isn't enough.
I need to see the code.

This code is our only hope
of understanding an OS.

For roughly twenty years before the official edition appeared, computer-science students studied from unauthorized photocopies. The book helped a generation of students learn to build operating systems of their own [5][8].

A student studies the commentary beside a computer.
The cover of Lions' Commentary on UNIX 6th Edition, with Source Code, including Ritchie's foreword.
The officially published edition.

You can read a reconstructed version of the commentary as a PDF, or order a print copy on Amazon. The Unix Version 6 source code is available separately from TUHS.

References

  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 call
  4. UNIX News, Vol. 2 No. 3, March 1977 - John Lions's March 11, 1977 letter and the announcement of book distribution to Unix licensees.
  5. Rachel Chalmers, "Code critic", Salon, November 30, 1999 - recollections from students and Dennis Ritchie, distribution restrictions, and the path to publication.
  6. Peter H. Salus, The Daemon, the GNU and the Penguin, Chapter 6: "1979", 2005 - the Version 7 license terms announced at USENIX in June 1979 and restrictions on classroom use.
  7. Dennis Ritchie's October 22, 1995 letter and Peter H. Salus's July 12, 1996 letter - publication-permission correspondence preserved by Warren Toomey.
  8. MIT, "Xv6, a simple Unix-like teaching operating system", "History and Background" - teaching with Lions's commentary and the background to xv6.
來源: hackernews100 (fosscomics.com)
開啟原文

讀者討論

理性交流 · 即時討論