作者:阿锐
文档系统
2.6内核的配置和编译(13)
文档系统,
<*> Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[ ] JBD (ext3) debugging support
<*> Reiserfs support
[ ] Enable reiserfs debug mode
[ ] Stats in /proc/fs/reiserfs
[*] ReiserFS extended attributes
[*] ReiserFS POSIX Access Control Lists
[*] ReiserFS Security Labels
[*] JFS POSIX Access Control Lists
[ ] JFS debugging
[ ] JFS statistics
[*] Realtime support (EXPERIMENTAL)
[*] Quota support
[*] Security Label support
[*] POSIX ACL support
< > Minix fs support
< > ROM file system support
[*] Quota support
< > Old quota format support
[*] Dnotify support
< > Kernel automounter support
< > Kernel automounter version 4 support (also supports v3)
CD-ROM/DVD Filesystems --->
DOS/FAT/NT Filesystems --->
Pseudo filesystems --->
Miscellaneous filesystems --->
Network File Systems --->
Partition Types --->
Native Language Support --->
有人说在编译内核时应该将/boot分区和/分区的文档系统编译进内核,其他的能够编译成模块。对,但不确切。让我们来一起了解一下linux系统的启动顺序。在内核被加载后,假如initrd参数传入了内核,内核会去调用指定的文档。当然,initrd和System.map通常都是/boot下。但是同样能够用initrd=(hd1,2)/initrd.img这样的方式指定。内核启动完成后将调用/sbin/init,(假如是链接要确保目标文档能被内核加载)。不同的系统的启动脚本可能不太相同,这里不周详介绍。启动脚本向内核加载模块时可能用/sbin/modprobe或/sbin/insmod,由此看来/sbin的文档系统是要内核支持的。编译的内核模块一般在/lib/modules/的版本目录下,所以/lib/modules的文档系统是要内核支持的。一旦其他文档系统的模块能加载,系统就能向正常的访问内核中的文档系统相同访问模块支持的文档系统了。由于启动脚本、fstab自动加载等文档一般在/etc目录下,因此/etc的文档系统是要内核支持的。
这里概要的介绍了确保系统正常启动的几个关键点,可能我反而把他讲复杂了。假如您能理解上面的这段话,您应该能清楚的知道哪些文档系统是要编译进内核的,哪些是能够编译成模块的。假如您不太理解上面的这段话,下篇贴子我将周详介绍每个选项及几种常用的文档系统。当然这里面包含了我的偏见,假如您觉得我的说法不准确,有误导看官的地方,请一定指出来。我在此先表示多谢了。
2.6内核的配置和编译(14)
<*> Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[ ] JBD (ext3) debugging support
<*> Reiserfs support
[ ] Enable reiserfs debug mode
[ ] Stats in /proc/fs/reiserfs
[*] ReiserFS extended attributes
[*] ReiserFS POSIX Access Control Lists
[*] ReiserFS Security Labels
[*] JFS POSIX Access Control Lists
[ ] JFS debugging
[ ] JFS statistics
[*] Realtime support (EXPERIMENTAL)
[*] Quota support
[*] Security Label support
[*] POSIX ACL support
< > Minix fs support
< > ROM file system support
[*] Quota support
< > Old quota format support
[*] Dnotify support
< > Kernel automounter support
< > Kernel automounter version 4 support (also supports v3)
CD-ROM/DVD Filesystems --->
DOS/FAT/NT Filesystems --->
Pseudo filesystems --->
Miscellaneous filesystems --->
Network File Systems --->
Partition Types --->
Native Language Support --->
Second extended fs support,标准的Linux文档系统,建议将这种文档系统编译进内核。
Ext2 extended attributes,Ext2文档系统的结点名称、属性的扩展支持。
Ext2 POSIX Access Control Lists,POSIX系统的访问权限列表支持。也就是Owner/Group/Others的Read/Write/Execute权限。请参考Unix标准文档系统权限。
Ext2 Security Labels,扩展的安全标签,例如SElinux之类的安全系统会使用到这样的扩展安全属性。
Ext3 journalling file system support,假如您熟悉Redhat Linux,您一定会习惯Ext3文档系统。
Ext3 extended attributes,Ext3文档系统的结点名称、属性的扩展支持。
Ext3 POSIX Access Control Lists,POSIX系统的访问权限列表支持。
Ext3 Security Labels,扩展的安全标签支持。
JBD (ext3) debugging support,Ext3的调试。除非您是文档系统的研发者,否则不要选上这一项。
Reiserfs support,假如您熟悉Suse Linux,您一定会习惯Reiserfs文档系统。
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!



