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

📄 allman5.ps

📁 Unix操作系统minix 2.0源码
💻 PS
📖 第 1 页 / 共 5 页
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Tue Sep 17 22:37:14 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/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def/Y{/Symbol FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(DIR)S902(\()S944(5)S1002(\))S2696(Eighth)S(Edition)296 2989 A4945(DIR)S5127(\()S5169(5)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(dir)S10 R-11217(-)S10 R1299(directory)S(layout)251 1688 A1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(#include)S1482(<sys/types.h>)S1488 V1080(#include)S1482(<sys/dir.h>)S1656 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)S1776 V10 R1080(The)S1290(directories)S1769(of)S1906(the)S2082(V1)S2258(and)S2456(V2)S2632(\256le)S2815(systems)S3187(are)S3365(arrays)S3666(of)S3804(the)S3981(following)S4426(structure)S4833(de\256ned)S5183(in)S1896 V1080(<sys/dir.h>:)S2064 V1080(struct)S1329(direct)S1584({)S2184 V(ino_t)206 1330 A2080(d_ino;)S2830(/*)S(I-node)263 2933 A3221(number)S3553(*/)S2304 V1330(char)S(d_name[14];)514 2080 A2830(/*)S2933(Name)S3199(of)S3308(up)S3433(to)S3536(14)S3661(characters)S4096(*/)S2424 V1080(};)S2592 V1080(The)S10 B1268(d_ino)S10 R1539(\256eld)S1749(is)S1847(the)S(inode)223 2001 A2255(number)S2593(of)S2708(the)S2862(\256le)S3022(named)S3322(by)S10 B3454(d_name)S10 R3795(.)S10 B3877(D_ino)S10 R4166(is)S4265(zero)S4471(if)S4565(the)S4720(directory)S5116(slot)S2712 V1080(isn't)S1291(allocated.)S1737(This)S1947(number)S2285(is)S2383(the)S2537(same)S2775(as)S10 B2890(st_ino)S10 R3178(returned)S3545(by)S10 B3676(stat)S10 R3833(\(2\))S3982(unless)S4264(the)S4418(entry)S4656(is)S(mounted)351 4754 A5136(on.)S2832 V10 B1080(D_name)S10 R1464(is)S1557(the)S1706(name)S1951(of)S2062(up)S2189(to)S2294(14)S2421(characters,)S2883(null-terminated)S3531(only)S3736(if)S3825(less)S4003(then)S4203(14)S4330(in)S4435(length.)S4763(Any)S4963(charac-)S2952 V1080(ter)S1212(other)S1444(than)S1642(null)S1823(or)S1932(')S10 B1966(/)S10 R1994(')S2053(is)S2145(allowed.)S3120 V1080(See)S10 B(directory)398 1255 A10 R1653(\(3\))S1800(for)S1947(a)S2021(portable)S2380(way)S2577(to)S(access)258 2685 A2973(directories,)S3454(Minix)S3729(is)S3826(probably)S4213(the)S4366(last)S4536(system)S4845(with)S5054(these)S3240 V1080(old)S1233(V7)S1381(format)S1675(directories.)S3408 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S3528 V10 B(directory)398 1080 A10 R1478(\(3\).)S3696 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S3816 V10 R1080(Kees)S1307(J.)S1396(Bot)S1566(\(kjb@cs.vu.nl\))S7903 V720(Page)S941(1)S4455(September)S4911(17,)S(1996)200 5061 A8143 VEP%%Page: 1 2BP/slant 0 def/height 0 def480 V10 R720(ETHERS)S1110(\()S1152(5)S1210(\))S2696(Eighth)S(Edition)296 2989 A4737(ETHERS)S5127(\()S5169(5)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(ethers)S10 R-11346(-)S10 R1428(ethernet)S1778(address)S2105(to)S2208(hostname)S2618(database)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(/etc/ethers)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 R1080(The)S1281(ethers)S1566(database)S1957(translates)S2382(ethernet)S2751(addresses)S3181(to)S3303(hostnames)S3772(for)S3935(use)S4114(by)S4259(the)S4427(RARP)S4735(daemon)S5098(\(see)S1776 V10 B1080(rarpd)S10 R1332(\(8\).\))S10 B1559(/etc/ethers)S10 R2028(may)S(look)178 2226 A2429(like)S2605(this:)S1944 V1440(0:0:c0:a:77:23)S2440(darask)S2064 V1440(0:0:c0:a:68:ce)S2440(burask)S2232 V1080(The)S1266(six)S1412(octet)S1637(ethernet)S1991(numbers)S2366(must)S2590(be)S2714(entered)S3040(as)S3153(shown)S(above,)265 3444 A3738(the)S3890(hex)S4064(constants)S4468(must)S4693(use)S4857(lowercase)S2352 V1080(letters)S1352(and)S1522(may)S1720(not)S1873(have)S2088(leading)S2409(zeros.)S2697(Comments)S3157(are)S3306(marked)S3633(with)S3837('#'.)S2520 V1080(See)S10 B1251(rarpd)S10 R1503(\(8\))S1646(on)S1771(why)S(you)150 1969 A(shouldn't)379 2144 A2548(list)S2696(Sun)S2877(hosts)S3108(in)S3211(this)S3381(\256le.)S2688 V9 R720(F)S722(FI)S774(IL)S807(LE)S865(ES)S923(S)S2808 V10 R1080(/etc/ethers)S1830(Ethernet)S2197(addresses)S2608(database.)S2976 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S3096 V10 B1080(hosts)S10 R1298(\(5\),)S10 B1466(rarpd)S10 R1718(\(8\),)S10 B1886(boot)S10 R2076(\(8\).)S3264 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S3384 V10 R1080(Kees)S1307(J.)S1396(Bot)S1566(\(kjb@cs.vu.nl\))S7903 V720(Page)S941(1)S4455(September)S4911(17,)S(1996)200 5061 A8143 VEP%%Page: 1 3BP/slant 0 def/height 0 def480 V10 R720(FSTAB)S1042(\()S1084(5)S1142(\))S2696(Eighth)S(Edition)296 2989 A4805(FSTAB)S5127(\()S5169(5)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(fstab,)S1326(mtab)S10 R-11552(-)S10 R1634(list)S1782(of)S1891(\256le)S2045(systems)S2388(to)S(mount,)281 2491 A(mounted)351 2797 A3173(\256le)S3327(system)S3631(table.)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(/etc/fstab)S1608 V1080(/etc/mtab)S1776 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)S1896 V10 B1080(/etc/fstab)S10 R1502(is)S1598(a)S1672(table)S1897(of)S2010(\256le)S2168(system)S2476(to)S(mount)256 2583 A2868(at)S(boot)178 2970 A3177(time,)S10 B3411(/etc/mtab)S10 R3845(is)S3942(a)S4017(table)S4243(of)S4357(currently)S(mounted)351 4751 A5132(\256le)S2016 V1080(systems)S1423(as)S1532(maintained)S2004(by)S10 B2129(mount)S10 R2434(and)S10 B2604(umount)S10 R2940(.)S2184 V10 B1080(/etc/fstab)S10 R1502(is)S1598(not)S1755(read)S1958(by)S10 B2087(mount)S10 R2396(as)S2509(it)S(should)267 2594 A2890(be.)S3065(It)S3157(is)S3254(instead)S3569(a)S3644(simple)S3942(shell)S4162(script)S4416(listing)S4697(the)S4850(three)S5082(dev-)S2304 V1080(ices)S1265(that)S1444(Minix)S1717(needs)S1974(to)S2080(operate:)S2458(The)S2643(device)S2934(names)S3219(of)S3331(the)S3482(root)S3672(\256le)S3829(system,)S4160(the)S4310(temporary)S4751(\(scratch\))S5132(\256le)S2424 V1080(system,)S1409(and)S1579(the)S1727(\256le)S1882(system)S2187(for)S10 B2331(/usr)S10 R2499(.)S2575(Of)S2708(these)S2941(only)S3145(the)S3294(/usr)S3471(\256le)S3626(system)S3931(is)S(mounted)351 4024 A4401(in)S10 B4505(/etc/rc)S10 R4775(,)S4826(the)S4975(scratch)S2544 V1080(\256le)S1234(system)S1538(is)S1630(there)S1857(for)S2000(the)S2148(system)S2452(administrator)S3014(to)S3117(test)S3282(new)S3475(kernels,)S3816(or)S3925(as)S4034(a)S4104(temporary)S4543(\256le)S4697(system.)S2712 V10 B1080(/etc/mtab)S10 R1509(contains)S1869(lines)S2084(of)S2193(four)S2386(\256elds.)S2679(The)S(layout)251 2861 A3137(is:)S2952 V10 B1440(device)S(directory)398 1940 A2590(type)S2990(options)S3120 V10 R1080(These)S1346(\256elds)S1589(may)S1787(be)S1907(explained)S2323(as)S2432(follows:)S3360 V10 B1080(device)S3480 V10 R1440(A)S1538(block)S1786(special)S2091(device.)S3720 V10 B(directory)398 1080 A3840 V10 R(Mount)267 1440 A1732(point.)S4080 V10 B1080(type)S4200 V10 R1440(Either)S10 B1712(1)S10 R1762(,)S1812(or)S10 B1921(2)S10 R1971(,)S2021(indicating)S2448(a)S2518(V1)S2666(or)S2775(V2)S2923(\256le)S3077(system.)S4440 V10 B1080(options)S4560 V10 R1440(Either)S10 B1712(ro)S10 R1807(,)S1857(or)S10 B1966(rw)S10 R2084(,)S2134(indicating)S2561(a)S2631(read-only)S3042(or)S3151(read-write)S(mounted)351 3592 A3968(\256le)S4122(system.)S4728 V9 R720(F)S722(FI)S774(IL)S807(LE)S865(ES)S923(S)S4848 V10 B1080(/etc/fstab)S10 R1830(Shell)S2062(script)S2311(naming)S2637(three)S2864(important)S3280(\256le)S3434(systems.)S5016 V10 B1080(/etc/mtab)S10 R1830(List)S2012(of)S(mounted)351 2121 A2497(\256le)S2651(systems.)S5184 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S5304 V10 B1080(printroot)S10 R1478(\(8\),)S10 B1646(mount)S10 R1926(\(1\),)S10 B2094(fsck)S10 R2268(\(1\),)S10 B2436(mkfs)S10 R2649(\(1\).)S5472 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S5592 V10 B1080(/etc/fstab)S10 R1498(is)S1590(a)S1660(joke.)S5760 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S

⌨️ 快捷键说明

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