Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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  

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 


Ïà¹ØÎĵµ£º

¹ØÓÚLinuxµÄÊÓÆµ±à³Ì(v4l2±à³Ì)

ǰÑÔ£º
ĿǰÕýÔÚæÓÚARMƽ̨µÄLinuxÓ¦ÓóÌÐòµÄ¿ª·¢£¨ÆäʵÊÇ¸Õ¸ÕÆð²½Ñ§Ï°À²£©¡£µ×²ãµÄ¶«Î÷²»Óÿ¼ÂÇÁË£¬¿ª·¢°å×ÓÌṩÁËNAND Bootloader£¬ºÍLinux 2.6µÄÔ´Â룬¶øÇÒ¶¼±àÒëºÃÁË¡£×Ô¼º±àÒëµÄbootloader¿ÉÒÔÓ㬵«ÊÇLinux±àÒëºó£¬ÎļþºÜ´ó£¬ÔÝÇÒ¾ÍÓÃÈ˼ұàÒëµÄϵͳ£¬ÏÈרÐÄдӦÓóÌÐò °É¡£¡£
ÕýÎÄ£ºÒª×öµÄÈÎÎñÊÇ£¬°ÑÒ»¿é°å×ÓÉ쵀 ......

redhat enterprise linux5.4 °²×° oracle 11g R2

Ò»£¬Ó²¼þÅäÖÃ×îµÍÒªÇó£º
32루X86£©£º
¸öÈËÈÏΪÖÁÉÙ1GÄڴ棨linux ÉÏ512M ¿ÉÒÔ£¬µ«Ì«¹ýÓÚÃãÇ¿ÁË£¬ÄÇÑùÈÝÒ×ËÀ»ú»ò¿¨×¡²»¶¯£¬»áÈÃÈË×¥¿ñµÄ;
windows 512M µÄ¿Ï¶¨²»ÐУ©

10GµÄ¿ÉÓô ......

linux daemonº¯Êý

#include <unistd.h>
int daemon(int nochdir,int noclose)
ÔÚ´´½¨¾«Áé½ø³ÌµÄʱºò,ÍùÍùÐèÒª½«¾«Áé½ø³ÌµÄ¹¤×÷Ŀ¼ÐÞ¸ÄΪ"/"¸ùĿ¼
²¢ÇÒ½«±ê×¼ÊäÈë,Êä³öºÍ´íÎóÊä³öÖØ¶¨Ïòµ½/dev/null
daemonµÄ×÷ÓþÍÊǵ±²ÎÊýnochdirΪ0ʱ,½«¸ùĿ¼ÐÞ¸ÄΪ¹¤×÷Ŀ¼
nocloseΪ0ʱ,×öÊäÈë,Êä³öÒÔ¼°´íÎóÊä³öÖØ¶¨Ïòµ½/dev/null
Ö´ ......

Linux Shell±à³Ì(»ù´¡½Ì³Ì)


±¾ÎÄÍøÖ·:http://bbs.bitscn.com/72875 ¸´ÖÆ
1. Linux ½Å±¾±àд»ù´¡
1.1 Óï·¨»ù±¾½éÉÜ
1.1.1 ¿ªÍ·
       ³ÌÐò±ØÐëÒÔÏÂÃæµÄÐпªÊ¼£¨±ØÐë·ÅÔÚÎļþµÄµÚÒ»ÐУ©£º 
       #!/bin/sh 
¡¡   ·ûºÅ#!ÓÃÀ´¸æËßϵͳËüºóÃæµÄ²ÎÊýÊÇÓÃÀ´Ö´ÐÐ ......

LinuxÄں˸ßΣ©¶´ Linuxϵͳϵͳ¿ÉÄÜÊܹ¥»÷,Ç××Ô²âÊÔ

Äں˰汾£º
Linux XOK 2.6.18-128.1.6.el5.centos.plus #1 SMP Thu Apr 2 12:53:36 EDT 2009 i686 i686 i386 GNU/Linux
ÂíÉϲâÊÔ£º
×¢Òâ²âÊÔÖпÉÄܵ¼ÖÂËÀ»ú¡£Çë²»ÒªÔÚÉú²ú»·¾³ÖвâÊÔ¡£
Èç¹ûÄãÏ£ÍûÇ×ÊÖÑéÖ¤´Ë©¶´£¬Äã¿ÉÒÔÏÂÔØÏÂÁÐÁ½¸ö´úÂë°ü²âÊÔ£¨ÓпÉÄܵ¼ÖÂϵͳ²»Îȶ¨£¬µ±»úµÈÏÖÏ󣬺ó¹û×Ô¸º£©£º
¾ÍÏÂÔØÕâ¸ö¼´¿É£ºhttp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ