linuxʹÓÃÐÂÓ²ÅÌ
linuxÏ°²×°ÐÂÓ²Å̲¢¼ÓÔØʹÓÃÊÖ¼Ç
================================================================================
Ò»¡¢¹ý³Ì²½Öè
1¡¢#kudzu //¼ì²âÐÂÓ²¼þ£¬ÕâÒ»²½±ØÐ룡
2¡¢#fdisk -l //²é¿´ÊÇ·ñÕÒµ½ÐµÄÓ²ÅÌ£¬²é¿´Ó²ÅÌ´úºÅ¡£
3¡¢#fdisk /dev/sdb //ΪÐÂÓ²ÅÌ·ÖÇø£¬ÀýÈç·Ö³Ésdb1
#mkfs.ext3 /dev/sdb1 //°ÑÐÂÓ²Å̸ñʽ»¯³Éext3¸ñʽ
4¡¢#mkdir /disk2 //´´½¨ÐµĹÒÔصã
5¡¢#mount /dev/sdb1 /disk2/ //ÊÖ¶¯¹ÒÔØ·ÖÇø,°ÑÓ²Å̹ҵ½/disk2Ŀ¼Ï¡£
6¡¢#vi /etc/fstab
/dev/sdb1 /disk2 ext3 auto 1 2 //ÉèÖÃΪ¿ª»ú×Ô¶¯¹ÒÔØ·ÖÇø¡£
¶þ¡¢¿ª¹¤
2¡¢
²é¿´Ó²ÅÌ´úºÅ
[root@AMD-LINUX ~]# fdisk -l
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×0007d856
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 1305 10281600 8e Linux LVM
Disk /dev/sdb: 2147 MB, 2147483648 bytes <=ÐÂÓ²ÅÌ
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000
Disk /dev/sdb doesn’t contain a valid partition table
Disk /dev/dm-0: 9395 MB, 9395240960 bytes
255 heads, 63 sectors/track, 1142 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000
Disk /dev/dm-0 doesn’t contain a valid partition table
Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ʹÓà Java ¶Ô Linux ÏÂÎļþ±àÂë¸ñʽ½øÐÐÅúÁ¿×ª»»
²âÊÔʹÓÃ˵Ã÷£º
1¡£½« ×Ö·û¼¯±àÂë¸ñʽΪ GB2312 µÄÎļþ test0.java£¬test1.java£¬test2.java ·ÅÔÚ /home/defonds/tmp/test Ŀ¼Ï£¨test0.java£¬test1.java£¬test2.java ×÷Õß¿ÉÒÔ ......
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main()
{
pid_t pid;
static int n = 0;
printf("fork!\n"); /*printf("fork!")*/
switch (pid = fork())
{
&nbs ......
linuxµ÷Õûϵͳʱ¼äºÍʱÇøµÄ·½·¨
1) ÕÒµ½ÏàÓ¦µÄʱÇøÎļþ /usr/share/zoneinfo/Asia/Shanghai
ÓÃÕâ¸öÎļþÌæ»»µ±Ç°µÄ/etc/localtimeÎļþ¡£
2) ÐÞ¸Ä/etc/sysconfig/clockÎļþ£¬ÐÞ¸ÄΪ£º
ZONE="Asia/Shanghai"
UTC=false
ARC=false
3)
ʱ¼äÉ趨³É2005Äê8ÔÂ30ÈÕµÄÃüÁîÈçÏ£º
#date -s 08/30/2005
½«ÏµÍ³Ê±¼äÉ趨³ÉÏÂÎ ......
ÔÚ×î½üµÄÒ»¸ö¹ØÓÚLKMLµÄÌÖÂÛÖУ¬Linus¸ø³öÁËΪʲô²»ÓÃC++À´Ð´LinuxÄں˵ÄÀíÓÉ£º
"In fact, in Linux we did try C++ once already, back in 1992. It sucks. Trust me - writing kernel code in C++ is a BLOODY STUPID IDEA.
“ÊÂʵÉÏ£¬ÎÒÃÇÔø¾³¢ÊÔ¹ýÓÃC++À´Ð´£¬ÊÇÔÚ1992ÄêµÄʱºò¡£ºÜÔã¸â¡£ÏàÐÅÎÒ--ÓÃC++À´Ð´ÄÚºË ......