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

linux ±à³Ì chrootº¯Êý¶à´Îµ÷ÓõÄÎÊÌâÇë½Ì

ÔÚ³ÌÐòÖе÷ÓÃchroot("/mnt");ºó ÎÒÏëÔÙת»Øchroot("/"); Õâ¸öʱºò²»ÄÜÔÙת»Øϵͳ¸ùĿ¼»·¾³ÁË Ó¦¸ÃÔõô×ö£¿£¿
chroot()Ö´Ðгɹ¦Ö®ºó£¬¸ùĿ¼ÊǽøÐÐÁËÇл»£¬µ«Êǵ±Ç°¹¤×÷Ŀ¼ûÓб仯£¬»¹ÊÇchroot()֮ǰµÄ£¬ÐèÒªÔÙÒ»´Îµ÷ÓÃchdir()À´ÊµÏÖ¸ü¸Äµ±Ç°¹¤×÷Ŀ¼£¬Èç¹ûchdirʧ°Ü£¬µ±Ç°¹¤×÷Ŀ¼²»±ä¡£

ÊDz»ÊÇÄãûÓÐchdirµÄÔ­Òò£¿

chrootÖ®ºóÒª±ä»ØÀ´£¬ÒªÓÃÏà¶Ô·¾¶


Ïà¹ØÎÊ´ð£º

ǶÈëʽLinuxËõ¼õÎÊÌâ

´ó¼ÒºÃ£¬±¾ÈËÄ¿Ç°¸Õ¸Õ½Ó´¥Linux¡£ÏÖÔÚ¹«Ë¾µÄÏîÄ¿ÐèÒªËõ¼õLinuxµÄKernelºÍAPP²¿·ÖµÄCode Size¡£Ä¿Ç°ÎÒÃÇʹÓõÄÊÇLinux2.6.22.15°æ±¾£¬Ó¦ÓÃÓÚADSL Modem£¨¼ÒÍ¥Íø¹Ø£©¡£

1.ÎÒÃDzúÆ·Ó¦ÓÃÊÇADSL Gateway£¬Kernel²¿ ......

ÔõÑùÐÞ¸ÄLinux³ÌÐò

ÎÒÒªÐÞ¸ÄÒ»¸öLinux³ÌÐòÖеÄÒ»¸ö×Ö·û´®£¬Ä¿µÄ´®±ÈÔ­À´µÄ³¤£¬ËùÒÔÖ±½ÓÌæ»»³ÌÐòÎÞ·¨ÔËÐУ¬ÒªÔõô°ì²ÅÄÜʹ³ÌÐòÕý³£ÔËÐУ¿
²»Ã÷°×ÄãÒª¸Éʲô ¸Äʲô³ÌÐò£¿

Ò»¸öÊÖ»úÉϵÄÄ£ÄâÆ÷£¬±¾À´ÊÇÔÚ/mmc/mmca1Ï´´½¨RomsÎļþ¼Ð£¬ ......

linuxÏÂdÊÇʲôÃüÁ



ÕâÀï¿´²»¶®¡£¡£
ÓÐÕâ¸öÃüÁîÂð£¿

type d
ÊÔÊÔ¿´ÊDz»ÊDZðÃû»òÊǺ¯ÊýÃû

ÕâÊÇÔÚcygwinÏÂÔËÐеģ¬»¹ÊÇ¿´²»Ã÷°×¡£
ÊäÈëÁË type d ÒÔºó±ä³ÉÕâÑù£º


¿´²»µ½Í¼Æ¬

ûÓÐÕâ¸öÃüÁÊDz»ÊÇÒ»¸ö ......

Linux°²×°ÎÊÌâ ¹ØÓÚ´ÅÅÌʶ±ð

¾ÍÊÇ˵ÏÖÔÚÊÇwindowsÏ ÎÒ°ÑÒ»¸ö·ÖÇøÌÚ³öÀ´ÁË  µ«ÊÇÓùâÅÌ°²×°linuxµÄʱºòʶ±ð²»ÁË  ÄǸÃÔõÑù°Ñ´ÅÅ̵ĸñʽת»»ÎªlinuxÄÜʶ±ð³öµÄ?

ÓÐÈËÕâÑù»Ø´ð

(
°Ñ·ÖÇøɾ³ý£¬È»ºóÓÃLinux°²×°Å̸ñʽ»¯³ ......

clock_gettimeÊDz»ÊÇlinux϶ÀÓеĺ¯Êý£¿

ÔÚvc++µÄhelpÏÂûÓÐËѵ½Õâ¸öÃüÁÊDz»ÊÇÕâÊÇlinux϶ÀÓеĺ¯Êý£¿»¹ÓУ¬Äܸø¼¸¸öc++ linux»·¾³µÄ°ïÖúÍøÕ¾²»£¿×îºÃÊÇÖÐÎĵÄ
MSDNÉÏûÓÐÓ¦¸Ã¾ÍûÓÐÁË¡£
linuxÏÂ×îºÃÓÃman°¡

vimÀ¹â±êÒƶ¯µ½ÐèÒªhelpµÄÃû×ÖÉÏ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ