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
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
When Linux Runs Out of Memory
http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html?page=1
Perhaps you rarely face it, but once you do, you surely know what's
wrong: lack of free memory, or Out of Memory (OOM). The results are
typical: you can no longer allocate more memory ......
Red-black Trees (rbtree) in Linux
January 18, 2007
Rob Landley <rob@landley.net>
=============================
red-blackÊ÷ÊÇʲôÑùµÄÊ÷£¬ÎªÊ²Ã´ÐèÒªred-blackÊ÷£¿
------------------------------------------------
red-black tree£¨RBÊ÷£©ÊÇÒ»ÖÖƽºâ¶þ²æÊ÷£¬ËüÖ÷ÒªÓÃÓÚ´æ´¢»òÕß˵ ......
Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì
×î½ü×¼±¸×ö Nokia µÄ Symbian,Maemo Ï´¥ÃþÆÁ¿ª·¢¡£¿¼Âǵ½³ÌÐòµÄ¿çƽ̨¿ÉÒÆÖ²ÐÔ£¬×îÖÕÑ¡ÔñʹÓà Qt ¿ª·¢¡£Ïà¶ÔÀ´Ëµ£¬¹úÄÚ¹ØÓÚ Qt Ïà¹ØÎĵµ²¢²»ËãºÜ¶à¡£×÷Õß½« Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì×ܽáÁËһϣ¬Ö»Ï£Íû¿ÉÒÔ·½±ã¸ü¶àµÄÅóÓÑ£¡
&nbs ......