Gentoo Linux核心配置(六)

來源:互聯網
上載者:User

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
[ ] iSCSI Boot Firmware Table Attributes

 

 

File systems  --->

< > Second extended fs support

//Ext2檔案系統是Linux的標準檔案系統,擅長處理疏鬆檔案,我用不上。沒選

<*> 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  ---> 

//看需要吧,我一個都沒選。


    Library routines  --->

//全部預設

 

 

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.