LinuxÏÂÔö¼Ó´ÅÅÌÉ豸µÄ´¦Àí¼Ç¼
--Ê×ÏÈ¿´¿´ÓÐÄÄЩ´ÅÅÌ
[root@localhost ~]# fdisk -l
--Òª´¦ÀíµÄÊÇsdj£¬Ê¹ÓÃfdisk·ÖÇø
[root@localhost ~]# fdisk /dev/sdj
The number of cylinders for this disk is set to 13054.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help):n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-13054, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-13054, default 13054):
Using default value 13054
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Command (m for help):q
--ÕâÖ®¼äʹÓÃÁËn´´½¨·ÖÇø£¬pÊÇÖ÷·ÖÇø£¬×îÖØÒªµÄÊÇw£¬Ð´Èë´ÅÅÌ£¬²»Ð´µÄ»°£¬Ç°Ã湤×÷°×·Ñ
--ÏÂÃæÊÇʹÓÃext3¸ñʽ¸ñʽ»¯sdj1
[root@localhost ~]# mkfs.ext3 /dev/sdj1
mke2fs 1.39
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÀýÒ»£º·¢ËÍ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-bus,device,driver,class
×ÜÏß
×ÜÏßÊÇ´¦ÀíÆ÷ºÍÒ»¸ö»ò¶à¸öÉ豸֮¼äµÄͨµÀ£¬ÔÚÉ豸ģÐÍÖÐ, ËùÓеÄÉ豸¶¼Í¨¹ý×ÜÏßÏàÁ¬, ÉõÖÁÊÇÄÚ²¿µÄÐéÄâ"platform"×ÜÏß¡£×ÜÏßÄÜÏ໥²åÈë¡£É豸ģÐÍչʾÁË×ÜÏߺÍËûÃÇËù¿ØÖƵÄÉ豸֮¼äµÄʵ¼ÊÁ¬½Ó¡£
ÔÚ Linux É豸ģÐÍÖÐ, ×ÜÏßÓÉ bus_type ½á¹¹±íʾ, ¶¨ÒåÔÚ £º
struct bus_type {
&nb ......
¡¾ÕªÒª¡¿
±¾ÎÄÖ÷Òª½éÉÜÁËlinuxµÄʱ¼äºÍ¶¨Ê±Æ÷¡£
¡¾¹Ø¼ü´Ê¡¿
Linux ¶¨Ê±Æ÷ ʱ¼ä
Ò»¡¢ÎÊÌâµÄÌá³ö
ÎÒÃÇ¿ª·¢³ÌÐòʱ£¬¾³£»áÓöµ½Ê±¼äºÍ¶¨Ê±Æ÷µÄÎÊÌ⣬ΪÁ˸üºÃµÄʹÓÃʱ¼äºÍ¶¨Ê±Æ÷£¬ÏÖÔÚÁоÙÒ»¸öһЩʱ¼ä½á¹¹Ìå¡¢º¯ÊýºÍ¶¨Ê±Æ÷¡£
¶þ¡¢½â¾ö˼·
1.ʱ¼äÀàÐÍ
1) time_tÊÇÒ»¸ö³¤ÕûÐÍ£¬Ò»°ãÓÃÀ´±íʾÓÃ1970ÄêÒÔÀ´µÄÃëÊ ......
IPÊײ¿µÄid×Ö¶ÎÓÃÀ´±êʶ²»Í¬µÄ·â°ü£¨¶ø²»ÊÇ·ÖÆ¬£¬Ò»¸ö·â°üµÄËùÓÐ·ÖÆ¬ÓµÓÐÏàͬµÄid£©
Õâ¸ö×Ö¶ÎÖ»Õ¼ÓÃ16룬Òò´ËÔÚÒ»¸ö¿ìËÙµÄÍøÂçÉϺܿì¾Í»á»ØÈÆ£¬ÕâÊǾͿÉÄÜÔì³ÉÐÒéÕ»¶Ôip±¨ÎÄʶ±ð»ìÂÒ¡£
LinuxÄں˲ÉÈ¡Á˲ßÂÔÀ´¼õ»ºÆä»ØÈÆËÙ¶È¡£
²»Ê¹ÓÃÈ«¾ÖµÄid±äÁ¿£¬¶øÊǶÔÿ¸öipʹÓÃÒ»¸öµ¥¶ÀµÄ¼ÆÊýÆ÷À´¼ÆËãÆäid£¬
µ«ÊÇipµØÖ·ÊǺ ......