LinuxÎļþѹËõÓë½âѹ
ѹËõ½âѹÎļþºÜ³£Ó㬾³£»áÍü¼Ç¡£×îºÃµÄ·½·¨ÊÇÿ´ÎÓõÄʱºò¶¼È¥²éһϣ¬ÓöàÁËÏàОͻáÊìϤÁË¡£ÁоÙÏÂÃæ³£ÓõÄѹËõºÍ½âѹÃüÁÒÔ±¸²éѯ£º
1. ¼¸ÖÖѹËõÎļþ¸ñʽ
£ª.z:compress ³ÌÐòѹËõµÄÎļþ¡£
£ª.bz2:bzip2³ÌÐòѹËõµÄÎļþ¡£
*.gz:gzip³ÌÐòѹËõµÄÎļþ¡£
£ª.tar:tar³ÌÐò´ò°üµÄÎļþ£¬´ò°ü²¢²»Ñ¹Ëõ¡£
*.tar.gz:ÏÈtar´ò°üºóÓÃgzѹËõµÄÎļþ¡£
2. ÎļþѹËõ½âѹÃüÁî
ÏȽøÈëÎļþ¼Ð£º
compress filename ѹËõ
conpress -d filename ½âѹËõ
bzip2 filename ѹËõ
bzip2 -d filename ½âѹËõ
gzip -n filename ѹËõ
gunzip£¨gzip.d£© filename:½âѹËõ
tar -cvf filename.tar ½«Ä¿Â¼´ò°ü
tar -zcvf filename.tar.gz ½«Ä¿Â¼Ñ¹Ëõ²¢´ò°ü
.tar
½â°ü£º tar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName
£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
---------------------------------------------
.gz
½âѹ1£ºgunzip FileName.gz
½âѹ2£ºgzip -d FileName.gz
ѹËõ£ºgzip FileName
.tar.gz
½âѹ£ºtar zxvf FileName.tar.gz
ѹËõ£ºtar zcvf FileName.tar.gz DirName
---------------------------------------------
.bz2
½âѹ1£ºbzip2 -d FileName.bz2
½âѹ2£ºbunzip2 FileName.bz2
ѹËõ£º bzip2 -z FileName
.tar.bz2
½âѹ£ºtar jxvf FileName.tar.bz2
ѹËõ£ºtar jcvf FileName.tar.bz2 DirName
---------------------------------------------
.bz
½âѹ1£ºbzip2 -d FileName.bz
½âѹ2£ºbunzip2 FileName.bz
ѹËõ£ºÎ´Öª
.tar.bz
½âѹ£ºtar jxvf FileName.tar.bz
ѹËõ£ºÎ´Öª
---------------------------------------------
.Z
½âѹ£ºuncompress FileName.Z
ѹËõ£ºcompress FileName
.tar.Z
½âѹ£ºtar Zxvf FileName.tar.Z
ѹËõ£ºtar Zcvf FileName.tar.Z DirName
---------------------------------------------
.tgz
½âѹ£ºtar zxvf FileName.tgz
ѹËõ£ºÎ´Öª
.tar.tgz
½âѹ£ºtar zxvf FileName.tar.tgz
ѹËõ£ºtar zcvf FileName.tar.tgz FileName
---------------------------------------------
.zip
½âѹ£ºunzip FileName.zip
ѹËõ£ºzip FileName.zip DirName
---------------------------------------------
.rar
½âѹ£
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
LinuxÐźÅÓжàÖÖ˵·¨¡£Ò»¸ö½ø³Ì´´½¨Ò»¸öÐźÅÓÃÓÚ·¢Ë͸øÁíÍâÒ»¸ö½ø³Ì½Ð×ö·¢ËÍÒ»¸öÐźţ¬Äں˴´½¨Ò»¸öÐźŽÐ×öÉú³ÉÒ»¸öÐźţ¬½ø³Ì×Ô¼ºÏò×Ô¼º·¢ËÍÐźŽÐ×ö»½ÆðÒ»¸öÐźš£²»¹ýÎÒ¿´Ò²Ã»±ØÒªÕâôѧ¾¿Æø¡£
Ðźż¯--signel set,Æäʵ¾ÍÊǽ«¶à¸öÐźŷÅÔÚ¼¯ºÏÖнøÐм¯ÖеĴ¦Àí¡£POSIX.1¶¨ÒåÁËsigset_tÒÔ°üºÒ»¸öÐźż¯£ ......