linuxѧϰ±Ê¼Ç Ŀ¼ ÃüÁî
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 É趨ϵͳÍøÂçÊØ»¤½ø³ÌinetdµÄÅäÖÃ
&nb
Ïà¹ØÎĵµ£º
7.1.1 Linux·ÖÇø¼ò½é
Ëùν·ÖÇø£¬¾ÍÊÇ´ÅÅÌÉϽ¨Á¢µÄÓÃÓÚ´æ´¢Êý¾ÝºÍÎļþµÄµ¥¶ÀÇøÓò²¿·Ö¡£´ÅÅÌ·ÖÇø¿ÉÒÔ·ÖΪÖ÷·ÖÇøºÍÀ©³ä·ÖÇø£¬ÆäÖÐÖ÷·ÖÇø¾ÍÊÇ°üº¬²Ù×÷ϵͳÆô¶¯Ëù±ØÐëµÄÎļþºÍÊý¾ÝµÄ´ÅÅÌ·ÖÇø£»À©³ä·ÖÇøÒ»°ãÓÃÀ´´æ·ÅÊý¾ÝºÍÓ¦ÓóÌÐòÎļþ¡£Ò»¸ö´ÅÅÌ×î¶à¿É·ÖΪ4¸ö·ÖÇø£¬×î¶à¿ÉÒÔÓÐ4¸öÖ÷·ÖÇø£¬¼´È«²¿·ÖÇø¶¼±»»®·ÖΪÖ÷·ÖÇø¡£Èç¹ ......
linuxÓÐ×Ô¼ºÒ»Ì×ÍêÕûµÄÆô¶¯Ìåϵ£¬×¥×¡ÁËlinuxÆô¶¯µÄÂöÂ磬linuxµÄÆô¶¯¹ý³Ì½«²»ÔÙÉñÃØ¡£
ÔĶÁ֮ǰ½¨ÒéÏÈ¿´Ò»Ï¸½Í¼¡£
±¾ÎÄÖмÙÉèinittabÖÐÉèÖõÄinit treeΪ£º
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc/rc.d/rc6.d
/etc/rc.d/init.d
1. ¹ØÓÚlinux ......
ºÜ¼òµ¥µÄÒ»¸ö³ÌÐò,subÄ£¿éÌṩÁ½¸öº¯Êýsub_integer,add_integer£¬²¢½«Æäµ¼³öµ½Äں˷ûºÅ±íÖУ¬sub_testÄ£¿é¶ÔÕâÁ½¸öº¯Êý½øÐе÷Óá£ÕâËãÊÇ×Ô¼ºÐ´µÄµÚÒ»¸öÄÚºËÄ£¿é³ÌÐò°É£¬¼ÍÄîÒ»ÏÂ.
sub.c:
#include<linux/init.h>
#include<linux/kernel.h>
#include<linux/module.h>
MODULE_LICENSE("Dual BSD/GPL") ......
ѧϰLinuxϵͳµÄʮһµã½¨Òé
2007.06.12 À´×Ô£ºlingfen1552.cublog.c¡¡ [Êղص½ÎÒµÄÍøÕª]
Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÈçºÎµÃµ½Áª»ú°ïÖúºÍ˽ÓвÙ×÷ϵͳ²»Í¬£¬¸÷¸öLinuxµÄ·¢Ðа汾µÄ¼¼ÊõÖ§³ÖÊ ......