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½Ú
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
2.1 LinuxÄÚºËģʽ
µ¥ÄÚºËģʽµÄÄں˿ÉÒÔ´ÖÂԵķÖΪÈý¸ö²ã´Î£ºµ÷Ó÷þÎñµÄÖ÷³ÌÐò²ã¡¢Ö´ÐÐϵͳµ÷ÓõķþÎñ²ãºÍÖ§³Öϵͳµ÷Óõĵײ㺯Êý¡£
2.2 LinuxÄÚºËÌåϵ½á¹¹
LinuxÄÚºËÓÉÎå¸öÄ£¿é×é³É£º½ø³Ìµ÷¶ÈÄ£¿é¡¢ÄÚ´æ¹ÜÀíÄ£¿é¡¢Îļþϵͳģ¿é¡¢½ø³Ì¼äͨР......
CurlÊÇLinuxÏÂÒ»¸öºÜÇ¿´óµÄhttpÃüÁîÐй¤¾ß£¬Æ书ÄÜÊ®·ÖÇ¿´ó¡£
1) ¶þ»°²»Ëµ£¬ÏÈ´ÓÕâÀ↑ʼ°É£¡
$ curl http://www.linuxidc.com
»Ø³µÖ®ºó£¬www.linuxidc.com µÄhtml¾ÍÏ¡ÀﻩÀ²µØÏÔʾÔÚÆÁÄ»ÉÏÁË ~
2) àÅ£¬ÒªÏë°Ñ¶Á¹ýÀ´Ò³Ãæ´æÏÂÀ´£¬ÊDz»ÊÇÒªÕâÑùÄØ£¿
$ curl http://www. ......
1,˵Ã÷:
ulimitÓÃÓÚshellÆô¶¯½ø³ÌËùÕ¼ÓõÄ×ÊÔ´.
2,Àà±ð:
shellÄÚ½¨ÃüÁî
3,Óï·¨¸ñʽ:
ulimit [-acdfHlmnpsStvw] [size]
4,²ÎÊý½éÉÜ:
-H ÉèÖÃÓ²¼þ×ÊÔ´ÏÞÖÆ.
-S ÉèÖÃÈí¼þ×ÊÔ´ÏÞÖÆ.
-a ÏÔʾµ±Ç°ËùÓеÄ×ÊÔ´ÏÞÖÆ.
-c size:ÉèÖÃcoreÎļþµÄ×î´óÖµ.µ¥Î»:blocks
-d size:ÉèÖÃÊý¾Ý¶ÎµÄ×î´óÖµ.µ¥Î»:kbytes
-f size:ÉèÖô´½¨ ......
¹¦ÄÜ£º
¼ÓÔØÖ¸¶¨µÄÎļþϵͳ¡£
Óï·¨£º
mount [-afFhnrvVw] [-L] [-o] [-t] [É豸Ãû] [¼ÓÔصã]
Ó÷¨ËµÃ÷£º
mount¿É½«Ö¸¶¨É豸ÖÐÖ¸¶¨µÄÎļþϵͳ¼ÓÔص½LinuxĿ¼Ï£¨Ò²¾ÍÊÇ×°Ôص㣩¡£¿É½«¾³£Ê¹ÓõÄÉ豸дÈë
Îļþ/etc/fastab,ÒÔʹϵͳÔÚÿ´ÎÆô¶¯Ê±×Ô¶¯¼ÓÔØ¡£mount¼ÓÔØÉ豸µÄÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£Ê¹ÓÃumountÃüÁîÐ ......