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

linuxÎļþĿ¼½á¹¹£¨×ª£©


Ò»Ö±¶¼ºÜÏëÀíÇåubuntuÎļþĿ¼µÄ½á¹¹£¬½ñÌì͵¿ÕÕÒ¸öʱ¼äѧϰһÏ£¬googleÕÒµ½µÄÎÄÕ£¬·ÇÔ­´´£¬·¢ÉÏÀ´Ò»ÆðѧϰÏ£º
תÔØ£ºhttp://tech.ccidnet.com/art/305/20080118/1347213_1.html
ÒÔÏÂΪUbuntuĿ¼µÄÖ÷ҪĿ¼½á¹¹£¬ÄúÉÔ΢Á˽âËüÃǶ¼°üº¬ÁËÄÄЩÎļþ¾Í¿ÉÒÔÁË£¬²»ÐèÒª¼ÇÒä¡£
/ ¸ùĿ¼
©¦
©Àboot/ Æô¶¯Îļþ¡£ËùÓÐÓëϵͳÆô¶¯ÓйصÄÎļþ¶¼±£´æÔÚÕâÀï
©¦ ©¸grub/ GrubÒýµ¼Æ÷Ïà¹ØµÄÎļþ
©¦
©Àdev/ É豸Îļþ
©Àproc/ ÄÚºËÓë½ø³Ì¾µÏñ
©¦
©Àmnt/ ÁÙʱ¹ÒÔØ
©Àmedia/ ¹ÒÔØýÌåÉ豸
©¦
©Àroot/ rootÓû§µÄ$HOMEĿ¼
©Àhome/
©¦ ©Àuser/ ÆÕͨÓû§µÄ$HOMEĿ¼
©¦ ©¸…/
©¦
©Àbin/ ϵͳ³ÌÐò
©Àsbin/ ¹ÜÀíԱϵͳ³ÌÐò
©Àlib/ ϵͳ³ÌÐò¿âÎļþ
©Àetc/ ϵͳ³ÌÐòºÍ´ó²¿·ÖÓ¦ÓóÌÐòµÄÈ«¾ÖÅäÖÃÎļþ
©¦ ©Àinit.d/ SystemV·ç¸ñµÄÆô¶¯½Å±¾
©¦ ©ÀrcX.d/ Æô¶¯½Å±¾µÄÁ´½Ó£¬¶¨ÒåÔËÐ춱ð
©¦ ©Ànetwork/ ÍøÂçÅäÖÃÎļþ
©¦ ©ÀX11/ ͼÐνçÃæÅäÖÃÎļþ
©¦
©Àusr/
©¦ ©Àbin/ Ó¦ÓóÌÐò
©¦ ©Àsbin/ ¹ÜÀíÔ±Ó¦ÓóÌÐò
©¦ ©Àlib/ Ó¦ÓóÌÐò¿âÎļþ
©¦ ©Àshare/ Ó¦ÓóÌÐò×ÊÔ´Îļþ
©¦ ©Àsrc/ Ó¦ÓóÌÐòÔ´´úÂë
©¦ ©Àlocal/
©¦ ©¦ ©Àsoft/ Óû§³ÌÐò
©¦ ©¦ ©¸…/ ͨ³£Ê¹Óõ¥¶ÀÎļþ¼Ð
©¦ ©ÀX11R6/ ͼÐνçÃæϵͳ
©¦
©Àvar/ ¶¯Ì¬Êý¾Ý
©¦
©Àtemp/ ÁÙʱÎļþ
©Àlost+found/ ´ÅÅÌÐÞ¸´Îļþ
Æô¶¯Á÷³Ì
LinuxϵͳÖ÷Ҫͨ¹ýÒÔϲ½ÖèÆô¶¯£º
1¡¢¶ÁÈ¡MBRµÄÐÅÏ¢£¬Æô¶¯Boot Manager
WindowsʹÓÃNTLDR×÷ΪBoot Manager£¬Èç¹ûÄúµÄϵͳÖа²×°¶à¸ö°æ±¾µÄWindows£¬Äú¾ÍÐèÒªÔÚNTLDRÖÐÑ¡ÔñÄúÒª½øÈëµÄϵͳ¡£
Linuxͨ³£Ê¹Óù¦ÄÜÇ¿´ó£¬ÅäÖÃÁé»îµÄGRUB×÷ΪBoot Manager£¬ÎÒÃǽ«ÔÚÆô¶¯¹ÜÀíÕ½ÚÖÐÏòÄú½éÉÜËüµÄʹÓ÷½Ê½¡£
2¡¢¼ÓÔØϵͳÄںˣ¬Æô¶¯init½ø³Ì
init½ø³ÌÊÇLinuxµÄ¸ù½ø³Ì£¬ËùÓеÄϵͳ½ø³Ì¶¼ÊÇËüµÄ×Ó½ø³Ì¡£
3¡¢init½ø³Ì¶ÁÈ¡“/etc/inittab”ÎļþÖеÄÐÅÏ¢£¬²¢½øÈëÔ¤ÉèµÄÔËÐм¶±ð£¬°´Ë³ÐòÔËÐиÃÔËÐ춱ð¶ÔÓ¦Îļþ¼ÐϵĽű¾¡£½Å±¾Í¨³£ÒÔ“start”²ÎÊýÆô¶¯£¬²¢Ö¸ÏòÒ»¸öϵͳÖеijÌÐò¡£
ͨ³£Çé¿öÏ£¬“/etc/rcS.d/”Ŀ¼ÏµÄÆô¶¯½Å±¾Ê×Ïȱ»Ö´ÐУ¬È»ºóÊÇ“/etc/rcN.d/”Ŀ¼¡£ÀýÈçÄúÉ趨µÄÔËÐ춱ðΪ3,ÄÇôËü¶ÔÓ¦µÄÆô¶¯Ä¿Â¼Îª“/etc/rc3.d/”¡£
4¡¢¸ù¾Ý“/etc/rcS.d/”Îļþ¼ÐÖжÔÓ¦µÄ½Å±¾Æô¶¯Xwindow·þÎñÆ÷“xorg”£¬XwindowΪLinuxϵÄͼÐÎÓû§½çÃæϵͳ¡£
5¡¢Æô¶¯µÇ¼¹ÜÀíÆ÷£¬µÈ´ýÓû§µÇ¼
Ub


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

UÅÌ°²×°Linux£¬¸æ±ð¹âÅÌÁË

1¡¢½«Grub°²×°µ½uÅÌ(ͨ³£ÐèÒªÔÚLinuxÖнøÐÐ)
ÔÚUbuntu9.10Öа²×°grub2ÈçÏ£º
sudo grub-install --root-directory=/media/sdb1 /dev/sdb
##×¢½â£ºÉÏÊöÃüÁîÖеÄ·¾¶Ãû¿ÉÄܻ᲻ͬ£¨/media/sdb1ÖÐsdb1ÊÇuÅ̹ÒÔغóµÄÎļþÃû£¬ÊÓ¸÷È˵ľßÌåÇé¿ö¶ø¶¨£©
 
2¡¢´ÓÍøÉÏÏÂÔØÁ½¸öÎļþvmlinuzºÍinitrd.gz
##Äã»á·¢ÏÖÆäʵÔÚÄãËù ......

linux½ø³Ì¿ØÖÆ£­execϵÁÐ execϵͳµ÷ÓÃ

linux½ø³Ì¿ØÖÆ£­execϵÁР˵ÊÇexecϵͳµ÷Óã¬Êµ¼ÊÉÏÔÚLinuxÖУ¬²¢²»´æÔÚÒ»¸öexec()µÄº¯ÊýÐÎʽ£¬execÖ¸µÄÊÇÒ»×麯Êý£¬Ò»¹²ÓÐ6¸ö£¬·Ö±ðÊÇ£º #include <unistd.h>
int execl(const char *path, const char *arg, ...);
int execlp(const char *file, const char *arg, ...);
int execle(const char *path, const char ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ