📖 Overview
Lions' Source Code and Commentary on UNIX Level 6 is a line-by-line analysis of the UNIX Version 6 kernel source code. The book consists of two parts: the complete source code listing of the UNIX kernel, and Lions' detailed technical commentary explaining how the code works.
The commentary breaks down complex operating system concepts by examining actual implementation in code. Lions walks through key components including process management, the file system, memory management, and device handling.
The book became an underground classic in the 1970s-80s when AT&T's licensing restrictions prevented its official publication. Students and programmers passed around photocopied versions, making it one of the most influential underground technical documents in computing history.
This text represents a watershed moment in operating system education and transparency. The practice of studying real operating system source code, rather than simplified examples, transformed how programmers learned about OS design.
👀 Reviews
Readers describe this as a detailed examination of an early UNIX version that teaches operating system principles through source code analysis. Many emphasize its historical significance as one of the first deep dives into UNIX internals.
Likes:
- Clear explanations of complex OS concepts
- Line-by-line code breakdowns help understanding
- Reveals design decisions behind UNIX architecture
- Still relevant for modern OS development
Dislikes:
- Dense technical content requires prior C knowledge
- Some code examples feel dated
- Limited availability before 1996 affected accessibility
- Print quality issues in some editions
Ratings:
Goodreads: 4.17/5 (23 ratings)
Amazon: 4.5/5 (15 ratings)
Notable review: "The commentary explains not just what the code does, but why it does it that way. This insight into the thought process behind OS design choices is invaluable." - Amazon reviewer
The book was privately circulated as photocopies for years before official publication, making review data limited.
📚 Similar books
Operating Systems: Design and Implementation by Andrew S. Tanenbaum, Albert S. Woodhull
This book walks through the complete source code of MINIX, providing line-by-line explanations of a real operating system's implementation.
The Design of the UNIX Operating System by Maurice J. Bach The text examines the internal algorithms and structures of System V UNIX through detailed technical descriptions of the kernel components.
UNIX Internals: The New Frontiers by Uresh Vahalia The book presents the architecture and implementation details of modern UNIX systems including SVR4, Solaris, and BSD.
Linux Kernel Development by Robert Love The material covers the design and implementation of the Linux kernel, explaining core subsystems and data structures through code analysis.
The Design and Implementation of the FreeBSD Operating System by Marshall Kirk McKusick The text provides comprehensive coverage of FreeBSD's internal structure through source code examination and architectural explanations.
The Design of the UNIX Operating System by Maurice J. Bach The text examines the internal algorithms and structures of System V UNIX through detailed technical descriptions of the kernel components.
UNIX Internals: The New Frontiers by Uresh Vahalia The book presents the architecture and implementation details of modern UNIX systems including SVR4, Solaris, and BSD.
Linux Kernel Development by Robert Love The material covers the design and implementation of the Linux kernel, explaining core subsystems and data structures through code analysis.
The Design and Implementation of the FreeBSD Operating System by Marshall Kirk McKusick The text provides comprehensive coverage of FreeBSD's internal structure through source code examination and architectural explanations.
🤔 Interesting facts
🔸 The book was originally published in 1977 as a limited print run for educational use at the University of New South Wales, but due to AT&T's licensing restrictions, it became an underground classic passed between programmers as photocopied "samizdat" editions.
🔸 John Lions' detailed commentary on the UNIX Version 6 source code was so influential that it became known as the "Lions Book" and was considered the canonical reference for understanding UNIX internals for an entire generation of computer scientists.
🔸 Despite being technically "illegal" to distribute for many years due to source code licensing, the book was so valuable that Dennis Ritchie himself (co-creator of UNIX) stated it should be made available to everyone interested in operating systems.
🔸 The book was finally legally published in 1996 by Peer-to-Peer Communications, nearly 20 years after its original creation, when the source code restrictions were finally lifted.
🔸 John Lions (1937-1998) was an Australian computer scientist who made this remarkable contribution to computer science education while working as a lecturer at UNSW, where he taught one of the world's first Unix courses.