LinuxÄÚºËÔ´ÂëKconfigÓï·¨·ÖÎö
linuxÔÚ2.6°æ±¾ÒÔºó½«ÅäÖÃÎļþÓÉÔÀ´µÄconfig.in¸ÄΪkconfig£¬¶ÔÓÚkconfigµÄÓï·¨ÔÚ/Documentation/kbuild/kconfig-language.txtÖÐ×öÁËÏêϸµÄ˵Ã÷£¬ÔÚÕâÀï¸ø³ökconfig-language.txtµÄÖÐÎÄ°æ¡£
½éÉÜ
----
ÔÚÅäÖÃÊý¾Ý¿âµÄÅäÖÃÑ¡ÏîÊÇÒÔÊ÷µÄÐÎʽ×éÖ¯µÄ£º
+- Code maturity level options
| +- Prompt for development and/or incomplete code/drivers
+- General setup
| +- Networking support
| +- System V IPC
| +- BSD Process Accounting
| +- Sysctl support
+- Loadable module support
| +- Enable loadable module support
| +- Set version information on all module symbols
| +- Kernel module loader
+- ...
ÿ¸öÑ¡ÏÓÐÆä×Ô¼ºµÄÒÀÀµ¹Øϵ¡£ÕâЩÒÀÀµ¹Øϵ¾ö¶¨ÁËÑ¡ÏîÊÇ·ñÊǿɼûµÄ¡£¸¸Ñ¡Ïî¿É¼û£¬×ÓÑ¡Ïî²ÅÄܿɼû¡£
²Ëµ¥Ñ¡Ïî
--------
´ó¶àÊýµÄÑ¡Ï¶¨ÒåÁËÒ»¸öÅäÖÃÑ¡ÏÆäËüÑ¡ÏîÔòÓÐÖúÓÚ¶ÔËüÃǽøÐÐ×éÖ¯¡£(ÔÎÄ£ºMost entries define
a config option, all other entries help to organize them.)Ò»¸öÅäÖÃÑ¡ÏÒå¿ÉÒÔÊÇÏÂÃæ
µÄÐÎʽ£º
config MODVERSIONS
bool "Set version information on all module symbols"
depends MODULES
help
Usually, modules have to be recompiled whenever you switch to a new
kernel. ...
ÿÐж¼ÊÇÒԹؼü×Ö¿ªÊ¼£¬²¢¿ÉÒÔ½Ó¶à¸ö²ÎÊý¡£"config" Ϊ¶¨ÒåÁËһеÄÅäÖÃÑ¡Ïî¡£ÏÂÃæµÄ¼¸Ðж¨ÒåÁ˸ÃÅäÖÃ
Ñ¡ÏîµÄÊôÐÔ¡£ÊôÐÔ¿ÉÒÔÊǸÃÅäÖÃÑ¡ÏîµÄÀàÐÍ£¬ÊäÈëÌáʾ(input prompt)£¬ÒÀÀµ¹Øϵ£¬°ïÖúÐÅÏ¢ºÍĬÈÏÖµ¡£Ò»
ÅäÖÃÑ¡Ïî¿ÉÒÔÓÃÏàͬµÄÃû×Ö¶¨Òå¶à´Î£¬µ«Ã¿¸ö¶¨ÒåÖ»ÄÜÓÐÒ»¸öÊäÈëÌáʾ²¢ÇÒÀàÐÍ»¹²»ÄܳåÍ»¡£
²Ëµ¥ÊôÐÔ
--------
Ò»²Ëµ¥Ñ¡Ïî¿ÉÒÔÓжà¸öÊôÐÔ¡£²¢²»ÒªÇóÕâЩÊôÐÔ¿ÉÒÔÓÃÔÚÈκεط½(¼ûÓï·¨)¡£
- ÀàÐͶ¨Ò壺"bool"/"tristate"/"string"/"hex"/"int"
ÿ¸öÅäÖÃÑ¡Ï±ØÐëÖ¸¶¨ÀàÐÍ¡£ÓÐÁ½¸ö»ù±¾ÀàÐÍ£ºtristate ºÍ string£¬ÆäËûÀàÐͶ¼ÊÇ»ùÓÚÕâÁ½¸ö»ù±¾
ÀàÐÍ¡£ÀàÐͶ¨Òå¿ÉÒÔÓÃÊäÈëÌáʾ£¬ËùÒÔÏÂÃæµÄÁ½¸öÀý×ÓÊǵȼ۵ģº
bool "Networking support"
ºÍ
 
Ïà¹ØÎĵµ£º
´óÖÂÃüÁîÈçÏ£º
tar xvfj lichuanhua.tar.bz2
tar xvfz lichuanhua.tar.gz
tar xvfz lichuanhua.tgz
tar xvf lichuanhua.tar
unzip & ......
¡¡¡¡vi/vim ÖпÉÒÔʹÓà :s ÃüÁîÀ´Ìæ»»×Ö·û´®¡£ÒÔÇ°Ö»»áʹÓÃÒ»ÖÖ¸ñʽÀ´È«ÎÄÌæ»»£¬½ñÌì·¢ÏÖ¸ÃÃüÁîÓкܶàÖÖд·¨(vi ÕæÊÇÇ¿´ó°¡£¬»¹ÓкܶàÐèҪѧϰ)£¬¼Ç¼¼¸ÖÖÔÚ´Ë£¬·½±ãÒÔºó²éѯ¡£
¡¡¡¡:s/vivian/sky/ Ìæ»»µ±Ç°ÐеÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:s/vivian/sky/g Ìæ»»µ±Ç°ÐÐËùÓÐ vivian Ϊ sky
¡¡¡¡:n,$s/vivian/sky/ Ìæ»»µÚ n ÐÐ ......
1 ¾³£ÐèÒª¿Ì¼ ISO Îļþ£¬cdrecord ¿ÉÒÔʵÏÖ
cdrecord ÆäʵÊÇÒ»¸öÈíÁ´½Ó
lrwxrwxrwx 1 root root 5 2009-05-04 22:42 /usr/bin/cdrecord -> wodim
¿Ì¼µÄÃüÁîÈçÏ£º
wodim -v dev=6,0,0 xx.iso # dev ¿ÉÒÔÓà --scanbus ²é¿´
2 ......
ʲôʱºòÐèÒª´´½¨Ï̳߳ØÄØ£¿¼òµ¥µÄ˵£¬Èç¹ûÒ»¸öÓ¦ÓÃÐèҪƵ·±µÄ´´½¨ºÍÏú»ÙỊ̈߳¬¶øÈÎÎñÖ´ÐеÄʱ¼äÓַdz£¶Ì£¬ÕâÑùÏ̴߳´½¨ºÍÏú»ÙµÄ´øÀ´µÄ¿ªÏú¾Í²»ÈݺöÊÓ£¬ÕâʱҲÊÇÏ̳߳ظóö³¡µÄ»ú»áÁË¡£Èç¹ûÏ̴߳´½¨ºÍÏú»Ùʱ¼äÏà±ÈÈÎÎñÖ´ÐÐʱ¼ä¿ÉÒÔºöÂÔ²»¼Æ£¬ÔòûÓбØҪʹÓÃÏ̳߳ØÁË¡£
ÏÂÃæÊÇLinuxϵͳÏÂÓÃCÓïÑÔ´´½¨µÄÒ»¸öÏ̳߳ء£Ï̳߳ػ ......