详细解析Linux内核的主要配置选项
文章作者 100test 发表时间 2007:05:02 14:42:06
来源 100Test.Com百考试题网
配置内核的命令是:
# 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 |