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

linux 0.11 Îļþϵͳ£¨¶þ£©

³¬¼¶¿éÃèÊöÁËÕû¸öÎļþϵͳµÄÐÅÏ¢£¬¶øÎļþ×÷Ϊ´æ´¢µÄ¶ÔÏó£¬ËüµÄÐÅÏ¢ÊÇÓÐinode½ÚµãÀ´ÃèÊöµÄ¡£i½ÚµãλͼÃèÊöÁËinodeµÄʹÓÃÇé¿ö¡£
struct m_inode{
        unsigned short i_mode; //ÎļþÀàÐÍ
        unsigned short i_uid;//ÎļþËÞÖ÷
        unsigned long i_size;//Îļþ´óС
        unsigned long i_mtime;//ÎļþÐÞ¸Äʱ¼ä
        unsigned char i_guid; //Îļþ×éid
        unsigned char i_nlinks;        //ÎļþĿ¼ÏîÁ¬½ÓÊý
        unsigned char i_zone[9];//ÎļþËùÔÚµÄÉ豸Âß¼­¿éºÅ
//ÒÔϵÄ×Ö¶ÎÔÚÄÚ´æÖÐ
        struct task_struct *i_wait; //µÈ´ý¸Ãi½ÚµãµÄ½ø³Ì
        unsigned long i_atime,i_ctime;
        unsigned short i_dev; //ÎļþËùÔÚµÄÉ豸ºÅ
        unsigned short i_num; //i½ÚµãºÅ
        unsigned short i_count;//i½Úµã±»Ê¹ÓõĴÎÊý,0±íʾ¿ÕÏÐ
        unsigned char i_lock;
        unsigned char i_dirt;
        unsigned char i_pipe;
        unsigned char i_mount; //¸Ã½ÚµãÊÇ·ñÊÇij¸öÎļþϵͳµÄ°²×°½Úµã
        unsigned char i_seek;
        unsigned char i_update;
}
Æä ÖÐi_zone[9]ºÜÖØÒª£¬ËüÖ¸³öÁËÎļþʹÓõÄÉ豸µÄÂß¼­¿éºÅ¡£ÆäÖÐ0-6Ϊֱ½Ó¿é£¬Ò²¾ÍÊÇÎļþµÄÊý¾ÝÖ±½ÓÔÚÏàÓ¦µÄÂß¼­¿éÉÏ£»7λ1¼¶¿é£¬1¼¶¿é¿ÉÒÔ°ü º¬512¸öÂß¼­¿éºÅ£»8λ2¼¶¿é£¬Ëü¿ÉÒÔ´æ·Å512¸ö1¼¶¿é¡£ËùÒÔÎļþ³¤¶ÈÔÚ7kÒÔÄÚֻʹÓÃÇ°7¸öλָ¶¨Âß¼­¿é£¬ÔÙ´ó¾ÍҪʹÓüä½Ó¿éÖ¸¶¨ÁË¡£
¶Ôi½ÚµãλͼÒÔ¼°i½Ú


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

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ÄÚºËÌåϵ½á¹¹

2.1    LinuxÄÚºËģʽ
    µ¥ÄÚºËģʽµÄÄں˿ÉÒÔ´ÖÂԵķÖΪÈý¸ö²ã´Î£ºµ÷Ó÷þÎñµÄÖ÷³ÌÐò²ã¡¢Ö´ÐÐϵͳµ÷ÓõķþÎñ²ãºÍÖ§³Öϵͳµ÷Óõĵײ㺯Êý¡£
2.2    LinuxÄÚºËÌåϵ½á¹¹
    LinuxÄÚºËÓÉÎå¸öÄ£¿é×é³É£º½ø³Ìµ÷¶ÈÄ£¿é¡¢ÄÚ´æ¹ÜÀíÄ£¿é¡¢Îļþϵͳģ¿é¡¢½ø³Ì¼äͨР......

linuxÏÂcurlÃüÁîÏê½â


CurlÊÇLinuxÏÂÒ»¸öºÜÇ¿´óµÄhttpÃüÁîÐй¤¾ß£¬Æ书ÄÜÊ®·ÖÇ¿´ó¡£
1) ¶þ»°²»Ëµ£¬ÏÈ´ÓÕâÀ↑ʼ°É£¡
$ curl http://www.linuxidc.com
»Ø³µÖ®ºó£¬www.linuxidc.com µÄhtml¾ÍÏ¡ÀﻩÀ²µØÏÔʾÔÚÆÁÄ»ÉÏÁË    ~
2) àÅ£¬ÒªÏë°Ñ¶Á¹ýÀ´Ò³Ãæ´æÏÂÀ´£¬ÊDz»ÊÇÒªÕâÑùÄØ£¿


$ curl http://www. ......

linuxÏÂulimitÃüÁîÏê½â

1,˵Ã÷:
ulimitÓÃÓÚshellÆô¶¯½ø³ÌËùÕ¼ÓõÄ×ÊÔ´.
2,Àà±ð:
shellÄÚ½¨ÃüÁî
3,Óï·¨¸ñʽ:
ulimit [-acdfHlmnpsStvw] [size]
4,²ÎÊý½éÉÜ:
-H ÉèÖÃÓ²¼þ×ÊÔ´ÏÞÖÆ.
-S ÉèÖÃÈí¼þ×ÊÔ´ÏÞÖÆ.
-a ÏÔʾµ±Ç°ËùÓеÄ×ÊÔ´ÏÞÖÆ.
-c size:ÉèÖÃcoreÎļþµÄ×î´óÖµ.µ¥Î»:blocks
-d size:ÉèÖÃÊý¾Ý¶ÎµÄ×î´óÖµ.µ¥Î»:kbytes
-f size:ÉèÖô´½¨ ......

linux mountÃüÁîÏê½â

¹¦ÄÜ£º
¼ÓÔØÖ¸¶¨µÄÎļþϵͳ¡£
Óï·¨£º
mount [-afFhnrvVw] [-L] [-o] [-t] [É豸Ãû] [¼ÓÔصã]
Ó÷¨ËµÃ÷£º
mount¿É½«Ö¸¶¨É豸ÖÐÖ¸¶¨µÄÎļþϵͳ¼ÓÔص½LinuxĿ¼Ï£¨Ò²¾ÍÊÇ×°Ôص㣩¡£¿É½«¾­³£Ê¹ÓõÄÉ豸дÈë
Îļþ/etc/fastab,ÒÔʹϵͳÔÚÿ´ÎÆô¶¯Ê±×Ô¶¯¼ÓÔØ¡£mount¼ÓÔØÉ豸µÄÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£Ê¹ÓÃumountÃüÁîÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ