LinuxϹÒÔØÓ²ÅÌ·ÖÇøµÄ¼¸ÖÖ·½·¨
²Î¿¼×ÊÁÏ£ºhttp://captain.javaeye.com/blog/104242
1¡¢Ê¹ÓÃAutofs×Ô¶¯¹ÒÔØ·ÖÇø
2¡¢ÐÞ¸Ä/etc/fstab
3¡¢±àдshell½Å±¾£¬¿ª»ú×Ô¶¯ÔËÐÐmountÃüÁî
·½·¨Ò»¡¢Ê¹ÓÃAutofs
1¡¢AutofsµÄÌص㣺AutofsÓëMount/UmountµÄ²»Í¬Ö®´¦ÔÚÓÚ£¬ËüÊÇÒ»ÖÖ¿´ÊسÌÐò£¨deamon£©¡£Èç¹ûËü¼ì²âµ½Óû§ÕýÊÔͼ·ÃÎÊÒ»¸öÉÐδ¹Ò½ÓµÄÎļþϵͳ£¬Ëü¾Í»á×Ô¶¯¼ì²â¸ÃÎļþϵͳ£¬Èç¹û¸ÃÎļþϵͳ´æÔÚ£¬ÄÇôAutofs»á×Ô¶¯½«Æä¹Ò½Ó¡£ÁíÒ»·½Ã棬Èç¹ûËü¼ì²âµ½Ä³¸öÒѹҽӵÄÎļþϵͳÔÚÒ»¶Îʱ¼äÄÚûÓб»Ê¹Óã¬ÄÇôAutofs»á×Ô¶¯½«ÆäжÔØ¡£Òò´ËÒ»µ©ÔËÐÐÁËAutofsºó£¬Óû§¾Í²»ÔÚÐèÒªÊÖ¶¯Íê³ÉÎļþϵͳµÄ¹Ò½ÓºÍжÔØ¡£
2¡¢AutofsµÄ°²×°£º Ö»ÐèÖ´ÐÐÒÔÏÂÒ»ÌõÃüÁrpm £ivh autofs£3.1.3£10.i386.rpm¡£°²×°Íê³Éºó£¬ÒÔºóÿ´ÎÆô¶¯Linux£¬Autofs¶¼»á×Ô¶¯ÔËÐС£
3¡¢AutofsµÄÅäÖãºÊ×ÏÈ£¬ AutofsÐèÒª´Ó/etc/auto.masterÕâ¸öÎļþÖжÁÈ¡ÅäÖÃÐÅÏ¢¡£¸ÃÎļþÖпÉÒÔͬʱָ¶¨¶à¸ö¹Ò½Óµã£¬Ã¿¸ö¹Ò½Óµãµ¥¶ÀÓÃÒ»ÐÐÀ´¶¨Òå,ÿһÐпɰüÀ¨3¸ö²¿·Ö£¬·Ö±ðÓÃÓÚÖ¸¶¨¹Ò½ÓµãλÖ㬹ҽÓʱÐèʹÓõÄÅäÖÃÎļþ£¨¼´£ºËùνµÄmap file)¼°Ëù¹Ò½ÓÎļþϵͳÔÚ¿ÕÏж೤ʱ¼äºó×Ô¶¯±»Ð¶ÔØ¡£ÀýÈ磬auto.masterÎļþÖаüÀ¨ÈçÏÂÒ»ÐУº /auto /etc/auto.misc ££timeout 60¡£ ÆäÖеÚÒ»²¿·ÖÖ¸¶¨Ò»¸ö°²×°µãΪ/auto£¬µÚ¶þ²¿·ÖÖ¸¶¨/autoµÄmapÎļþΪ/etc/auto.misc£¬µÚÈý²¿·ÖÖ¸¶¨ÎļþϵͳÔÚÆä¿ÕÏÐ60Ãëºó×Ô¶¯±»Ð¶ÔØ¡£Æä´Î£¬´Ó/etc/auto.miscÕâ¸öÎļþ¶ÁÈ¡¹Ò½ÓʱÐèҪʹÓõÄÅäÖÃÐÅÏ¢¡£ÀýÈ磬auto.miscÎļþ°üÀ¨ÈçÏÂÄÚÈÝ
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Windows_C -fstype=auto,iocharset=cp936 :/dev/hda1
Windows_D -fstype=auto,iocharset=cp936 :/dev/hda5
Windows_E -fstype=auto,iocharset=cp936 :/dev/hda6
ÆäÖеÚÒ»ÐÐÖ¸¶¨½«É豸/dev/cdrom¹Ò½ÓÔÚ/autoµÄcd×ÓĿ¼ÖУ¬µÚ¶þÐÐÖ¸¶¨½«Ó²Å̵ÄWindows·ÖÇø¹Ò½ÓÔÚ/autoµÄWindows_*×ÓĿ¼ÖС£Ã¿Ò»Ðеĵڶþ¸öÖµ£fstypeÊÇÒ»¸ö¿ÉÑ¡ÏÓÃÀ´±íÃ÷Ëù¹Ò½ÓµÄÎļþϵͳµÄÀàÐͺ͹ҽÓÑ¡ÏÔÚ mountÃüÁîÄÜʹÓùҽÓÑ¡ÏîͬÑùÊÊÓÃÓÚ£fstype¡£ÐÞ¸ÄÁËÅäÖÃÎļþºó£¬¿Éͨ¹ýÖ´ÐÐÃüÁî“/etc/init.d/autofs restart”£¬Ê¹ÐµÄÅäÖÃÉúЧ¡£ÏÖÔÚÊäÈëÃüÁî“ls /auto/cd”£¬Autofs»á×Ô¶¯¼ì²â¹âÇýÖÐÊÇ·ñÓйâÅÌ£¬Èç¹ûÓУ¬Ëü»á×Ô¶¯½«Æä¹Ò½ÓÔÚ/auto/cdÖУ¬ÕâÑùls¾Í»áÁгöÆäÖеÄÄÚÈÝ¡£Èç¹ûÎÒÃÇÔÚ 60ÃëÄÚûÓÐÔٴηÃÎÊ/a
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
½üÀ´ÕýÔÚѧϰLinux shell script£¬Ö÷ÒªÊÇѧϰLinux Shell Scripting Tutorial (LSST) v1.05r3µÄ¼¸¸öÕ½ڣ¬µ«ÒòΪÊÇÓ¢ÎĵÄËùÒÔÕâÀï°ÑËü·ÒëÏ£¬Ò²ÊÇ×Ô¼º¼ÓÉîÓ¡Ï󡣺ÃÁËÖ±½Ó½øÈëÖ÷Ìâ¡£
1.How to write shell script £¿
a.Ê×ÏÈÓÃÈκεıàÒëÆ÷£¨vi,vim,kwrite,....£©±àдһ¸öshell script£»
b.È»ºó°´ÕÕÏÂÃæµÄ·½·¨¸øÄã± ......
ÉèÖÃdsnºóËäÈ»ÐéÄâ»ú¿ÉÒÔÉÏÍøÁË£¬µ«ÊÇÓû§Ãû±ä³ÉÁËbogon£¬¶ø²»ÊÇ֮ǰµÄlocalhost£¬È¥µôDNSºóÖØÆôÐéÄâ»ú¾ÍÓÖ±ä³ÉÁËlocalhost
È»ºó¾Í¿ÉÒÔmount±¾»úÁË
»¹ÓÐÒ»ÖÖ·½·¨£º
hostname ÏÔʾµ±Ç°Ö÷»úÃû
hostname localhost ÉèÖõ±Ç°Ö÷»úÃûΪlocalhost
¹À¼ÆÒ²¿ÉÒÔ½â¾öÉÏÊö²»ÄÜmountµÄÎÊÌâ¡£ ......
Linux Æô¶¯Ë³Ðò£º
1¡¢ BIOS×Ô¼ì
2¡¢ ÔËÐÐϵͳÄں˲¢¼ì²âÓ²¼þ
3¡¢ ÔËÐÐϵͳµÄµÚÒ»¸ö½ø³Ìinit
4¡¢ init¶ÁȡϵͳÒýµ¼ÅäÖÃÎļþ/etc/inittabÖеÄÐÅÏ¢½øÐгõʼ»¯
/etc/rc.d/rc.sysinit------ϵͳ³õʼ»¯½Å±¾
  ......