当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 详细解析 Linux内核的主要配置选项

Unix/Linux
Linux基础知识99问(一)
剖析Linux系统启动过程
Linux日志式文件系统面面观
Linux的引导过程剖析
Linux环境下使用JFS文件系统
Linux环境下的ReiserFS文件系统
Linux环境中使用Ext3文件系统
Linux环境下使用XFS文件系统
解析Linux特殊文件
Linux操作系统内核编译详解
Linux中BSD套接口开发的基础介绍
Linux内核模块和驱动的编写
如何编写Linux设备驱动程序
编写Linux实用程序的艺术
分析Windows和Linux动态库
Linux环境下的高级隐藏技术
Linux操作系统发展简史
混合使用Linux和Windows
浅谈linux操作系统的优化及安全
轻松解决 Linux操作系统故障恢复技巧

Unix/Linux 中的 详细解析 Linux内核的主要配置选项


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 36 ::
收藏到网摘: n/a

配置内核的命令是:

# make config 文本配置方式

# make menuconfig 菜单配置方式

# make xconfig 图形界面配置方式

我们可以采用任何一个命令配置内核,一般推荐使用make menuconfig来配置内核。

一.代码成熟度选项


Code maturity level options --->[*] Prompt for development and/or incomplete code/drivers [*] Select only drivers expected to compile cleanly

在内核中包含了一些不成熟的代码和功能,如果我们想使用这些功能,想打开相关的配置选项,就必需打开这一选项。

二.通用设置选项

General setup --->() Local version - append to kernel release[*] Automatically append version information to the version string[*] Support for paging of anonymous memory (swap)[*] System V IPC[*] POSIX Message Queues[*] BSD Process Accounting[*] BSD Process Accounting version 3 file format[*] Sysctl support[ ] Auditing support[*] Support for hot-pluggable devices[*] Kernel Userspace Events[*] Kernel .config support[*] Enable access to .config through /proc/config.gz() Initramfs source file(s)[*] Configure standard kernel features (for small systems) ---> --- Configure standard kernel features (for small systems) [ ] Load all symbols for debugging/kksymoops [ ] Do an extra kallsyms pass [ ] Enable support for prinlk [ ] BUG()support [ ] Enable full-sinzed data structures for core [*] Enable futex support [*] Enable eventpoll support [*] Optimize for size [*] Use full shmem filesystem (0) Function alignment (0) Label alignment (0) Loop alignment (0) Jump alignment

[1] [2] [3] [4] 下一页