linuxÏÂsvnµÄÅäÖ÷½·¨
1¡¢yum install subversion # °²×°svn×é¼þ
°²×°³É¹¦Ö®ºó£¬¿ÉÒÔ¿´µ½ÈçÏÂÏà¹ØµÄÃüÁî±»Éú³É£º
[flykobe@localhost svnclient]$ svn
svn svnadmin svndumpfilter svnlook svnserve svnsync svnversion
2¡¢Éú³Ésvn²Ö¿â
svnadmin create /var/svnrepos
[flykobe@localhost svnrepos]$ ls -R
.:
conf dav db format hooks locks README.txt
./conf:
authz passwd svnserve.conf
./dav:
./db:
current format fs-type revprops revs transactions uuid write-lock
./db/revprops:
0
./db/revs:
0
./db/transactions:
./hooks:
post-commit.tmpl post-revprop-change.tmpl pre-commit.tmpl pre-revprop-change.tmpl start-commit.tmpl
post-lock.tmpl post-unlock.tmpl pre-lock.tmpl pre-unlock.tmpl
./locks:
db.lock db-logs.lock
ÐÞ¸ÄconfϵÄÎļþ£º
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the file's location is relative to the conf
### directory. If you don't specify an authz-db, no path-based access
### control is done.
### Uncomment the line below to use the default authorization file.
authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
realm = My First Repository&nbs
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ¡£Ã¿¸öÓû§µÇ¼ϵͳºó£¬¶¼»áÓÐÒ»¸öרÓõÄÔËÐл·¾³¡£Í¨³£Ã¿¸öÓû§Ä¬ÈϵĻ·¾³¶¼ÊÇÏàͬµÄ£¬Õâ¸öĬÈÏ»·¾³Êµ¼ÊÉϾÍÊÇÒ»×é»·¾³±äÁ¿µÄ¶¨Òå¡£Óû§¿ÉÒÔ¶Ô×Ô¼ºµÄÔËÐл·¾³½øÐж¨ÖÆ£¬Æä·½·¨¾ÍÊÇÐÞ¸ÄÏàÓ¦µÄϵͳ»·¾³±äÁ¿¡£
³£¼ûµÄ»·¾³±äÁ¿
¶ÔÓÚPATHºÍHOMEµÈ»·¾³±äÁ¿´ó¼Ò¶¼²»Ä°Éú¡£³ý´ËÖ®Í⣬»¹ÓÐÏÂÃæÒ»Ð©³ ......
½ø³Ì¹ÜÀíº¯Êý
pid_t getpid();·µ»Øµ±Ç°½ø³ÌµÄ±êʶºÅPID
pid_t fork();´´½¨Ò»¸ö½ø³Ì¡£
pid_t vfork();Óëfork()ÏàËÆ£¬vfork±£Ö¤×Ó½ø³ÌÏÈÔËÐУ¬ÔÚËüµ÷ÓÃexec»òexitÖ®ºó¸¸½ø³Ì²Å¿ÉÄܱ»µ÷Óá£
execº¯Êý×壺ÓÃÓÚ°ÑÒ»¸öгÌÐòÔØÈëµ÷Óýø³ÌµÄÄÚ´æ¿Õ¼ä£¬À´¸Ä±ä½ø³ÌµÄÖ´ÐдúÂ룬´Ó¶øÐγÉнø³Ì¡£execve²ÅÊÇÕæÕýÒâÒåÉϵÄϵͳµ÷
ÓÃ ......
¼¸µã×¢Ò⣺
1.дʱ¸´ÖƼ¼ÊõÔÊÐí¸¸×Ó½ø³Ì¶ÁÏàͬµÄÎïÀíÒ³¡£Ö»ÒªÁ½ÕßÖÐÓÐÒ»¸öÊÔͼдһ¸öÎïÀíÒ³£¬Äں˾ͰÑÕâ¸öÒ³µÄÄÚÈÝ¿½±´µ½Ò»¸öеÄÎïÀíÒ³£¬²¢°ÑÕâ¸öеÄÎïÀíÒ³·ÖÅ䏸ÕýÔÚдµÄ½ø³Ì¡£
2.ÇáÁ¿¼¶½ø³ÌÔÊÐí¸¸×Ó½ø³Ì¹²Ïíÿ½ø³ÌÔÚÄں˵ĺܶàÊý¾Ý½á¹¹¡£
3.vfork()ϵͳµ÷Óô´½¨µÄ½ø³ÌÄܹ²ÏíÆä¸¸½ø³ÌµÄÄÚ´æµØÖ·¿Õ¼ä¡£ÎªÁË·ÀÖ¹¸¸½ø³ÌÖ ......