linuxϵÄnfs·þÎñÅäÖÃ
1¡¢NFS·þÎñÆ÷¶ËÓë¿Í»§¶ËµÄ°²×°£º
sudo apt-get install nfs-kernel-server nfs-common portmap
2¡¢ÅäÖÃportmap
Á½ÖÖ·½·¨ÈÎÑ¡Ò»Ö־ͿÉÒÔ£º
sudo emacs /etc/default/portmap
È¥µô -i 127.0.0.1
3¡¢ÅäÖùÒÔØĿ¼ºÍȨÏÞ
vim /etc/exports
ÔÚ¸ÃÅäÖÃÎļþϼÓÈ룺
/home/nfsboot *(rw,sync)
½âÊÍһϣº
4¡¢¸üÐÂexportsÎļþ
sudo exportfs -r
5¡¢ÖØÆôNFS·þÎñ
sudo /etc/init.d/nfs-kernel-server restart ÖØÆônfs·þÎñ
6¡¢½øÐвâÊÔ
³¢ÊÔһϹÒÔر¾µØ´ÅÅÌ(ÎÒµÄlinuxϵͳIPΪ202.198.137.18£¬½«/home/nfsboot¹ÒÔص½/mnt)
$ sudo mount 202.198.137.18:/home/nfsboot /mnt
ÔËÐÐ $ df ¿´¿´½á¹û
$ sudo umount /mnt
5¡¢Ç¶ÈëʽϵͳÖÐʹÓÃNFS·þÎñ¹ÒÔØ£¨À´×ÔÍøÉÏ£©
ǶÈëʽҪmount µÄʱºò ʹÓÃ
mount -o nolock 192.168.1.99:/armnfs/new8120 /mnt/net
×¢£ºÔÚÄں˵ÄÅäÖÃÀïÃæµÄ
Networking options --->Ñ¡ÏîÖÐ
ÆôÓÃ TCP/IP networking
ÆôÓÃIP: kernel level autoconfiguration
General setup ---> Ñ¡ÏîÖÐ £¬
Default kernel command string£º £¨Ä¬ÈϵÄÄÚºËÃüÁîÐУ©
¼ÓÈëÂÌÉ«×ÖÖеÄ×Ö·û
root=/dev/nfs rw nfsroot=192.168.1.99:/armnfs/ ip=192.168.1.201 init=/linuxrc console=ttyS0
File system ---> Network File System --->Ñ¡Ïî
ÆôÓÃ NFS file system support
ÆôÓÃ Provide NFSv3 client support
ÆôÓÃ Root file system on NFS
ÔÎÄ£ºhttp://blog.csdn.net/SpringBuilder/archive/2008/11/18/3326684.aspx
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
/* Ëûͨ¹ýÖ»¸´ÖÆÄÚ´æÒ³ÃæÀ´¸´ÖÆÒ»¶¨·¶Î§ÄÚµÄÏßÐÔµØÖ·µÄÄÚÈÝ*/
00150int copy_page_tables(unsigned long from,unsigned long to,long size)
00151 {
00152 unsigned long * from_page_table;
00153 unsigned long * to_page_table;
00154 un ......
topÃüÁîÊÇLinuxϳ£ÓõÄÐÔÄÜ·ÖÎö¹¤¾ß£¬Äܹ»ÊµÊ±ÏÔʾϵͳÖи÷¸ö½ø³ÌµÄ×ÊÔ´Õ¼ÓÃ×´¿ö£¬ÀàËÆÓÚWindowsµÄÈÎÎñ¹ÜÀíÆ÷¡£ÏÂÃæÏêϸ½éÉÜËüµÄʹÓ÷½·¨¡£
top - 01:06:48 up 1:22, 1 user, load average: 0.06, 0.60, 0.48
Tasks: 29 total, 1 running, 28 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3% us, 1.0% sy, 0.0% ni, 98 ......
½ø³Ì¹ÜÀíº¯Êý
pid_t getpid();·µ»Øµ±Ç°½ø³ÌµÄ±êʶºÅPID
pid_t fork();´´½¨Ò»¸ö½ø³Ì¡£
pid_t vfork();Óëfork()ÏàËÆ£¬vfork±£Ö¤×Ó½ø³ÌÏÈÔËÐУ¬ÔÚËüµ÷ÓÃexec»òexitÖ®ºó¸¸½ø³Ì²Å¿ÉÄܱ»µ÷Óá£
execº¯Êý×壺ÓÃÓÚ°ÑÒ»¸öгÌÐòÔØÈëµ÷Óýø³ÌµÄÄÚ´æ¿Õ¼ä£¬À´¸Ä±ä½ø³ÌµÄÖ´ÐдúÂ룬´Ó¶øÐγÉнø³Ì¡£execve²ÅÊÇÕæÕýÒâÒåÉϵÄϵͳµ÷
ÓÃ ......