Linux×î»ù±¾µÄ²Ù×÷¼¼ÇÉ
ת×Ôhttp://blog.chinaunix.net/u/30619/showart.php?id=249558
1 linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk
/dev ϵͳÖܱßÉ豸
/etc ϵͳÏà¹ØÉ趨Îļþ
/etc/DIR_COLORS É趨ÑÕÉ«
/etc/HOSTNAME É趨Óû§µÄ½ÚµãÃû
/etc/NETWORKING Ö»ÓÐYES±êÃ÷ÍøÂç´æÔÚ
/etc/host.conf Îļþ˵Ã÷Óû§µÄϵͳÈçºÎ²éѯ½ÚµãÃû
/etc/hosts É趨Óû§×ÔÒѵÄIPÓëÃû×ֵĶÔÓ¦±í
/etc/hosts.allow ÉèÖÃÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.deny ÉèÖò»ÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.equiv ÉèÖÃÔ¶¶Ë»ú²»ÓÃÃÜÂë
/etc/inetd.conf
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
·¢²¼Ê±¼ä£º2007.07.30 06:16
À´Ô´£ºÈüµÏÍø
×÷Õߣºsixth
ºÍËùÓеÄÁ÷ÐÐÎı¾±à¼Æ÷Ò»
Ñù£¬Vim ¿ÉÒԺܺõı༸÷ÖÖ×Ö·û±àÂëµÄÎļþ£¬Õ⵱Ȼ°üÀ¨UCS-2¡¢UTF-8 µÈÁ÷ÐÐµÄ Unicode ±àÂ뷽ʽ¡£È»¶ø²»ÐÒµÄÊÇ£¬ºÍºÜ¶àÀ´×Ô
Linux ÊÀ½çµÄÈí¼þÒ»Ñù£¬ÕâÐèÒªÄã×Ô¼º¶¯ÊÖÉèÖ ......
1. Ç°ÑÔ
ÒÔÌ«Í·ÖгýÁË6×Ö½ÚÄ¿µÄMACµØÖ·¡¢6×Ö½ÚÔ´MACµØÖ·Í⣬»¹ÓÐÁ½×Ö½ÚµÄÒÔÌ«Ö¡ÀàÐÍÖµ£¬ÈçIPv4Ϊ0x0800£¬ARPΪ0x0806µÈ£¬Íø¿¨Çý¶¯ÊÕµ½ÒÔÌ«Ö¡ºóͨ¹ý½Ó¿Úº¯Êýnetif_receive_skb()(netif_rxʵ¼Ê×îºóÒ²Êǵ÷ÓÃnetif_receive_skb)½»µ½Éϲ㣬¶øÕâ¸ö½Ó¿Úº¯Êý¾ÍÍê³É¶ÔÒÔÌ«Ö¡ÀàÐ͵ÄÇø·Ö£¬½»µ½²»Í¬µÄÐÒé´¦Àí³ÌÐò¡£Èç¹ûÏë×Ô¼º±àдijһ ......
Óû§Ä£Ê½Linux (User Mode Linux), ËõдΪUML¡£¹ËÃû˼Ò壬UML¾ÍÊÇÔÚÒ»¸ö¿ÉÒÔÔÚÓû§¿Õ¼äÔËÐеÄlinuxÄںˡ£
UMLÄܹ»ÎªkernelÐéÄâһЩʵ¼ÊµÄÎïÀíÉ豸£¬Æô¶¯UMLÖ»ÐèÒªÒªÖ¸¶¨Ò»¸örootÎļþϵͳµÄimageÎļþ¡£UMLʵ¼ÊÉÏÒ²ÊÇÒ»ÖÖÐéÄ⻯¼¼Êõ¡£
UMLµÄºÃ´¦
µÚÒ»£¬×öÒ»¸öÐéÄâ·þÎñÆ÷£¬UML¿ÉÒÔÒÔ°²È«µÄ·½Ê½ÔËÐÐÔÚÓû§¿Õ¼ä£¬Ëü¿É ......
At first, GCC is used for GNU C Compiler. At present£¬it supports JAVA Ada C++ and so on.
GCC±àÒëÁ÷³Ì·ÖΪ£º
1.Pre-Processing£¨Ô¤´¦Àí£©
gcc -E -o hello.i hello.c
Ñ¡Ïî-E ʹµÃ±àÒëÆ÷ÔÚÔ¤´¦Àí½áÊøʱֹͣ±àÒë
Ñ¡Ïî-o Ö¸¶¨GCCµÄÊä ......