⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 synctree.1

📁 操作系统设计与实现源码
💻 1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:04:33 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne   { exch newdict 3 1 roll put }   { pop pop } % Ignore FID   ifelse} forallnewdict begin/Encoding  tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval  cvn load  def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(SYNCTREE)S1250(\()S1292(1)S1350(\))S2696(Eighth)S(Edition)296 2989 A4597(SYNCTREE)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(synctree)S10 R-11441(-)S10 R1523(synchronize)S2034(directory)S2423(trees.)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B(synctree)359 1080 A10 R1477([)S10 B-11511(-)S10 B1568(iuf)S10 R1686(])S1758([[)S10 I1826(user1)S10 R2049(@])S10 I2176(machine1)S10 R2567(:])S10 I2629(dir1)S10 R2834([[)S10 I2902(user2)S10 R3125(@])S10 I3252(machine2)S10 R3643(:])S10 I3705(dir2)S1536 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1656 V10 B(Synctree)376 1080 A10 R1494(synchronizes)S2057(the)S2218(directory)S2620(tree)S2810(rooted)S3105(at)S10 I3216(dir2)S10 R3421(with)S10 I3639(dir1)S10 R3806(.)S3870(It)S3971(walks)S4245(recursively)S(through)312 4732 A5083(both)S1776 V1080(trees,)S1322(and)S1493(deletes)S1799(and)S1970(adds)S2179(\256les)S2372(in)S10 I2475(dir2)S10 R2667(to)S2770(make)S3013(it)S3094(equal)S3337(to)S10 I3440(dir1)S10 R3607(.)S3657(Mode,)S3941(owner)S4218(and)S(group)234 4388 A4647(are)S4796(set)S4933(for)S(each)185 5076 A1896 V1080(\256le)S1234(unless)S1510(the)S10 B-11658(-)S10 B1715(u)S10 R1796(\257ag)S1972(is)S2064(given.)S2337(In)S2446(its)S2566(normal)S2876(mode)S3124(of)S3234(operation,)S3665(synctree)S(will)157 4027 A4210(ask)S4370(if)S4458(it)S4540(may)S4739(delete)S5006(or)S5116(add)S2016 V1080(directories)S1537(assuming)S1947(that)S(you)150 2129 A(don't)212 2310 A2553(want)S2780(to.)S2914(Non-directories)S3578(are)S3733(simply)S4037(deleted)S4358(or)S4472(added,)S4767(but)S4925(synctree)S2136 V(will)157 1080 A1277(ask)S1451(if)S1554(it)S1651(needs)S1921(to)S(update)268 2040 A2349(a)S2435(normal)S2761(\256le)S2931(with)S3151(a)S3237(default)S3558(answer)S3885(of)S4010('y'.)S4194(Simply)S4525(typing)S4822(return)S(will)157 5104 A2256 V(choose)279 1080 A1394(the)S1552(default)S1867(answer,)S2213(typing)S2504(end-of-\256le)S2965(is)S3067(like)S3253(typing)S3544(return)S3820(to)S3933(this)S4113(question)S4488(and)S4667(all)S4802(other)S5043(ques-)S2376 V1080(tions.)S2544 V1080(You)S1283(can)S1453(specify)S1774(a)S1849(hostname)S2264(and)S2439(user-id)S2749(to)S2857(be)S2983(used)S3198(to)S(access)258 3307 A10 I3596(dir1)S10 R3794(or)S10 I3909(dir2)S10 R4076(.)S4157(Synctree)S(will)157 4541 A4729(use)S10 B4894(rsh)S10 R5034(\(1\))S5183(to)S2664 V1080(run)S1246(a)S(copy)195 1323 A1550(of)S1666(itself)S1900(on)S2032(the)S2187(remote)S2499(machine.)S2922(The)S3110(call)S(interface)354 3287 A3672(mimics)S3999(that)S4181(of)S10 B4296(rcp)S10 R4442(\(1\),)S4616(but)S(you)150 4775 A4956(can)S5127(use)S2784 V1080(more)S1312(than)S1510(one)S1680(user@machine)S2307(pre\256x)S2567(if)S(you)150 2654 A2829(want)S3050(to)S3153(make)S3396(things)S3666(really)S3921(interesting.)S2952 V1080(Hard)S1307(links)S1527(are)S1677(enforced,)S2081(an)S(update)268 2202 A2496(is)S(done)195 2589 A2810(by)S2936(\256rst)S3119(deleting)S3469(the)S3618(old)S3772(\256le)S3927(so)S4042(that)S4219(links)S4440(to)S(unknown)373 4544 A4943(\256les)S5137(are)S3072 V1080(broken.)S1434(Links)S1688(to)S1791(\256les)S1984(within)S10 I2266(dir2)S10 R(will)157 2458 A2640(be)S2760(restored.)S3240 V1080(If)S1176(either)S1434(directory)S1826(contains)S2189(the)S2340(\256le)S10 B(.backup)344 2497 A10 R2841(,)S2894(then)S3095(this)S3268(\256le)S(will)157 3425 A3610(be)S3733(used)S3945(as)S4057(an)S4180(alternate)S(inode)223 4556 A4807(table.)S5082(This)S3360 V1080(allows)S1375(one)S1552(to)S1662(make)S1911(a)S(backup)290 1987 A(copy)195 2308 A2534(of)S2649(a)S2725(\256le)S2885(tree)S3068(full)S3239(of)S3354(special)S3665(\256les)S3864(and)S4040(differing)S4424(user-ids)S4774(on)S4905(a)S4981(remote)S3480 V1080(machine)S(under)229 1446 A1700(an)S(unpriviledged)558 1820 A2403(user-id.)S3648 V9 R720(O)S722(OP)S790(PT)S842(TI)S900(IO)S933(ON)S1001(NS)S1069(S)S3768 V10 B-11080(-)S10 B1137(i)S10 R1330(Ask)S1517(for)S1660(permission)S2126(\(with)S2364(default)S2669(answer)S2980('n'\))S3157(to)S3260(delete)S3526(or)S3635(add)S3805(any)S3975(\256le)S4129(or)S4238(directory.)S3936 V10 B-11080(-)S10 B1137(u)S10 R1330(Only)S1556(install)S1827(newer)S2099(\256les,)S2317(i.e.)S2465(merge)S2742(the)S2890(directory)S3279(trees.)S4104 V10 B-11080(-)S10 B1137(f)S10 R1330(Don't)S1590(ask,)S1774(think)S2005('yes')S2232(on)S2357(any)S2527(question.)S4272 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S4392 V10 B1080(remsync)S10 R1444(\(1\),)S10 B1612(cpdir)S10 R1842(\(1\),)S10 B2010(rsh)S10 R2150(\(1\),)S10 B2318(rcp)S10 R2464(\(1\),)S10 B(perror)286 2632 A10 R2918(\(3\).)S4560 V9 R720(D)S722(DI)S790(IA)S823(AG)S891(GN)S959(NO)S1027(OS)S1095(ST)S1147(TI)S1205(IC)S1238(CS)S1300(S)S4680 V10 R1080(Messages)S1505(may)S1712(come)S1964(from)S2194(three)S2430(different)S2812(processes.)S3282(One)S3484(named)S3786("Slave")S(running)312 4126 A4473(in)S10 I4586(dir1)S10 R4753(,)S4813(one)S4993(named)S4800 V1080("Master")S(running)312 1479 A1828(in)S10 I1943(dir2)S10 R2110(,)S2172(and)S2354(synctree)S2727(itself)S2966(in)S3081(a)S3162(mediator)S3556(role.)S3799(The)S3992(mediator)S(will)157 4386 A4579(also)S4777(perform)S5138(the)S4920 V1080(task)S1270(of)S1382(either)S1640(the)S1791(master)S2088(or)S2200(the)S2351(slave)S2586(if)S2676(one)S2849(of)S2961(them)S3191(is)S(running)312 3287 A3628(locally.)S3981(You)S4183(need)S4402(to)S(know)223 4509 A4761(this)S4935(to)S5042(inter-)S5040 V1080(pret)S1264(the)S1414(error)S1638(messages)S2045(coming)S2373(from)S2596(one)S2767(of)S2877(these)S3110(processes.)S3572(The)S3755(messages)S4161(are)S4311(normally)S4700(based)S4955(on)S10 B5081(per-)S5160 V1080(ror)S10 R1220(\(3\).)S1415(Failure)S1728(to)S1833(contact)S2151(a)S2223(remote)S2531(machine)S(will)157 2900 A3085(be)S3208(reported)S3572(by)S10 B3700(rsh)S10 R3840(.)S10 B(Synctree)376 3918 A10 R(should)267 4322 A4617(have)S4835(a)S4908(zero)S5110(exit)S5280 V1080(status)S1334(if)S1421(no)S1546(errors)S1807(have)S2022(been)S(encountered.)517 2237 A5448 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S5568 V10 R1080(Directory)S10 I1492(dir2)S10 R(will)157 1684 A1866(be)S1986(created)S(without)307 2303 A2635(asking.)S5736 V1080(The)S1262(master)S1556(and)S1726(slave)S1958(processes)S2369(get)S2517(their)S2727(error)S2949(output)S3230(mixed)S3506(up)S3631(sometimes)S4086(\(nice)S4313(puzzle\).)S5904 V1080(The)S1262(local)S1483(and)S1653(remote)S1958(machine)S2324(must)S2544(use)S2703(the)S2851(same)S3083(\256le)S3237(type)S3435(encoding.)S6072 V1080(The)S1268(link)S(replacement)493 1455 A1979(strategy)S2329(may)S2534(lead)S2734(to)S2844(lack)S3044(of)S(space)224 3160 A3416(on)S3548(a)S3625(small)S3875(device.)S4220(Let)S10 B(synctree)359 4387 A10 R4778(run)S4944(to)S5054(com-)S6192 V1080(pletion)S1384(and)S1554(then)S1752(rerun)S1990(it)S2071(to)S2174(pick)S2372(up)S2497(the)S(pieces.)277 2645 A6360 V(Letting)291 1080 A1396(the)S1544(local)S1765(process)S2092(keep)S2307(its)S2427("synctree")S2870(name)S3113(may)S3311(be)S3431(a)S3501(mistake.)S6528 V1080(It)S1167(talks)S1382(too)S1535(much.)S6696 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S6816 V10 R1080(Kees)S1307(J.)S1396(Bot,)S1591(\(kjb@cs.vu.nl\))S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -