Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux¸ùÎļþϵͳÓëinitrd

 1 ¸ùÎļþϵͳ
¼òµ¥À´Ëµ£¬£¨¸ùÎļþϵͳ£©¾ÍÊÇϵͳµÚÒ»¸ömountµÄÎļþϵͳ
Filesystem Handling
Like every   traditional   Unix   system,   Linux   makes   use   of   a   system 's  root   filesystem :  it   is   the   filesystem   that   is   directly   mounted   by   the   kernel   during   the   booting   phase   and   that   holds   the   system   initialization   scripts   and   the   most   essential   system   program.
Other   filesystems   can   be   mounted either   by   the   initialization   scripts   or   directly   by   the   users on   directories   of   already   mounted   filesystems.   Being   a  tree   of   directories   every   filesystem   has   its   own   root  directory.   The   directory   on   which   a   filesystem   is   mounted   is   called  the   mount   point.   A   mounted   filesystem   is   a   child   of   the   mounted  filesystem   to   which   the   mount   point   directory   belongs.   For   instance,  the   /proc   virtual   f


Ïà¹ØÎĵµ£º

Linux jffs2 ʹÓÃ×ܽá

1.ÔÚLinuxÆô¶¯½Å±¾ÖÐÖÆ×÷jffs2
2.ÔÚLinuxÖÕ¶ËÏÂÖÆ×÷jffs2
3.±¸×¢
1.ÔÚLinuxÆô¶¯½Å±¾ÖÐÖÆ×÷jffs2
 ¾ßÌå²Ù×÷²½Ö裺
 sysinitÖÐ:
 
echo “Make jffs2 filesystem:”
erase /dev/mtd5
cd /tmp
echo “test” > test.txt
mkfs.jffs2 –d /tmp > /dev/mtdblock5
&nbs ......

linuxϱØÐëÕÆÎÕµÄÃüÁî

1 cron
 
ÒÔÏ£¬ÊÇctontabµÄ¸ñʽ£º
·Ö<>ʱ<>ÈÕ<>ÔÂ<>ÐÇÆÚ<>ÒªÔËÐеÄÃüÁî
ÆäÖÐ<>±íʾ¿Õ¸ñ¡£
ÕâÀïÓÐc r o n t a bÎļþÌõÄ¿µÄһЩÀý×Ó£º
30 21* * * /apps/bin/cleanup.sh
ÉÏÃæµÄÀý×Ó±íʾÿÍíµÄ2 1 : 3 0ÔËÐÐ/ a p p s / b i nĿ¼ÏµÄc l e a n u p . s h¡£
45 4 1,10,22 * ......

LINUX CÖÐÓÃdefine¶¨Òå¿É±ä²ÎÊýµÄºê

  Ò»°ãÔÚµ÷ÊÔ´òÓ¡DebugÐÅÏ¢µÄʱºò, ÐèÒª¿É±ä²ÎÊýµÄºê. ´ÓC99¿ªÊ¼¿ÉÒÔʹ±àÒëÆ÷±ê×¼Ö§³Ö¿É±ä²ÎÊýºê(variadic macros), ÁíÍâGCCÒ²Ö§³Ö¿É±ä²ÎÊýºê, µ«ÊÇÁ½ÖÖÔÚϸ½ÚÉÏ¿ÉÄÜ´æÔÚÇø±ð.
1. __VA_ARGS__
        __VA_ARGS__ ½« "..." ´«µÝ¸øºê . Èç
     ......

Linux½¨Á¢Á´½Ó½â¾ö¿Õ¼ä²»¹»µÄÎÊÌâ

×÷Õß: ÈýÊ®¶øÁ¢Ê±¼ä£º2009Äê11ÔÂ03ÈÕ 9:52:27Çë×ðÖØÔ­´´×÷Æ·¡£×ªÔØÇë±£³ÖÎÄÕÂÍêÕûÐÔ,²¢ÒÔ³¬Á´½ÓÐÎʽעÃ÷ԭʼ×÷Õß¡°inthirties£¨ÈýÊ®¶øÁ¢£©¡±ºÍ³ö´¦¡±http://blog.csdn.net/inthirties/archive/2009/11/03/4761783.aspx¡±,ÉîÈëÌÖÂÛ¿ÉÒÔÁªÏµinthirties@gmail.com¡£ ½ñÌìÀ´µ½¹«Ë¾£¬ÓÐС»ï×Ó¸æËßÎÒ£¬·þÎñÆ÷ºÃÏñµ±µôÁË£¬³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ