Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxѧϰ±Ê¼ÇÖ®£¨ÈëÃÅlinuxÎļþϵͳ£©

bin£º¸ÃĿ¼´æ·Å×î³£ÓõĻù±¾ÃüÁ±ÈÈ翽±´ÃüÁîcp¡¢±à¼­ÃüÁîvi¡¢É¾³ýÃüÁîrmµÈ¡£
boot:¸ÃĿ¼°üº¬ÁËϵͳÆô¶¯ÐèÒªµÄÅäÖÃÎļþ¡¢Äںˣ¨vmliuxz£©ºÍϵͳ¾µÏñ(initrd….img)µÈ¡£
dev£º¸ÃĿ¼Ï´æ·ÅµÄÊÇLinuxÖÐʹÓûòδʹÓõÄÍⲿÉ豸Îļþ£¨fd´ú±íÈíÅÌ£¬hd´ú±íÓ²Å̵ȣ©£¬Ê¹ÓÃÕâЩÉ豸Îļþ¿ÉÒÔÓòÙ×÷ÎļþµÄ·½Ê½²Ù×÷É豸¡£
     etc£º¸ÃĿ¼Ï°üº¬ÁËËùÓÐϵͳ·þÎñºÍϵͳ¹ÜÀíʹÓõÄÅäÖÃÎļþ£»±ÈÈçϵͳÈÕÖ¾·þÎñµÄÅäÖÃÎļþsyslog.conf£¬ÏµÍ³Óû§ÃÜÂëÎļþpasswdµÈ
     home:¸ÃĿ¼Ï°üº¬Á˳ýϵͳ¹ÜÀíÔ±ÍâµÄËùÓÐÓû§µÄÖ÷Ŀ¼£¬Óû§Ö÷Ŀ¼һ°ãÒÔÓû§µÇ½ÕʺÅÃüÃû¡£
     Lib:¸ÃĿ¼Ï°üº¬ÁËϵͳʹÓõĶ¯Ì¬Á¬½Ó¿â£¨*.so£©ºÍÄÚºËÄ£¿é(ÔÚmodulesÏÂ)¡£
     host+found:¸ÃĿ¼°üº¬ÁË´ÅÅÌɨÃè¼ì²âµ½µÄÎļþË鯬£¬Èç¹ûÄã·Ç·¨¹Ø»ú£¬ÄÇôÏÂ´ÎÆô¶¯Ê±ÏµÍ³»á½øÐдÅÅÌɨÃ裬½«Ë𻵵ÄË鯬´æµ½¸ÃĿ¼Ï¡£
     mnt:¸ÃĿ¼Ï°üº¬Óû§¶¯Ì¬¹ÒÔØµÄÎļþϵͳ¡£Èç¹ûҪʹÓùâÅÌ£¬UÅ̶¼Ò»°ãÓ¦¸Ã½«ËüÃǰ²×°µ½¸ÃĿ¼ÏµÄÌØ¶¨Î»Öá£
     proc£º¸ÃĿ¼ÊôÓÚÄÚ´æÓ°ÉäµÄÒ»¸öÐéÄâĿ¼£¬ÆäÖаüº¬ÁËÐí¶àϵͳÏÖ³¡Êý¾Ý£¬±ÈÈç½ø³ÌÐòÊý£¬ÖжÏÇé¿ö£¬cpuÐÅÏ¢µÈµÈ£¬ËüÆäÖеÄÐÅÏ¢¶¼ÊǶ¯Ì¬Éú³ÉµÄ£¬²»ÔÚ´ÅÅÌÖд洢¡£
     root:¸ÃĿ¼ÊÇϵͳ¹ÜÀíÔ±£¨rootÓû§£©µÄÖ÷Ŀ¼¡£
     sbin:¸ÃĿ¼Ï°üº¬ÏµÍ³¹ÜÀíԱʹÓõÄϵͳ¹ÜÀíÃüÁî,±ÈÈç·À»ðǽÉèÖÃÃüÁîiptable£¬ÏµÍ³Í£»úÃüÁîhaltµÈ
     tmp£º¸ÃĿ¼Ï°üº¬Ò»Ð©ÁÙʱÎļþ¡£
usr£º¸ÃĿ¼ÏÂÒ»°ãÀ´Ëµ°üº¬ÏµÍ³·¢²¼Ê±×Ô´øµÄ³ÌÐò£¨µ«¾ßÌå·Åʲô¶«Î÷£¬²¢Ã»ÓÐÃ÷È·µÄÒªÇ󣩣¬ÆäÖÐ×îÖµµÃ˵Ã÷µÄÓÐÈý¸ö×ÓĿ¼
  /usr/src £ºLinuxÄÚºËÔ´´úÂë¾Í´æÔÚÕâ¸öĿ¼
  /usr/man £ºLinuxÖÐÃüÁîµÄ°ïÖúÎļþ
  /usr/local £º а²×°µÄÓ¦ÓÃÈí¼þÒ»°ãĬÈÏÔÚ¸ÃĿ¼ÏÂ
var£º¸ÃĿ¼Öдæ·Å×ÅÔÚ²»¶ÏÀ©³ä×ŵÄÐÅÏ¢£¬±ÈÈçÈÕÖ¾Îļþ¡£


Ïà¹ØÎĵµ£º

linuxÃæÊÔ´óÈ«

linuxÃæÊÔ´óÈ«
Ò»£®Ìî¿ÕÌ⣺
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ ·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ /etc/fstab ÖжÁȡҪ¼ÓÔØµÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà i½Úµã À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ºÍÊý¾Ý´æ´¢¿é¡£
5. Á´½Ó·ÖΪ£º Ó²Á´½Ó ºÍ ·ûºÅÁ´½Ó ¡ ......

LinuxÖеÄÄÚ´æ·ÖÅäºÍÊÍ·ÅÖ®__free_pages()º¯Êý·ÖÎö

  ¼ÇµÃÎÒÃÇÔÚÉÏÆªÎÄÕÂmem_init()·ÖÎöÖÐÌáµ½__free_page()º¯ÊýÂð£¿ÎÒÃÇÏÖÔÚÀ´ÍêÉÆËü¡£ËüµÄµ÷Óùý³ÌÊÇÕâÑùµÄ£ºmem_init()->free_all_bootmem_node():ÎÒÃÇÖªµÀÕâ¸öº¯ÊýÊÇͳ¼ÆÒ»¹²ÊÍ·ÅÁ˶àÉÙ¿ÕÏÐÒ³¡£->free_all_bootmem_core()¾ÍÊÇÔÚÕâ¸öº¯ÊýÀïÃæÏȺó¶à´Îµ÷ÓÃ__free_pages()º¯Êý¡£Ä¿µÄ¾ÍÊÇΪÁËÊÍ·Åÿ¸öÄÚ´ænodeÀïÃæÎ ......

LinuxÏÂDB2µÄ°²×°ÊÖ°ÑÊÖ½Ìѧƪ

 
½ñÌì°²×°ÁËdb2£¬Ã¦Á˺ÃÒ»Õó×Ó£¬ÉÏÍøÕÒ×ÊÁϵȣ¬ÖÕÓÚ×°ºÃÁË£¬ÏÂÃæ¾Í°ÑÎҵIJ½Öè¸ú´ó¼Ò·ÖÏíһϡ£
¡¡¡¡µÚÒ»²½:¼ì²é³ÌÐò°ü¼°Æä°æ±¾
¡¡¡¡ compat-libstdc++-7.3-2.96.118.i386.rpm
¡¡¡¡     ÔÚlinuxµÄ°²×°ÅÌÉÏ,ÕÒµ½ºóʹÓÃrpm -i compat-libstdc++-7.3-2.96.118.i386.rpm °²×°¼´¿É
¡¡¡¡µÚ ......

linux Çý¶¯mmap²Ù×÷


Èý¡¢VMAºÍPAGE½á¹¹ ºÍmmapº¯Êý
 
1.page  Ö÷Òª³ÉÔ±
   atomic_t count; 
//Õâ¸öÒ³µÄÒýÓÃÊý. µ±Õâ¸ö count µôµ½ 0, ÕâÒ³±»·µ»Ø¸ø¿ÕÏÐÁбí.
void *virtual; 
//Èç¹ûÒ³±»Ó³É䣬Ôò±íʾÕâÒ³µÄÄÚºËÐéÄâµØÖ·; ·ñÔò, NULL.
unsigned long flags; 
//ÃèÊöҳ״̬µÄÒ»Ì×λ±êÖ¾. ÕâЩ°üÀ¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ