LinuxÄÚºËÔ´´úÂë´æ·Å·¾¶ÆÊÎö
LinuxÄÚºËÊÇÒ»¸ö¿ªÔ´µÄ²Ù×÷ϵͳÄںˣ¬ÆäÔ´´úÂë´æ´¢ÔÚÒ»¸öרÃŵĴúÂë¿ÍÕ»ÖС£ÔÚ±¾ÎÄÖУ¬ÎÒÃǽ«ÏêϸÆÊÎöLinuxÄÚºËÔ´´úÂëµÄ´æ·Å·¾¶£¬²¢Í¨¹ýÏêϸµÄ´úÂëʾÀýÀ´×ÊÖú¶ÁÕ߸üºÃµØÃ÷È·¡£
1. LinuxÄÚºËÔ´´úÂë´æ·Å·¾¶
LinuxÄÚºËÔ´´úÂë´æ´¢ÔÚÒ»¸öÃûΪlinuxµÄGit¿ÍÕ»ÖУ¬¸Ã¿ÍÕ»ÍйÜÔÚ[https://github.com/torvalds/linux](https://github.com/torvalds/linux)¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃǽ«ÒԸÿÍջΪÀýÀ´ÆÊÎöLinuxÄÚºËÔ´´úÂëµÄ´æ·Å·¾¶¡£
2. ÄÚºËÔ´´úÂëĿ¼½á¹¹
LinuxÄÚºËÔ´´úÂëµÄĿ¼½á¹¹ºÜÊÇÖØ´óºÍÖØ´ó£¬Ö÷Òª·ÖΪÒÔϼ¸¸öÖ÷ÒªµÄĿ¼£º
arch£º°üÀ¨ÁËÓëϵͳ½á¹¹Ïà¹ØµÄ´úÂ룬Èçx86¡¢ARMµÈ²î±ðϵͳ½á¹¹µÄ´úÂë¡£
block£º°üÀ¨ÁË¿é×°±¸Í¨ÓòãµÄ´úÂë¡£
drivers£º°üÀ¨ÁËÓ²¼þ×°±¸µÄÇý¶¯³ÌÐò´úÂë¡£
fs£º°üÀ¨ÁËÎļþϵͳÏà¹ØµÄ´úÂë¡£
include£º°üÀ¨ÁËÄں˵ÄÍ·Îļþ¡£
kernel£º°üÀ¨ÁËÄں˽¹µã´úÂë¡£
mm£º°üÀ¨ÁËÄÚ´æÖÎÀíÏà¹ØµÄ´úÂë¡£
net£º°üÀ¨ÁËÍøÂçÐÒéÕ»µÄÏà¹Ø´úÂë¡£
scripts£º°üÀ¨Á˹¹½¨ºÍά»¤²Ù×÷ϵͳËùÐèµÄ¾ç±¾¡£
3. ÏêϸµÄ´úÂëʾÀý
ÒÔÏÂÊÇÒ»¸ö¼òÆÓµÄʾÀý´úÂ룬չʾÁËÔõÑùͨ¹ýGit½«LinuxÄÚºËÔ´´úÂë¿Ë¡µ½ÍâµØ£º
git clone https://github.com/torvalds/linux.git
µÇ¼ºó¸´ÖÆ
½ÓÏÂÀ´£¬ÎÒÃǽ«½øÈëÔ´´úÂëËùÔÚµÄĿ¼£¬²¢Éó²éÆäÖеÄһЩ´úÂëÎļþ£º
cd linux ls arch/x86
µÇ¼ºó¸´ÖÆ
ÔÚÉÏÊö´úÂëʾÀýÖУ¬ÎÒÃÇʹÓÃgit cloneÏÂÁLinuxÄÚºËÔ´´úÂë¿Ë¡µ½ÍâµØ£¬²¢Í¨¹ýlsÏÂÁîÉó²éÁËarch/x86Ŀ¼ÏµÄһЩÎļþ¡£
4. Ô´´úÂëѧϰÓëТ˳
LinuxÄÚºËÔ´´úÂëµÄѧϰºÍТ˳ÊÇÒ»ÏîÖØ´ó¶øÓÐÒâÒåµÄÊÂÇ顣ͨ¹ýÉîÈëÃ÷È·ÄÚºËÔ´´úÂ룬ÎÒÃÇ¿ÉÒÔ¸üºÃµØÃ÷È·²Ù×÷ϵͳµÄÊÂÇéÔÀí£¬²¢Îª¿ªÔ´ÉçÇø×ö³öТ˳¡£¶ÁÕß¿ÉÒÔͨ¹ýÔĶÁ´úÂë¡¢µ÷ÊÔ´úÂëÒÔ¼°Ìá½»²¹¶¡µÈ·½·¨À´¼ÓÈëµ½LinuxÄں˵Ŀª·¢ÖС£
½áÓï
±¾ÎÄÏÈÈÝÁËLinuxÄÚºËÔ´´úÂëµÄ´æ·Å·¾¶¼°ÆäĿ¼½á¹¹£¬²¢Í¨¹ýÏêϸµÄ´úÂëʾÀýÀ´Õ¹Ê¾ÁËÔõÑù»ñÈ¡ºÍÉó²éÔ´´úÂ롣ϣÍû¶ÁÕßͨ¹ý±¾ÎĵÄÆÊÎöºÍʾÀýÄܹ»¸üÉîÈëµØÏàʶLinuxÄں˵ÄÔ´´úÂë½á¹¹£¬´Ó¶ø¸üºÃµØѧϰºÍ¼ÓÈëµ½LinuxÄں˵Ŀª·¢ÖС£
ÒÔÉϾÍÊÇLinuxÄÚºËÔ´´úÂë´æ·Å·¾¶ÆÊÎöµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡