linuxµÄPCÉϹÒÔØjffs2¸ùÎļþϵͳӳÏñ
http://linux.ctocio.com.cn/437/8831437.shtml
ÎÒÃÇÔÚµ÷ÊÔÓ²¼þ°åʱ£¬¾³£ÐèÒª×ö¶à¸öjffs2µÄ¸ùÎļþϵͳӳÏñ£¬ÓÐʱҲҪ¶Ô±ÈÆäËû;¾¶µÃµ½µÄ¿ÉÓõÄjffs2¸ùÎļþϵ
ͳӳÏñ¡£µ«jffs2µÄÎļþϵͳӳÏñ²»Ïó¹âÅ̵ÄÓ³ÏñÎļþÒ»Ñù¿ÉÒÔͨ¹ýloopÉ豸À´¹ÒÔØ……
ÎÒÃÇÔÚµ÷ÊÔÓ²¼þ°åʱ£¬¾³£ÐèÒª×ö¶à¸öjffs2µÄ¸ùÎļþϵͳ
Ó³Ïñ£¬ÓÐʱҲҪ¶Ô±ÈÆäËû;¾¶µÃµ½µÄ¿ÉÓõÄjffs2¸ùÎļþϵͳӳÏñ¡£µ«jffs2µÄÎļþϵͳӳÏñ²»Ïó¹âÅÌ
µÄÓ³ÏñÎļþÒ»Ñù¿ÉÒÔͨ¹ýloop
É豸À´¹ÒÔØ£¬×ܲ»¿ÉÄÜÒ»¸ö¸öÉÕ¼µ½Ó²¼þ°åÈ¥¿´°É¡£
¡¡¡¡ºóÀ´µ½ÍøÉÏgoogleÁËÒ»°Ñ£¬×ó·ÓÒ·Ö®ºó×ÜËãÕÒµ½ÁËÒ»¸ö·½·¨¡£ÒòΪjffs2Êǹ¹½¨ÓÚMTDÉ豸ÉϵÄÎļþϵͳ£¬ËùÒÔÎÞ·¨Í¨¹ýloopÉ豸À´
¹ÒÔØ£¬µ«ÊÇ¿ÉÒÔͨ¹ýmtdramÉ豸À´¹ÒÔØ¡£mtdramÊÇÔÚÓÃRAMʵÏÖµÄMTDÉ豸£¬¿ÉÒÔͨ¹ýmtdblockÉ豸À´·ÃÎÊ¡£Ê¹ÓÃmtdramÉ豸ºÜ¼ò
µ¥£¬Ö»Òª¼ÓÔØmtdramºÍmtdblockÁ½¸öÄÚºËÄ£¿é¼´¿É¡£ÕâÁ½¸öÄÚºËÄ£¿éÒ»°ãµÄlinuxÄں˷¢Ðа涼ÓбàÒëºÃµÄ£¬Ö±½ÓÓÃmodprobeÃüÁî¼Ó
ÔØ¡£
¡¡¡¡ÏÂÃæÊÇÔÚFedora core 6»·¾³ÏÂʹÓÃmtdramÉ豸¹ÒÔØjffs2¸ùÎļþϵͳӳÏñµÄ¾ßÌå²½Ö裺
¡¡¡¡1.¼ÓÔØmtdblockÄÚºËÄ£¿é
¡¡¡¡[root@localhost ~]# modprobe mtdblock
¡¡¡¡2.¼ÓÔØmtdramÄÚºËÄ£¿é£¬½«¸ÃÉ豸µÄ´óСָ¶¨Îªjffs2¸ùÎļþϵͳӳÏñµÄ´óС£¬¿é²Á³ý´óС(¼´flashµÄ¿é´óС)Ö¸¶¨ÎªÖÆ×÷¸Ã
jffs2¸ùÎļþϵͳʱ“-e”²ÎÊýÖ¸¶¨µÄ´óС£¬È±Ê¡Îª64KB¡£ÏÂÃæÁ½¸ö²ÎÊýµÄµ¥Î»¶¼ÊÇKB¡£
¡¡¡¡[root@localhost ~]# modprobe mtdram total_size=49152 erase_size=128
¡¡¡¡3.Õâʱ½«³öÏÖMTDÉ豸/dev/mtdblock0£¬Ê¹ÓÃddÃüÁjffs2¸ùÎļþϵͳ¿½±´µ½/dev/mtdblock0É豸ÖС£
¡¡¡¡[root@localhost prebuilt_bin]# dd if=rootfs.jffs2_zylonite_qvga
of=/dev/mtdblock0
¡¡¡¡98304+0 records in
¡¡¡¡98304+0 records out
¡¡¡¡50331648 bytes (50 MB) copied, 1.98391 seconds, 25.4 MB/s
¡¡¡¡4.½«±£´æÁËjffs2¸ùÎļþϵͳµÄMTDÉ豸¹ÒÔص½Ö¸¶¨µÄĿ¼ÉÏ¡£
¡¡¡¡[root@localhost prebuilt_bin]# mount -t jffs2 /dev/mtdblock0
/mnt/mtd
¡¡¡¡ÕâÖ®ºó¾Í¿ÉÒÔµ½/mnt/mtdĿ¼²é¿´¡¢Ð޸ĹÒÔصÄjffs2¸ùÎļþϵͳÁË£¬Ð޸ĺóµÄjffs2¸ùÎļþϵͳ¿ÉÒÔͨ¹ýddÃüÁ±´ÎªÒ»¸ö
jffs2µÄÓ³ÏñÎļþ¡£
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
¡¾51CTO¾«Ñ¡ÒëÎÄ¡¿¶àÊýÓû§ÔÚ¸Õ¸Õ½Ó´¥Ä³¸ö×ÀÃæϵͳʱ£¬ÍùÍùÈÝÒ×·¸ºÜ¶à´íÎó¡£²»¹ýÈç¹ûËûÃÇ´ÓÒ»¿ªÊ¼¾ÍÁ˽âÄÄЩÊǹ²ÐԵĴíÎ󣬾ͿÉÒÔ°ÑÊÜ´ìµÄ¸Ð¾õ½µÖÁ×îµÍ¡£ÒÔÏÂÊÇÐÂÓû§ÔÚʹÓÃijЩ³£ÓÃLinux×ÀÃæϵͳʱÈÝÒ×·¸µÄÊ®´ó´íÎó¡£
1¡¢ÑÓÐøʹÓÃWindowsµÄ˼ά ÕâÊÇÒ»¸öÔÙÃ÷ÏÔ²»¹ýµÄ´íÎó¡£ÆÕͨÓû§Í¨³£Òâʶ²»µ½×Ô¼ºÔÚʹÓÃÒ»¸öÍêÈ«² ......
ת×Ô£ºhttp://linuxtoy.org/archives/top-10-one-liners.html
ÏÂÃæÊÇÀ´×Ô Commandlinefu ÍøÕ¾ÓÉÓû§Í¶Æ±¾ö³öµÄ 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁϣÍû¶ÔÄãÓÐÓá£
sudo !!
ÒÔ root ÕÊ»§Ö´ÐÐÉÏÒ»ÌõÃüÁî¡£
python -m SimpleHTTPServer
ÀûÓà Python ´î½¨Ò»¸ö¼òµ¥µÄ Web ·þÎñÆ÷£¬¿Éͨ¹ý http://$HOSTNAME:8000 ·ÃÎÊ¡£
:w !su ......
Ubuntu10.04¾µÏñ»á³öÏÖÎÞ·¨Ê¶±ð¼üÅÌÊäÈë¡£ÔڵǼ»Ãæʱ£¬²»ÄÜÊäÈëÃÜÂ룬ÎÞ·¨Õý³£½øÈëϵͳ¡£ ½â¾ö°ì·¨£º £¨1£© ¿ª»§ÆÁÄ»¼üÅ̹¦ÄÜ ÔÚÉÏͼ¿ª»ú½çÃæÔÚÓÒϽǵ¥»÷СÈËͼ°¸£¬ÔÙµ¥»÷“Universal Access Perferences”£¬³ö»÷“Universal Access Perferences”¶Ô»°¿ò£¬ÔÚ¶Ô»°¿òÖÐÑ¡ÖГUse on-screen keybo ......