Understanding the Linux Kernel helps readers understand how Linux performs best and how
it meets the challenge of different environments. The authors introduce each topic by
explaining its importance, and show how kernel operations relate to the utilities that are
familiar to Unix programmers and users.
The many variants of the Unix operating system require use of a mode of thought that s significantly different from the one that s required by simpler operating systems. Think Unix introduces readers to important fundamental and intermediate Unix commands and, in the process, inculcates them in the Unix way of thinking. It s a worthy goal in a world with more Linux users than ever, and author Jon Lasser accomplishes it. He s both a capable writer and a knowledgeable user of Unix shell commands. Lasser uses bash under Red Hat Linux in most examples--which usually apply equally well to other Unix variants--and makes asides about other shells and environments, as needed.
學(xué)習(xí)本章要達(dá)到的目標(biāo):口1.理解 Linux內(nèi)核編譯選項的含義口2.學(xué)會根據(jù)不同的硬件配置裁減定制內(nèi)核;口3.理解內(nèi)核編譯過程中每一步的功能,并編譯 Linux2.630內(nèi)核。需要去重新編譯 Linux內(nèi)核口增加操作系統(tǒng)對新的硬件設(shè)備的支持口增加內(nèi)核新的功能口對內(nèi)核代碼或內(nèi)核配置進(jìn)行優(yōu)化時Prompt for development and/or incomplete code/drivers口顯示處于開發(fā)調(diào)試中或尚未完善的代碼或驅(qū)口選中:如果是測試人員或者開發(fā)者;口不選:其他情況Local version append to kerne release口追加本地版本號口使用命令“uname-a”進(jìn)行查看。POSIX Message Queues口 POSIX消息隊列的支持,這是 POSIX進(jìn)程間通信的一部分BSD Process Accounting口將進(jìn)程的統(tǒng)計信息寫入文件口信息通常包括建立時間、所有者、命令名稱、內(nèi)存使用、控制終端等,這個選項一般是選擇的。Enable loadable module support口使能可加載模塊支持口如果使能此選項則可以通過"makemodules_insta"把內(nèi)核模塊安裝在/lib/modules/中Kernel support for ELF binaries口內(nèi)核對ELF文件格式的支持口ELF是開放平臺下最常用的二進(jìn)制文件格式支持動態(tài)連接,支持不同的硬件平臺Kernel support for a out and ECOFF binaries口早期UNIX系統(tǒng)的可執(zhí)行文件格式,目前已經(jīng)被ELF格式取代Unix domain sockets口本機(jī)高效率的 Socket口僅能運行在本機(jī)上的高效率的 Socket,簡稱 Unix socket??诤芏噙M(jìn)程使用為這種機(jī)制在操作系統(tǒng)內(nèi)部進(jìn)行進(jìn)程間通信,例如 X Window和 syslog等TCP/IP networking口TcP/IP網(wǎng)絡(luò)協(xié)議的支持