Skip to content

brianredbeard/lkn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d00c6e1 · Aug 29, 2014
Aug 29, 2014
Aug 31, 2006
Sep 9, 2006
Sep 25, 2006
Aug 29, 2014
Aug 24, 2006
Aug 29, 2014
Sep 9, 2006
Sep 25, 2006
Sep 8, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 25, 2006
Sep 9, 2006
May 10, 2006
Jan 29, 2006
Apr 29, 2006
Sep 9, 2006
Sep 25, 2006

Repository files navigation

Linux Kernel in a Nutshell

About

Linux Kernel in a Nutshell is a 2006 book by Greg Kroah-Hartman. It is released under the Creative Commons Attribution-ShareAlike 2.5 License.

This is a mirror and not the authoritative location (http://www.kroah.com/lkn/)

Building the book

The book is written in Docbook XML format as per standard O'Reilly guidelines. More information on their toolchain can be found in the dblite directory. O'Reilly books use a modified version of Docbook XML and their corredponding DTD files are in the dblite path.

One of the primary reasons for this mirror was creating a version of the book in EPUB and Mobi format. These files are located under the "releases" directory. The source for the epub changes are in the epub branch.

To generate the required files for the epub:

$ xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.78.1/epub/docbook.xsl ../book.xml
$ cp -r ../images OEBPS/
$ echo "application/epub+zip" > mimetype
$ zip -0Xqr  lkn.epub mimetype META-INF OEBPS/

This will create two new directories META-INF and OEBPS. These contain the content for the book. Unfortunately since the O'Reilly Docbook is non standard it doesn't know how to handle the images, but copying the directory into OEBPS fixes this. Finally, the zip command generates the actual epub file lkn.epub.

Other resources