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

Unix/Linux
Linux远程启动
寻找Linux下的网络邻居
Linux 每次启动时钟日期就多了 8 小时
实例讲解 LILO 的配置和使用
深入解剖 LILO
在没有CD-ROM 驱动器的笔记本电脑上安装Linux
Linux 运行级init详解
把 RH 7.0 内核升级到 2.4
Linux 99问(四)
Linux内核重编译常见故障及其解决方法
Linux中文件的压缩与解压缩
Linux下如何实现IP与Mac地址的捆绑?
如何用 Linux 拨号上网
试试一张软盘可装下Linux(嵌入式Linux)
Linux 99问(三)
Linux 99问(二)
Linux 99问(一)
linux核心代码分析(系统初始化start_kernel函数)
让linux支持你的DMA66硬盘
用RPM校验文件

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 167 ::
收藏到网摘: 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] 下一页