LinuxÉÏautofsÅäÖü°Æä˵Ã÷....
°æÈ¨ÉùÃ÷£ºÔ´´×÷Æ·£¬ÔÊÐí×ªÔØ£¬×ªÔØÊ±ÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕ Ôʼ³ö´¦ ¡¢×÷ÕßÐÅÏ¢ºÍ±¾ÉùÃ÷¡£·ñÔò½«×·¾¿·¨ÂÉÔðÈΡ£http://blog.csdn.net/Neverland2012
ÎÒÃǾ³£»áÈ¥ÏÂÔØ±ðµÄ·þÎñÆ÷ÉϵĶ«Î÷..»òÕß¹ÒÔØ±¾µØµÄĿ¼µ½Ò»ÁíÒ»¸öĿ¼Ö÷ҪΪÁË·ÃÎÊÆðÀ´·½±ã·¾¶ÈÝÒ×¼Çס.Õâ¸ö·þÎñÖ÷ÒªÓÐÁ½¸öÅäÖÃÎļþÒ»¸öÊÇ/etc/auto.master.Õâ¸öÎļþ¶¨ÒåÁ˹ÒÔØµÄ¹ÒÔØµãºóÃæ½ô¸ú×Åmount¶¯×÷...ÁíÒ»¸öÊÇ/etc/auto.misc,Õâ¸öÎļþ¶¨Òå¹ÒÔØµÄµØ·½ÒÔ¼°±»¹ÒÔÚµÄĿ¼.´ËĿ¼¿ÉÒÔÊÇÔ¶³Ì·þÎñÆ÷ÉϵÄĿ¼Ҳ¿ÉÒÔÊDZ¾µØÄ¿Â¼.....ÎÒÃÇ¿ÉÒÔ¼ä½ÓÀ´½øÐÐÓ³ÉäÔ¶³Ì»úÆ÷ÉϵÄĿ¼µ½±¾»ú,Ò²¿ÉÖ±½ÓÓ³Éä±¾µØµÄĿ¼...
ÏÂÃæÎÒÀ´¸ø´ó¼ÒÏêϸ½²½â¼ä½ÓÓ³ÉäÔ¶³Ì»úÆ÷Ŀ¼µ½±¾µØµÄĿ¼.......ÏÈ¿´¿´¿´/etc/auto.masterµÄÅäÖÃÎļþ
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
/myfiles /etc/auto.home # /myfiles¶¨ÒåÁËmountµÄ¹ÒÔØµã.¶ø/etc/auto.home¶¨ÒåÁËmountµÄ¶¯×÷./etc/auto.home±¾Éí²»´æÔÚ¿ÉÒÔ×Ô¼º´´½¨..
/myftp /etc/auto.misc # ͬÀí/myftp¶¨ÒåÁËmountµÄ¹ÒÔØµã¶ø/etc/auto.misc¶¨ÒåÁËmountµÄ¶¯×÷..
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the inc
Ïà¹ØÎĵµ£º
Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼£º³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌâ¶¼ÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎÏÞÖÆÊ¹ÓÃÕß ......
ǶÈëʽLinux²Ù×÷ϵͳѧϰ¹æ»®
ARM+LINUX·Ïߣ¬Ö÷¹¥Ç¶ÈëʽLinux²Ù×÷ϵͳ¼°ÆäÉÏÓ¦ÓÃÈí¼þ¿ª·¢Ä¿±ê£º
£¨1£© ÕÆÎÕÖ÷Á÷ǶÈëʽ΢´¦ÀíÆ÷µÄ½á¹¹ÓëÔÀí£¨³õ²½¶¨Îªarm9£©
£¨2£© ±ØÐëÕÆÎÕÒ»¸öǶÈëʽ²Ù×÷ϵͳ £¨³õ²½¶¨Îªuclinux»òlinux,°æ±¾´ý¶¨£©
£¨3£© ±ØÐëÊìϤǶÈëʽÈí¼þ¿ª·¢Á÷³Ì²¢ÖÁÉÙ×öÒ ......
×ªÔØ×Ô£ºhttp://www.91linux.com/html/article/go/20090205/15634.html
bin = BINaries £¨binary)
/dev = devices
/etc = ETCetera
etcetera¸½¼ÓµÄÈË, ¸½¼ÓÎï, ÒÔ¼°ÆäËü, µÈµÈ
/lib = LIBrary
/proc = PROCesses
/sbin
= Superuser BINaries
/tmp = TeMPorary
/usr = Unix Shared
Resources
/var = ......
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */
#define ESRCH&nbs ......
#include
#include
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
void *thread1(void *);
void *thread2(void *);
int i=1;
main(void)
{
pthread_t t_a;
pthread_t t_b;
pthread_create(&t_a,NULL,thread1,(void *)NULL) ......