Scope
The book covers process management, virtual memory, filesystems, networking, and device I/O in SVR4, with diagrams and chapter-level analysis tied back to the source tree.
- 50 core technical chapters
- 5 major subsystem groups
- mdBook online reader included
- PDF printable interior included
Contents
Process Management: lifecycle, scheduling, signals, syscalls, process groups, PID handling, credentials, messages, semaphores, shared memory.
Memory Management: address spaces, HAT, page management, segments, anonymous memory, segvn, segkmem, segdev, swap, paging.
File Systems: VFS, vnodes, pathname lookup, DNLC, UFS, S5FS, NFS client, special files, FIFO, FDFS.
Networking: stack overview, sockets, IP, TCP, UDP, interfaces, RPC, NFS server, drivers, STREAMS.
I/O and Device Management: boot, driver framework, interrupts, block I/O, character I/O, executable formats, initialization, timers, DMA, console/TTY.
Method
This work was produced from direct interpretation of the SVR4 source tree hosted at calmsacibis995/svr4-src. The macsplit/unix_doc repository is the book project repository.
This book was not derived from The Magic Garden Explained: The Internals of Unix System V Release 4 by Berny Goodheart and James Cox. That earlier work is noted here as separate prior literature on SVR4.
Diagrams were made with Mermaid. Cartoons were generated with WebDiffusion UI. The book was built with mdBook. The prose was developed iteratively with multiple LLM agents, including Gemini, ChatGPT, and Claude.