Gentoo 安装日记 15 (配置内核 :固件驱动..文件系统以及其他)
Firmware Drivers??--->
??????? //固件就是你板上的BIOS、各種顯卡芯片之類的已經固化好的記錄某些特定數據的東西。
?
<*> EFI Variable Support via sysfs
????? < > BIOS update support for DELL systems via sysfs
?????????? //用于DELL機器的BIOS升級支持。
?????? < > Dell Systems Management Base Driver
?????????? //DELL系統管理器的基本驅動。
[*] Export DMI identification via sysfs to userspace
< > DMI table support in sysfs?
[ ] iSCSI Boot Firmware Table Attributes
[ ] Google Firmware Drivers?
File systems? --->
< *> Second extended fs support
//Ext2文件系統是Linux的標準文件系統,擅長處理稀疏文件,由于我/boot 是ext2的 選之
<*> Ext3 journalling file system support
//Ext3性能平庸,使用journal日志模式時數據完整性非常好(但怪異的是此時多線程并發讀寫速度卻最快)
[*]???Default to 'data=ordered' in ext3
[*]???Ext3 extended attributes
[*]?????Ext3 POSIX Access Control Lists
[*]?????Ext3 Security Labels
?
?
<*> The Extended 4 (ext4) filesystem
[*] Use ext4 for ext2/ext3 file systems (NEW)
[*] Ext4 extended attributes (NEW)
[*] Ext4 POSIX Access Control Lists (NEW)
[*] Ext4 Security Labels (NEW)
[ ?] EXT4 debugging support (NEW)
?
?
[ ] JBD (ext3) debugging support
[ ] JBD (ext5) debugging support
//僅供開發者使用
?
?
< > Reiserfs support
< > JFS filesystem support
< > XFS filesystem support
< > GFS2 file system support?
< > OCFS2 file system support
< > Btrfs filesystem (EXPERIMENTAL) Unstable disk format
< > NILFS2 file system support (EXPERIMENTAL)
//以上各種文件系統格式我都不需要。全不選
?
[*] Dnotify support
//舊式的基于目錄的文件變化的通知機制(新機制是Inotify),目前仍然有一些程序依賴它
?
[*] Inotify support for userspace ? ? ? ? ? ? ? ? ??
//選
?
[*] Quota support
//配額支持。也就是說限制某個用戶或者某組用戶的磁盤占用空間。根據自己需求可選可不選。測試一把,我選了。
[*]?? Report quota messages through netlink interface
[ ]?? Print quota warnings to console (OBSOLETE)
?
< > Old quota format support//老式的配額格式支持
< > Quota format vfsv0 and vfsv1 support //對于v0 v1版本的支持,老舊不選用。
?
< > Kernel automounter support?
< > Kernel automounter version 4 support (also supports v3)
//內核自動加載遠程文件系統,我沒這個需求。
?
<M> FUSE (Filesystem in Userspace) support
//FUSE允許在用戶空間實現一個文件系統,如果你打算開發一個自己的文件系統或者使用一個基于FUSE的文件系統就選吧
<M> ? Character device in Userspace support?
?
Caches??--->
< > General filesystem local caching manager
?
CD-ROM/DVD Filesystems??--->CD-ROM/DVD文件系統
<*> ISO 9660 CDROM file system support
//CD-ROM的標準文件系統
[*]???Microsoft Joliet CDROM extensions
//Microsoft對ISO 9660文件系統的Joliet擴展,允許在文件名中使用Unicode字符,也允許長文件名
[*]???Transparent decompression extension
//Linux對ISO 9660文件系統的擴展,允許將數據透明的壓縮存儲在CD上
<*> UDF file system support
//某些新式CD/DVD上的文件系統,很少見
?
DOS/FAT/NT Filesystems??--->DOS/Windows的文件系統
<*> MSDOS fs support
//古老的MSDOS文件系統
<*> VFAT (Windows-95) fs support
(936) Default codepage for
//FAT默認代碼頁.就是怎么顯示fat文件名。如果要與簡體中文windows系統兼容,建議設置為936.使用默認437時,中文會亂碼。選 擇936之后,還需要在File Systems --- Native Language Support 配置項選擇需要編譯進內核的語言支持(CP936)。
(utf8) Default iocharset for FAT
//FAT默認字符集,如果要使用中文,請使用utf8。還需要在File Systems --- Native Language Support 配置項選擇需要編譯進內核的語言支持(utf8)。
?
?
?
<*> NTFS file system support
從WinNT開始使用的NTFS文件系統
[ ]???NTFS debugging support (NEW)
//僅供調試使用
[*]???NTFS write support (NEW)
NTFS寫入支持
?
?
Pseudo filesystems ?--->
-*- /proc file system support
//子選項全部按默認全選即可。
?
[*] Miscellaneous filesystems??--->
//非主流的雜項文件系統
<M> Compressed ROM file system support (cramfs)
//對ROM的支持,這里要選上!
其它子選項按照默認即可。
?
[*] Network File Systems??--->
//網絡文件系統。全部默認吧。如果對NFS有特殊需求的自己解決吧
?
[*] Advanced partition selection
//高級分區選擇,如果你不是用Linux來管理硬盤分區表,選這個。一般來說,要選,而且要選上里面的WINDOWS選項。因為我的硬盤是在WINDOWS 下格式化分區的。我只選擇了
[*] ? PC BIOS (MSDOS partition tables) support ??
[*] ? Windows Logical Disk Manager (Dynamic Disk) support?
?
-*- Native language support??--->??
//本地語言支持.如果你僅僅使用幾種主流的Linux文件系統(ext2/3/4,Reiserfs,JFS,XFS),就不需要這個東西.但是如果你需要 使用FAT/NTFS分區的話,就需要這個東西了.
?
(utf8) Default NLS Option
//默認本地語言,建議使用UTF-8。并選種codepage
<*> ? Simplified Chinese charset (CP936, GB2312)?
?
< > Distributed Lock Manager (DLM)??--->
//通用的分布式鎖管理器,不明白就不選
Kernel hacking? --->
[] Show timing information on printks??
//在printk的輸出中包含時間信息,可以用來分析內核啟動過程各步驟所用時間?,?我不需要debug內核
?
[ ] Enable __deprecated logic
[*] Enable __must_check logic
//在編譯內核的過程中使用"必須檢查"的邏輯,禁用它將不會顯示某些警告信息
?
?
(2048) Warn for stack frames larger than (needs gcc 4.4)
[*] Magic SysRq key?
//魔術鍵功能,用alt+PrintScreen+特定鍵位 的組合鍵來控制系統,在系統崩潰時特別有用,有點類似win2000的ctrl+alt+del
?
[ ] Strip assembler-generated symbols during link
[ ] Enable unused/obsolete exported symbols
//導出無用和廢棄的符號,這將使內核不必要的增大
?
-*- Debug Filesystem
//不是內核開發者的別選
[ ] Run 'make headers_check' when building vmlinux
//在編譯內核時運行'make headers_check'命令檢查內核頭文件,當你修改了與用戶空間相關的內核頭文件后建議啟用該選項
[*] Kernel debugging
//不是內核開發者的別選
?
[ ] Compile the kernel with frame pointers?
//還是跟內核開發有關,不選
?
[ ] Check for stalled CPUs delaying RCU grace periods
< > Linux Kernel Dump Test Tool Module
//不是內核開發者別選
?
[*] Sysctl checks
?
[*] Tracers? --->?
//?內核跟蹤分析器,默認吧
?
[] Remote debugging over FireWire early on boot??
//?啟動過程中,允許遠程調試內核
[ ] Enable dynamic printk() support
[ ] Enable debugging of DMA-API usage
?
[ ] Perform an atomic64_t self-test at boot ? ?
[ ] Sample kernel code ?---> ? ? ? ? ? ? ? ? ? ? ? ? ??
[ ] Filter access to /dev/mem
?
?
[*] Enable verbose x86 bootup info messages?
//輸出啟動過程的詳細信息。可選可不選。關閉后相當于無聲啟動。沒有信息輸出。
?
?
-*- Early printk ? ? ? ?
[ ] ? Early printk via EHCI debug port ?
//不選吧,調試的一概不選
?
?
?
[ ] Use 4Kb for kernel stacks instead of 8Kb
[ ] Enable IOMMU stress-test mode
??? IO delay type (port 0x80 based port-IO delay [recommended])? --->??
[*] Allow gcc to uninline functions marked 'inline'
?
?
Security options ?--->
?
[*] Enable access key retention support
//在內核中保留authentication token和access key
[*]???Enable the /proc/keys file by which keys may be viewed
//允許有權限的進程通過/proc/keys讀取所有的key
[*] Enable different security models
/允許內核選擇不同的安全模型,如果未選中則內核將使用默認的安全模型
[*] Enable the securityfs filesystem
[*] Socket and Networking Security Hooks
//允許安全模型通過Security Hook對Socket與Networking進行訪問控制
[ ]???XFRM (IPSec) Networking Security Hooks啟用XFRM安全Hook
[ ] Security hooks for pathname based access control
?
?
[ ] NSA SELinux Support?
//美國國家安全局(NSA)開發的安全增強Linux(SELinux),你還需要進行策略配置(checkpolicy)并且對文件系統進行標記 (setfiles).我暫時對安全性要求沒那么高。
?
[ ] TOMOYO Linux Support?
[ ] AppArmor support?
[ ] Integrity Measurement Architecture(IMA)?
?? ?Default security module (Unix Discretionary Access Controls) │?
//均按默認
?
< > Self test for hardware accelerated raid6 recovery
//不選
-*- Cryptographic API ?--->?
//默認即可
?
[*] Virtualization ?--->?
//看需要吧,我一個都沒選。
<M> Kernel-based Virtual Machine (KVM) support <> KVM for Intel processors support <M> KVM for AMD processors support [ ] KVM trace support (NEW) <M> Virtio balloon driver (EXPERIMENTAL)?? ?Library routines ?--->
//全部默認
好了 終于全部設置完了, 淚目...
下一篇開始編譯。
總結
以上是生活随笔為你收集整理的Gentoo 安装日记 15 (配置内核 :固件驱动..文件系统以及其他)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Gentoo 安装日记 14 (配置内核
- 下一篇: Gentoo 安装日记 16(编译内核)