linuxÏÂÎļþµÄÑÕÉ«
ÆÕͨÎļþ, ³£¼ûµÄÎı¾ÎļþºÍÉèÖÃÎļþ--°×É«
¿ÉÖ´ÐÐÎļþ ÎļþÃûºó¸½¼Ó * ÂÌÉ«
Ŀ¼Îļþ, ÎļþÃûºó¼Ó / À¶É«
·ûºÅÁ´½ÓÎļþ, ÎļþÃûºó¼Ó @ dzÀ¶É«
ѹËõÎļþ ºìÉ«
À¶É«£Ä¿Â¼
ÂÌÉ«£¿ÉÖ´ÐÐÎļþ
ºìÉ«£Ñ¹ËõÎļþ
dzÀ¶É«£Á´½ÓÎļþ
»ÒÉ«£ÆäËüÎļþ
×ÏÉ«£Í¼ÐÎÎļþ
»ÆÉ«£É豸Îļþ
×ØÉ«£FIFOÎļþ£¨ÏȽøÏȳö£¬ÃüÁî¹ÜµÀ£©
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍ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 ......
Linuxϵͳµ÷ÓÃ--accessº¯ÊýÏê½â
2007-07-30 23:10
¡¾accessϵͳµ÷Óá¿
¹¦ÄÜÃèÊö£º
¼ì²éµ÷Óýø³ÌÊÇ·ñ¿ÉÒÔ¶ÔÖ¸¶¨µÄÎļþÖ´ÐÐijÖÖ²Ù×÷¡£
Ó÷¨£º
#include <unistd.h>
#include <fcntl.h>
int access(const char *pathname, int mode);
²ÎÊý£º
pathn ......
1, Ö÷°åÐÅÏ¢
.²é¿´Ö÷°åµÄÐòÁкÅ
--------------------------------------------------
#ʹÓÃÃüÁî
dmidecode | grep -i 'serial number'
#²é¿´°å¿¨ÐÅÏ¢
cat /proc/pci
--------------------------------------------------
2, cpuÐÅÏ¢
--------------------------------------------------
#ͨ¹ý/procÎļþϵͳ
1) ......
http://blog.csdn.net/lzysystem/archive/2009/03/05/3960853.aspx
http://www.linuxidc.com/Linux/2009-06/20390.htm
http://www.linuxdiyf.com/viewarticle.php?id=163893
http://blog.sina.com.cn/s/blog_4ed66efa0100gfjx.html### ......
1¡¢ÓÉÓÚorcale10²»Ö§³Ö redhat as5 ÐèÒªÐÞ¸Ä/etc/redhat-realease ½« Red
Hat Enterprise Linux Server release 5 (Tikanga) ¸ÄΪRed Hat Enterprise
Linux Server release 4 (Tikanga) £¬°²×°Íê³ÉºóÔÙ½«ÆäÐ޸ĻØÀ´
2¡¢ÐÞ¸Ä/etc/hosts Îļþ½«127.0.0.1¸ÄΪ±¾»úIPµØÖ· ·ñÔòÍøÂç¼ì²éͨ²»¹ý
3¡¢¼ì² ......