Redhat Linux Ó²Å̹ÒÔØ·½·¨£¡£¡£¡
²Î¿¼×ÊÁÏ£ºhttp://www.blogjava.net/lijun_li/archive/2009/04/02/263491.html
http://www.chinalinuxpub.com/read.php?wid=1080
Ó²Å̹ÒÔزÙ×÷¹¤×÷²½Ö裺
1¡¢ÏȲ鿴Ŀǰ»úÆ÷ÉÏÓм¸¿éÓ²ÅÌ£¬²é¿´ÃüÁîÓÐÁ½ÖÖ£º
ÃüÁî1£º# fdisk –l
ÃüÁî2£º# dmesg | grep sd
ÆäÖУºfdiskÃüÁî˵Ã÷ÈçÏ£º
fdiskÃüÁîÓÃ;£º¹Û²ìÓ²Å̵ÄʵÌåʹÓÃÇéÐÎÓë·Ö¸îÓ²ÅÌÓá£
fdiskÃüÁîʹÓ÷½·¨£º
¡¡ Ò»¡¢ÔÚ console ÉÏÊäÈë fdisk -l £¬¹Û²ìÓ²ÅÌ֮ʵÌåʹÓÃÇéÐΡ£
¶þ¡¢ÔÚ console ÉÏÊäÈë fdisk /dev/sda£¨¾ßÌå´ÅÅÌÃû³Æ£©£¬¿É½øÈë·Ö¸îÓ²ÅÌģʽ¡£
Ø ÊäÈë m ÏÔʾËùÓÐÃüÁîÁÐʾ¡£
Ø ÊäÈë p ÏÔʾӲÅÌ·Ö¸îÇéÐΡ£
Ø ÊäÈë a É趨ӲÅÌÆô¶¯Çø¡£
Ø ÊäÈë n É趨еÄÓ²ÅÌ·Ö¸îÇø¡£
Ø ÊäÈë e Ó²ÅÌΪ[ÑÓÉì]·Ö¸îÇø(extend)¡£
Ø ÊäÈë p Ó²ÅÌΪ[Ö÷Òª]·Ö¸îÇø(primary)¡£
Ø ÊäÈë t ¸Ä±äÓ²ÅÌ·Ö¸îÇøÊôÐÔ¡£
Ø ÊäÈë d ɾ³ýÓ²ÅÌ·Ö¸îÇøÊôÐÔ¡£
Ø ÊäÈë q ½áÊø²»´æÈëÓ²ÅÌ·Ö¸îÇøÊôÐÔ¡£
Ø ÊäÈë w ½áÊø²¢Ð´ÈëÓ²ÅÌ·Ö¸îÇøÊôÐÔ¡£
dmesgÃüÁî˵Ã÷ÈçÏ£º
¹¦ÄÜ˵Ã÷£ºÏÔʾ¿ª»úÐÅÏ¢¡£
Óï¡¡¡¡·¨£ºdmesg [-cn][-s ]
²¹³ä˵Ã÷£ºkernel»á½«¿ª»úÐÅÏ¢´æ´¢ÔÚring bufferÖС£ÄúÈôÊÇ¿ª»úʱÀ´²»¼°²é¿´ÐÅÏ¢£¬¿ÉÀûÓÃdmesgÀ´²é¿´¡£¿ª»úÐÅÏ¢Òà±£´æÔÚ/var/logĿ¼ÖУ¬Ãû³ÆΪdmesgµÄÎĵµÀï¡£
²Î¡¡¡¡Êý£º
¡¡-c ¡¡ÏÔʾÐÅÏ¢ºó£¬Çå³ýring bufferÖеÄÄÚÈÝ¡£
¡¡-s ¡¡Ô¤ÅäÖÃΪ8196£¬¸ÕºÃµÈÓÚring bufferµÄ´óС¡£
¡¡-n ¡¡ÅäÖüǼÐÅÏ¢µÄ²ã¼¶¡£
2¡¢¶ÔÒª¹ÒÔصÄÓ²ÅÌ´´½¨´ÅÅÌ·ÖÇø
´´½¨´ÅÅÌ·ÖÇø²½Öè¾ÙÀýÈçÏ£º
# fdisk /dev/sdb
½øÈëfdiskģʽ£º
Command (m for help):m &nbs
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
½üÀ´ÕýÔÚѧϰLinux shell script£¬Ö÷ÒªÊÇѧϰLinux Shell Scripting Tutorial (LSST) v1.05r3µÄ¼¸¸öÕ½ڣ¬µ«ÒòΪÊÇÓ¢ÎĵÄËùÒÔÕâÀï°ÑËü·ÒëÏ£¬Ò²ÊÇ×Ô¼º¼ÓÉîÓ¡Ï󡣺ÃÁËÖ±½Ó½øÈëÖ÷Ìâ¡£
1.How to write shell script £¿
a.Ê×ÏÈÓÃÈκεıàÒëÆ÷£¨vi,vim,kwrite,....£©±àдһ¸öshell script£»
b.È»ºó°´ÕÕÏÂÃæµÄ·½·¨¸øÄã± ......