linuxÔÚÏßÀ©Õ¹Îļþϵͳ¿Õ¼ä
author£ºskate
time£º2009/12/04
linuxÔÚÏßÀ©Õ¹Îļþϵͳ¿Õ¼ä
ext2resizeÊÇÒ»¿î¿ÉÒÔÔö´ó/¼õСext2/ext3ÎļþϵͳµÄ¹¤¾ß,°²×°ºóÓÐ2¸öÃüÁîext2resizeºÍext2online£¬ext2resizeÃüÁî
±ØÐëÒªÔÚжÔØÎļþϵͳµÄÇé¿öϲÅÄÜʹÓã¬ext2online¿ÉÒÔʵÏÖÔÚÏßÖØÉèÎļþϵͳ´óС¡£
ÏÂÃæ¾ÍÑÝʾ¾ßÌåµÄ²Ù×÷£¬ÕâÊÇÎÒÃÇÑз¢ÓõIJâÊÔ·þÎñÆ÷£¬ÓÉÓڿռ䲻¹»£¬ÏÖÔÚÒªÔÚÏßÀ©Õ¹¿Õ¼ä
1.Ê×ÏÈÏÂÔØÈí¼þext2resize
[root@svr-db-test ~]# wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/janptitan/SLE_10/x86_64/ext2resize-1.1.19-3.1.x86_64.rpm
2.°²×°ext2resizeÈí¼þ
[root@svr-db-test ~]# rpm -ivh ext2resize-1.1.19-3.1.x86_64.rpm
3. ´´½¨ÎïÀí¾íPV
[root@svr-db-test ~]# pvcreate /dev/sdb1
4.°ÑÐÄÌí¼ÓµÄpvÌí¼Óµ½ÒªÀ©Õ¹µÄ¾í×éÀVolGroup_ID_20886£©
[root@svr-db-test ~]# vgextend VolGroup_ID_20886 /dev/sdb1
5. ²é¿´ÏÖÓÐϵͳµÄ¿Õ¼äʹÓÃÇé¿ö
[root@svr-db-test ~]# df -h
Îļþϵͳ ÈÝÁ¿ ÒÑÓà ¿ÉÓà ÒÑÓÃ% ¹ÒÔصã
/dev/mapper/VolGroup_ID_20886-LogVol1
3.9G 2.2G 1.6G 60% /
/dev/sda3 190M 26M 156M 14% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/VolGroup_ID_20886-LogVol2
3.9G 137M 3.6G 4% /tmp
/dev/mapper/VolGroup_ID_20886-LogVol5
24G 3.4G 19G 16% /usr
/dev/mapper/VolGroup_ID_20886-LogVol4
&nbs
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍ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£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
ÉùÒôÎļþ±ØÐëΪWave PCM unsigned 8bits mono¸ñʽ
/* the *.wav must be 8000Hz 64kbps 8bits MONO(1)*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h&g ......
Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì
×î½ü×¼±¸×ö Nokia µÄ Symbian,Maemo Ï´¥ÃþÆÁ¿ª·¢¡£¿¼Âǵ½³ÌÐòµÄ¿çƽ̨¿ÉÒÆÖ²ÐÔ£¬×îÖÕÑ¡ÔñʹÓà Qt ¿ª·¢¡£Ïà¶ÔÀ´Ëµ£¬¹úÄÚ¹ØÓÚ Qt Ïà¹ØÎĵµ²¢²»ËãºÜ¶à¡£×÷Õß½« Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì×ܽáÁËһϣ¬Ö»Ï£Íû¿ÉÒÔ·½±ã¸ü¶àµÄÅóÓÑ£¡
&nbs ......