%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:07:59 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 def systemdict /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 add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}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 fill gr}bind def 1 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} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont 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 } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % 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 /C{/Courier FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(DEV)S 936(\()S 978(4)S 1036(\))S 2696(Eighth)S (Edition)296 2989 A 4911(DEV)S 5127(\()S 5169(4)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R 1080(dev)S 10 R-1 1250(-)S 10 R 1332(device)S 1620(\256les)S 1813(in)S 1916(/dev)S 1248 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 1368 V 10 R 1080(Device)S 1396(\256les)S 1595(are)S 1750(the)S 1904(eyes)S 2114(and)S 2290(ears)S 2484(of)S 2599(the)S 2753(system.)S (Through)346 3113 A 3490(the)S 3644(device)S 3938(\256les)S 4137(one)S 4313(has)S (access)258 4478 A 4767(to)S 4876(the)S 5030(disks,)S 1488 V 1080(terminals)S 1487(and)S 1664(other)S 1903(parts)S 2131(of)S 2247(the)S 2402(machine.)S 2825(Single)S 3114(bytes)S 3358(or)S 3474(disk)S 3673(blocks)S 3966(may)S 4170(be)S 4296(transferred)S 4765(to)S 4874(or)S 4989(from)S 5216(a)S 1608 V 1080(device)S 1377(with)S 1590(ordinary)S 10 B 1965(read)S 10 R 2161(\(2\))S 2313(or)S 10 B 2431(write)S 10 R 2656(\(2\))S 2808(calls,)S 3052(byte)S (positions)362 3259 A 3656(set)S 3803(with)S 10 B 4017(lseek)S 10 R 4230(\(2\),)S 4408(or)S 4527(more)S 4769(complicated)S 1728 V 1080(control)S 1390(functions)S 1789(performed)S 2234(with)S 10 B 2438(ioctl\(2\).)S 1896 V 10 R 1080(Device)S 1391(\256les)S 1584(as)S (found)234 1693 A 1952(in)S 10 B 2056(/dev)S 10 R 2261(have)S 2477(several)S 2789(attributes)S 3190(that)S 3367(must)S 3588(be)S 3709(considered.)S 4221(Here)S 4444(are)S 4594(two)S 4771(examples)S 5177(as)S 2016 V 10 B 1080(ls)S 10 B-1 1172(-)S 10 B 1229(l)S 10 R 1282(shows)S 1558(them:)S 2184 V 10 C (brw-rw-rw-)610 1440 A 2172(1)S (root)244 2294 A (operator)488 2843 A 3514(2,)S 3819(1)S (Jun)183 3941 A 4185(10)S (1995)244 4429 A (fd1)183 4734 A 2304 V (crw--w----)610 1440 A 2172(1)S (kjb)183 2294 A (tty)183 2843 A 3514(4,)S 3819(0)S (May)183 3941 A 4185(11)S (09:41)305 4368 A (console)427 4734 A 2472 V 10 R 1080(Most)S 1323(attributes)S 1735(are)S 1896(the)S 2056(same)S 2300(as)S 2421(for)S 2576(a)S 2658(regular)S 2981(\256le)S 3147(and)S 3329(have)S 3556(the)S 3716(same)S 3960(function.)S 4382(The)S 4577(\256le)S 4744(type)S 4955(and)S 5138(the)S 2592 V 1080(major)S 1340(and)S 1510(minor)S 1775(device)S 2063(numbers)S 2434(are)S 2583(special)S 2888(to)S 2991(devices.)S 2760 V 1080(Character)S 1501(devices)S 1831(are)S 1983(marked)S 2313(with)S 2520(a)S 10 B 2593(c)S 10 R 2666(as)S 2778(a)S 2851(\256le)S 3008(type)S 3209(letter.)S 3495(Any)S 3696(I/O)S 3859(on)S 3987(a)S 4060(character)S 4459(device)S 4751(is)S 4847(sent)S 5038(down)S 2880 V 1080(to)S 1186(the)S 1337(device)S 1628(driver)S (without)307 1897 A 2232(any)S 2405(interpretation.)S 3026(This)S 3233(means)S 3518(that)S 3697(a)S 3770(process)S 4099(doing)S 4354(the)S 4504(I/O)S 4666(must)S (know)223 4888 A 5138(the)S 3000 V 1080(characteristics)S 1683(of)S 1792(the)S 1940(device)S 2228(and)S 2398(deal)S 2591(with)S 2795(them)S 3021(appropriately.)S 3168 V 1080(Block)S 1357(devices)S (provoke)329 1696 A 2062(the)S 2222(\256le)S 2388(system)S 2704(server)S 2988(into)S 3181(buffering)S 3593(the)S 3753(data)S 3958(on)S 4096(those)S 4346(devices.)S 4736(Data)S 4965(read)S 5177(or)S 3288 V (written)286 1080 A 1393(by)S 1520(processes)S 1933(is)S 2027(passed)S (through)312 2322 A 2661(the)S 2811(\256le)S 2967(system)S 3273(block)S (cache.)255 3523 A 3830(Unaligned)S 4276(bytes)S 4515(read)S 4715(or)S (written)286 4825 A 5137(are)S 3408 V 1080(extracted)S 1494(or)S 1622(reassembled)S 2164(by)S 2308(the)S 2475(\256le)S 2648(server)S 2939(from)S 3179(or)S 3307(to)S 3429(whole)S 3719(blocks)S 4025(in)S 4147(the)S (cache.)255 4314 A 4638(The)S 4840(\256le)S 5014(server)S 3528 V 1080(transfers)S 1455(data)S 1650(to)S 1755(or)S 1866(from)S 2089(the)S 2238(device)S 2527(driver)S 2794(as)S 2904(blocks)S 3192(to)S (positions)362 3296 A 3684(at)S 3783(block)S 4032(size)S (boundaries.)466 4215 A 4732(These)S 4999(blocks)S 3648 V 1080(are)S 1236(Minix)S 1513(blocks)S 1807(of)S (1024)200 1923 A 2155(bytes,)S 2425(disk)S 2625(devices)S 2960(usually)S 3283(have)S 3506(a)S (512)150 3584 A 3767(byte)S 3973(block)S 4229(size.)S 4469(Only)S 4703(block)S 4959(devices)S 3768 V 1080(can)S 1245(be)S (mounted)351 1365 A 1741(as)S 1850(part)S 2032(of)S 2141(the)S 2289(\256le)S 2443(system)S 2747(tree)S 2924(if)S 3011(they)S 3209(contain)S 3530(a)S 3600(Minix)S 3870(\256le)S 4024(system.)S 3936 V 1080(The)S 1271(major)S 1540(device)S 1837(number)S 2178(\(2)S 2296(for)S 10 B 2448(fd1)S 10 R 2622(and)S 2801(4)S 2885(for)S 10 B 3037(console)S 10 R 3350(\))S 3418(are)S 3576(used)S 3794(by)S 3928(FS)S 4074(to)S 4187(\256nd)S 4378(the)S 4536(device)S 4834(driver)S 5110(that)S 4056 V 1080(manages)S 1467(a)S 1546(device.)S 1893(The)S 2084(minor)S 2358(device)S 2655(number)S 2996(\(1)S 3114(for)S 10 B 3266(fd1)S 10 R 3440(and)S 3619(0)S 3703(for)S 10 B 3855(console)S 10 R 4168(\))S 4236(is)S 4337(passed)S 4639(to)S 4751(the)S 4908(driver)S 5183(to)S 4176 V 1080(select)S 1348(a)S 1431(device)S (among)273 1732 A 2043(a)S 2126(number)S 2471(of)S 2593(related)S 2907(devices)S 3248(that)S 3438(are)S 3601(all)S 3741(managed)S 4143(by)S 4282(that)S 4472(driver.)S 4802(The)S 4998(device)S 4296 V 1080(drivers)S 1402(are)S 1568(usually)S 1900(kernel)S 2194(tasks)S (under)229 2437 A 2708(Minix,)S 3020(small)S 3280(processes)S 3708(that)S 3900(are)S 4065(contained)S 4497(within)S 4795(the)S 4959(address)S 4416 V (space)224 1080 A 1329(of)S 1438(the)S 1586(kernel.)S 1913(The)S 2095(following)S 2511(tasks)S 2737(and)S 2907(associated)S 3346(devices)S 3673(exist:)S 4584 V 870(M)S 872(Me)S 963(em)S 1010(mo)S 1090(or)S 1142(ry)S 1178(y)S 1255(\()S 1257(\(m)S 1293(ma)S 1373(aj)S 1420(jo)S 1450(or)S 1502(r)S 1563(1)S 1565(1\))S 1617(\))S 4704 V 1080(The)S 10 B 1263(ram)S 10 R 1442(,)S 10 B 1493(mem)S 10 R 1706(,)S 10 B 1757(kmem)S 10 R 2026(,)S 2077(and)S 10 B 2249(null)S 10 R 2444(devices)S 2773(are)S 2924(managed)S 3314(by)S 3441(the)S 3591(memory)S 3953(task.)S 4192(The)S 10 B 4376(ram)S 10 R 4582(device)S 4872(is)S 4966(a)S 5038(block)S 4824 V 1080(device)S 1372(for)S 1519(a)S (chunk)245 1593 A 1867(of)S 1980(memory)S 2344(that)S 2524(is)S 2620(the)S 2772(RAM)S 3030(disk.)S 3276(Any)S 3478(byte)S 3680(read)S 3883(from)S 4108(or)S (written)286 4220 A 4534(to)S 4640(the)S 10 B 4791(ram)S 10 R 4998(device)S 4944 V 1080(is)S 1177(copied)S 1475(from)S 1701(or)S 1816(to)S 1925(that)S 2107(memory)S (chunk.)270 2473 A 2799(The)S 10 B 2987(mem)S 10 R 3231(device)S 3525(is)S 3623(a)S 3699(character)S 4101(device)S 4395(for)S 4544(the)S 4698(entire)S 4959(address)S 5064 V (space)224 1080 A 1336(of)S 1452(the)S 1607(system,)S 1943(but)S 10 B 2103(kmem)S 10 R 2404(only)S 2614(for)S 2764(the)S 2919(kernel)S 3203(data)S 3403(area.)S 3654(These)S 3927(two)S 4110(devices)S 4444(allow)S 4699(programs)S 5110(like)S 5184 V 10 B 1080(ps)S 10 R 1175(\(1\))S 1322(to)S (hunt)178 1430 A (around)279 1638 A 1947(the)S 2100(system)S (looking)306 2409 A 2745(for)S 2893(interesting)S 3348(bits.)S 3573(The)S 10 B 3760(null)S 10 R 3958(device)S 4251(is)S 4348(a)S 4423(data)S 4621(sink.)S 4868(It)S 4960(happily)S 5304 V 1080(swallows)S 1480(any)S 1650(bytes)S (written)286 1887 A 2198(to)S 2301(it,)S 2407(and)S 2577(returns)S 2882(nothing)S 3213(on)S 3338(a)S 3408(read.)S 5472 V 870(F)S 872(Fl)S 930(lo)S 960(op)S 1012(pp)S 1064(py)S 1116(y)S 1193(d)S 1195(di)S 1247(is)S 1277(sk)S 1318(k)S 1395(\()S 1397(\(m)S 1433(ma)S 1513(aj)S 1560(jo)S 1590(or)S 1642(r)S 1703(2)S 1705(2\))S 1757(\))S 5592 V 1080(The)S 10 B 1267(fd0)S 10 R 1407(,)S 10 B 1462(fd0a)S 10 R 1652(,)S 10 B 1707(fd0b)S 10 R 1903(,)S 10 B 1958(fd0c)S 10 R 2143(,)S 2198(and)S 10 B 2374(fd0d)S 10 R 2601(block)S 2855(devices)S 3188(are)S 3343(the)S 3497(\256rst)S (\257oppy)256 3685 A 3972(disk)S 4170(and)S 4346(the)S 4500(four)S (partitions)380 4699 A 5110(that)S 5712 V 1080(may)S 1279(exist)S 1495(on)S 1621(a)S 1692(that)S (\257oppy)256 1869 A 2151(disk.)S 2394(Likewise)S 2790(are)S 10 B 2940(fd1)S 10 R 3106(and)S 10 B 3277(fd1[a)S 10 B-1 3501(-)S 10 B 3558(d])S 10 R 3674(the)S 3823(device)S 4112(and)S (partitions)380 4283 A 4689(for)S 4833(the)S (second)279 4982 A 5832 V (\257oppy)256 1080 A 1386(disk.)S 1653(The)S (\257oppy)256 1860 A 2166(disk)S 2384(devices)S 2737(are)S 2912(described)S 3349(in)S 3478(detail)S 3753(in)S 10 B 3882(fd)S 10 R 3972(\(4\).)S (Partitioning)475 4191 A 4717(in)S 4846(general)S 5194(is)S 5952 V 1080(explained)S 1496(in)S 10 B 1599(hd)S 10 R 1711(\(4\).)S 6120 V 870(H)S 872(Ha)S 947(ar)S 994(rd)S 1030(d)S 1107(d)S 1109(di)S 1161(is)S 1191(sk)S 1232(k)S 1309(\()S 1311(\(m)S 1347(ma)S 1427(aj)S 1474(jo)S 1504(or)S 1556(r)S 1617(3)S 1619(3\))S 1671(\))S 6240 V 1080(The)S 1272(\256rst)S 1464(hard)S 1678(disk)S 1880(can)S 2056(be)S (accessed)353 2187 A 2576(by)S 2712(block)S 2971(device)S 10 B 3270(hd0)S 10 R 3432(.)S 3518(This)S 3733(device)S 4032(addresses)S 4454(the)S 4613(entire)S 4879(hard)S 5094(disk)S 6360 V 1080(from)S 1312(the)S 1471(\256rst)S 1664(to)S 1778(the)S 1937(last)S 2113(sector.)S 2440(A)S 2549(hard)S 2764(disk)S 2967(is)S 3069(normally)S (partitioned)436 3467 A 3938(in)S 4051(up)S 4186(to)S 4299(four)S 4502(primary)S (partitions,)405 4856 A 6480 V 10 B 1080(hd1)S 10 R 1242(,)S 10 B 1302(hd2)S 10 R 1464(,)S 10 B 1524(hd3)S 10 R 1686(,)S 1746(and)S 10 B 1926(hd4)S 10 R 2088(.)S 2173(Each)S 2410(of)S 2529(these)S 2771(devices)S (accesses)342 3108 A 3485(a)S 3565(range)S 3824(of)S 3943(sectors)S 4258(on)S 4393(the)S 10 B 4551(hd0)S 10 R 4748(device.)S 5096(It)S 5194(is)S 6600 V 1080(customary)S 1527(to)S 1633(give)S (each)185 1834 A 2047(operating)S 2455(system)S 2762(on)S 2890(a)S 2962(disk)S 3156(a)S 3228(primary)S (partition.)366 3574 A 3992(So)S 4125(the)S 4275(MS-DOS)S 4683(C:)S 4805("drive")S 5121(can)S 6720 V 1080(be)S 1202(on)S 10 B 1329(hd1)S 10 R 1491(,)S 1543(and)S 1715(Minix)S 1987(can)S 2154(be)S 2276(on)S 10 B 2403(hd2)S 10 R 2565(.)S 2642(Minix)S 2914(wants)S 3176(to)S 3281(have)S 3498(several)S (partitions)380 3811 A 4218(on)S 4345(its)S 4467(own,)S 4692(so)S 10 B 4808(hd2)S 10 R 4998(can)S 5166(be)S 6840 V 1080(further)S (subdivided)440 1390 A 1865(into)S 2056(the)S (subpartitions)519 2214 A 10 B 2768(hd2a)S 10 R 2980(,)S 10 B 3040(hd2b)S 10 R 3258(,)S 10 B 3318(hd2c)S 10 R 3525(,)S 3585(and)S 10 B 3765(hd2d)S 10 R 3983(.)S 10 B 4068(/dev)S 10 R 4281(contains)S 4650(devices)S 4986(for)S 5138(the)S 6960 V 1080(\256rst)S 1283(and)S (second)279 1474 A 1799(hard)S 2024(disk)S 2238(\()S 10 B 2272(hd0)S 10 R 2481(and)S 10 B 2673(hd5)S 10 R 2835(\))S 2916(their)S 3148(primary)S (partitions)380 3514 A 3941(\()S 10 B 3975(hd[1)S 10 B-1 4171(-)S 10 B 4228(46)S 10 B-1 4328(-)S 10 B 4385(9])S 10 R 4469(\))S 4550(and)S (subpartitions)519 4742 A 7080 V 1080(thereof)S 1391(\()S 10 B 1425(hd[1)S 10 B-1 1621(-)S 10 B 1678(46)S 10 B-1 1778(-)S 10 B 1835(9][a)S 10 B-1 2003(-)S 10 B 2060(d])S 10 R 2150(\).)S 2259(More)S 2502(detail)S 2751(can)S 2916(be)S (found)234 3036 A 3295(in)S 10 B 3398(hd)S 10 R 3510(\(4\).)S 7248 V 870(T)S 872(Te)S 936(er)S 983(rm)S 1019(mi)S 1099(in)S 1129(na)S 1181(al)S 1228(ls)S 1258(s)S 1324(\()S 1326(\(m)S 1362(mi)S 1442(in)S 1472(no)S 1524(or)S 1576(r)S 1637(4)S 1639(4\))S 1691(\))S 7368 V 1080(The)S 1271(TTY)S 1502(driver)S 1777(manages)S 2163(the)S 2320(system)S 2633(console)S 2974(device,)S 3296(aptly)S 3531(named)S 10 B 3833(console)S 10 R 4146(,)S 4205(the)S 4362(serial)S 4615(lines,)S 10 B (tty00)218 4864 A 10 R 5116(and)S 7488 V 10 B (tty01)218 1080 A 10 R 1298(,)S 1350(and)S 1522(the)S (pseudo)284 1672 A 1983(ttys.)S (Through)346 2205 A 2578(the)S 2728(console)S 3062(device)S 3352(one)S 3524(can)S 3691(display)S 4008(characters)S 4444(on)S 4570(a)S 4641(screen)S 4925(attached)S 7903 V 720(Page)S 941(1)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(DEV)S 936(\()S 978(4)S 1036(\))S 2696(Eighth)S (Edition)296 2989 A 4911(DEV)S 5127(\()S 5169(4)S 5227(\))S 960 V 1080(to)S 1194(a)S (monochrome,)555 1275 A 1866(Hercules,)S 2286(color,)S 2554(or)S (VGA)219 2674 A 2929(adapter.)S 3313(The)S 10 B 3507(ttyc1)S 10 R 3720(,)S 10 B 3782(ttyc2)S 10 R 3995(,)S 4057(etc.)S 4237(devices)S 4576(are)S 4737(the)S 4897(so-called)S 1080 V 1080("virtual)S 1410(consoles")S 1823(that)S 2000(share)S 2239(the)S 2388(one)S 2559(console)S 2892(display.)S 3258(One)S 3452(can)S 3618(select)S 3874(which)S 4146(virtual)S 4435(console)S 4767(is)S 4859(to)S 4962(be)S 5082(visi-)S 1200 V 1080(ble)S 1241(on)S 1379(the)S 1540(screen)S 1836(and)S 2019(take)S (input)206 2225 A 2469(from)S 2703(the)S (keyboard.)399 2864 A 3326(To)S 3476(allow)S 3738(remote)S 4056(login)S 4300(the)S 4462(devices)S 4803(with)S 5021(minor)S 1320 V 1080(numbers)S 1458(of)S (128)150 1574 A 1756(or)S 1872(higher)S 2160(offer)S 2388(virtual)S 2682(terminals.)S 3138(These)S (pseudo)284 3410 A 3725(ttys)S 3901(come)S 4150(in)S 4259(tty,)S 4421(pty)S 4580(pairs)S 4807(that)S 4989(form)S 5216(a)S 1440 V 1080(pipe)S 1286(between)S 1655(processes)S (running)312 2074 A (under)229 2419 A 2681(the)S 2837(tty,)S 3001(and)S 3179(a)S (controlling)441 3257 A 3732(process)S 4068(attached)S 4438(to)S 4550(the)S 4707(pty)S 4869(side.)S 5115(See)S 1560 V 1080(also)S 10 B 1267(console)S 10 R 1580(\(4\),)S 1748(and)S 10 B 1918(tty)S 10 R 2036(\(4\).)S 1728 V 870(A)S 872(An)S 947(no)S 999(on)S 1051(ny)S 1103(ym)S 1155(mo)S 1235(ou)S 1287(us)S 1339(s)S 1405(T)S 1407(TT)S 1471(TY)S 1535(Y)S 1635(\()S 1637(\(m)S 1673(ma)S 1753(aj)S 1800(jo)S 1830(or)S 1882(r)S 1943(5)S 1945(5\))S 1997(\))S 1848 V 1080(This)S 1288(is)S 1384(just)S 1558(one)S 1732(device)S 2024(named)S 10 B 2321(tty)S 10 R 2468(that)S 2648(is)S 2744(a)S (synonym)367 2818 A 3214(for)S 3361(the)S (controlling)441 3514 A 3985(tty)S 4121(of)S 4235(a)S 4310(process.)S 4692(This)S 4901(device)S 5194(is)S 1968 V 1080(not)S 1235(managed)S 1625(by)S 1752(any)S 1924(device)S 2214(driver,)S 2507(but)S 2662(is)S 2756(handled)S 3101(by)S 3228(FS)S 3367(itself.)S 3646(A)S 3745(process)S 4073(can)S 4239(get)S (access)258 4388 A 4672(to)S 4776(the)S 4925(terminal)S 2088 V 1080(it)S 1161(is)S (running)312 1253 A (under)229 1590 A 1844(by)S 1969(using)S 10 B 2211(/dev/tty)S 10 R 2536(.)S 2256 V 870(L)S 872(Li)S 936(in)S 966(ne)S 1018(e)S 1090(p)S 1092(pr)S 1144(ri)S 1180(in)S 1210(nt)S 1262(te)S 1292(er)S 1339(r)S 1400(\()S 1402(\(m)S 1438(ma)S 1518(aj)S 1565(jo)S 1595(or)S 1647(r)S 1708(6)S 1710(6\))S 1762(\))S 2376 V 1080(The)S 10 B 1262(lp)S 10 R 1371(device)S 1659(sends)S 1907(any)S 2077(bytes)S (written)286 2314 A 2625(to)S 2728(it)S 2809(to)S 2912(the)S 3060(printer.)S 2544 V 870(T)S 872(TC)S 936(CP)S 1005(P/)S 1063(/I)S 1093(IP)S 1129(P)S 1212(\()S 1214(\(m)S 1250(ma)S 1330(aj)S 1377(jo)S 1407(or)S 1459(r)S 1520(7)S 1522(7\))S 1574(\))S 2664 V 1080(The)S 1264(TCP/IP)S 1594(task)S 1783(is)S 1877(not)S 2032(a)S 2105(kernel)S 2385(task,)S 2600(but)S 2756(a)S 2829(server)S 3104(like)S 3283(MM)S 3489(and)S 3662(FS.)S 3852(It)S 3942(sits)S 4104(between)S 4468(FS)S 4608(and)S 4781(the)S (DP8390)329 4932 A 2784 V 1080(task)S 1267(that)S 1443(manages)S 1820(the)S 1968(ethernet)S 2318(boards.)S 2661(Together)S 3050(they)S 3248(implement)S 3703(the)S 3851(TCP/IP)S 4179(protocol.)S 4589(See)S 4760(also)S 10 B 4947(ip)S 10 R 5031(\(4\).)S 2952 V 870(C)S 872(CD)S 941(D-)S 1016(-R)S 1052(RO)S 1121(OM)S 1196(M)S 1312(\()S 1314(\(m)S 1350(ma)S 1430(aj)S 1477(jo)S 1507(or)S 1559(r)S 1620(8)S 1622(8\))S 1674(\))S 3072 V 1080(This)S 1285(is)S 1378(the)S 1527(CD-ROM)S 1957(driver)S 2225(for)S 2370(the)S 2520(Mitsumi)S 2887(proprietary)S 3362(CD-ROM)S (interface.)379 3792 A 4223(The)S 10 B 4407(cd0)S 10 R 4585(device)S 4875(addresses)S 3192 V 1080(the)S 1231(whole)S 1505(CD,)S 1698(with)S 1905(extra)S 10 B 2135(cd[1)S 10 B-1 2320(-)S 10 B 2377(4])S 10 R 2488(and)S 10 B 2660(cd[1)S 10 B-1 2845(-)S 10 B 2902(4][a)S 10 B-1 3070(-)S 10 B 3127(d])S 10 R 3244(devices)S 3573(for)S 3718(if)S 3807(the)S 3957(CD)S 4124(also)S 4313(contains)S (partitions)380 4675 A 5082(with)S 3312 V 1080(Minix)S 1350(\256le)S 1504(systems.)S 3480 V 870(S)S 872(SC)S 930(CS)S 999(SI)S 1057(I)S 1118(d)S 1120(di)S 1172(is)S 1202(sk)S 1243(ks)S 1295(s)S 1361(a)S 1363(an)S 1410(nd)S 1462(d)S 1539(t)S 1541(ta)S 1571(ap)S 1618(pe)S 1670(es)S 1717(s)S 1783(\()S 1785(\(m)S 1821(ma)S 1901(aj)S 1948(jo)S 1978(or)S 2030(r)S 2091(1)S 2093(10)S 2145(0\))S 2197(\))S 3600 V 1080(The)S 10 B 1266(sd*)S 10 R 1440(devices)S 1771(are)S 1924(disks)S 2159(in)S 2266(the)S 2418(same)S 2655(way)S 2853(as)S 2967(the)S 10 B 3120(hd*)S 10 R 3312(devices.)S 3694(Except)S 4004(that)S 4185(these)S 4422(disks)S 4658(are)S 4812(SCSI)S 5055(disks)S 3720 V 1080(attached)S 1443(to)S 1548(an)S 1670(Adaptec)S (1540)200 2033 A 2260(controller)S 2679(or)S 2790(compatible.)S 3313(The)S 3496(driver)S 3763(also)S 3951(manages)S 4329(the)S 10 B 4478(rst*)S 10 R 4672(and)S 10 B 4843(nrst*)S 10 R 5093(tape)S 3840 V 1080(devices)S 1407(\(rewinding)S 1874(or)S (non-rewinding\).)651 1983 A 2684(See)S 10 B 2855(sd)S 10 R 2950(\(4\).)S 4008 V 870(A)S 872(Au)S 947(ud)S 999(di)S 1051(io)S 1081(o)S 1158(\()S 1160(\(m)S 1196(ma)S 1276(aj)S 1323(jo)S 1353(or)S 1405(r)S 1466(1)S 1468(13)S 1520(3\))S 1572(\))S 4128 V 1080(The)S 10 B 1270(audio)S 10 R 1543(device)S 1839(can)S 2012(be)S 2140(used)S 2357(to)S (produce)324 2468 A 2825(or)S 2942(record)S 3233(air)S 3373(vibrations)S 3808(using)S 4059(a)S (Soundblaster)525 4138 A 4697(16)S 4831(type)S 5038(audio)S 4248 V 1080(card.)S 1329(See)S 10 B 1500(audio)S 10 R 1740(\(4\).)S 4416 V 870(M)S 872(Mi)S 963(ix)S 993(xe)S 1045(er)S 1092(r)S 1153(\()S 1155(\(m)S 1191(ma)S 1271(aj)S 1318(jo)S 1348(or)S 1400(r)S 1461(1)S 1463(14)S 1515(4\))S 1567(\))S 4536 V 1080(The)S 10 B 1262(mixer)S 10 R 1539(device)S 1827(is)S 1919(used)S 2128(to)S 2231(control)S 2541(the)S 2689(audio)S 2937(driver.)S 4704 V 9 R 720(F)S 722(FI)S 774(IL)S 807(LE)S 865(ES)S 923(S)S 4824 V 10 B 1080(/dev/*)S 10 R 1580(All)S 1734(Minix)S 2004(devices)S 4992 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 913(A)S 915(AL)S 983(LS)S 1041(SO)S 1093(O)S 5112 V 10 B 1080(read)S 10 R 1276(\(2\),)S 10 B 1444(write)S 10 R 1669(\(2\),)S 10 B 1837(lseek)S 10 R 2050(\(2\),)S 10 B 2218(ioctl)S 10 R 2403(\(2\),)S 10 B 2571(console)S 10 R 2884(\(4\),)S 10 B 3052(fd)S 10 R 3142(\(4\),)S 10 B 3310(hd)S 10 R 3422(\(4\),)S 10 B 3590(ip)S 10 R 3674(\(4\),)S 10 B 3842(sd)S 10 R 3937(\(4\),)S 10 B 4105(tty)S 10 R 4223(\(4\),)S 10 B 4391(MAKEDEV)S 10 R 4917(\(8\).)S 5280 V 9 R 720(D)S 722(DI)S 790(IA)S 823(AG)S 891(GN)S 959(NO)S 1027(OS)S 1095(ST)S 1147(TI)S 1205(IC)S 1238(CS)S 1300(S)S 5400 V 10 R 1080(There)S 1341(are)S 1490(\256ve)S 1666(prominent)S 2104(errors)S 2365(that)S 2541(processes)S (accessing)386 2952 A 3363(device)S 3651(\256les)S 3844(may)S (provoke:)357 4042 A 5568 V (ENODEV)416 1080 A 10 R-1 1521(-)S 10 R 1603(No)S 1751(such)S 1960(device)S 5688 V 1330(There)S 1618(is)S 1737(no)S 1889(driver)S 2182(managing)S 2630(the)S 2805(device)S 3120(class)S 3368(this)S 3565(device)S (belongs)312 3880 A 4244(to.)S 4424(Either)S 4724(the)S 4900(driver)S 5194(is)S 5808 V 1330(con\256gured)S 1785(out,)S 1963(or)S 2072(it)S 2153(is)S 2245(not)S 2398(loaded)S 2691(\(inet\).)S 5976 V 1080(ENXIO)S 10 R-1 1420(-)S 10 R 1502(No)S 1650(such)S 1859(device)S 2147(or)S 2256(address)S 6096 V 1330(This)S 1546(device)S 1846(is)S 1950(not)S 2115(available.)S 2566(Either)S 2850(the)S 3010(driver)S 3289(does)S 3511(not)S (support)301 3677 A 4016(it)S 4110(at)S 4221(all,)S 4385(or)S 4507(the)S 4668(hardware)S 5082(isn't)S 6216 V 1330(available,)S 1744(i.e.)S (accessing)386 1892 A 2303(the)S (second)279 2451 A 2755(disk)S 2947(on)S 3072(a)S 3142(system)S 3446(with)S 3650(only)S 3853(one)S 4023(disk.)S 6384 V 1080(EACCES)S 10 R-1 1492(-)S 10 R 1574(Permission)S 2046(denied)S 6504 V 1330(This)S 1546(error)S 1780(may)S 1990(cause)S 2251(a)S 2333(lot)S 2476(of)S 2597(head)S 2824(scratching)S 3275(if)S 10 B 3374(ls)S 10 B-1 3478(-)S 10 B 3535(l)S 10 R 3600(shows)S 3888(a)S 3970(device)S 4270(\256le)S 4436(to)S 4552(be)S 4685(writable.)S 5104(The)S 6624 V 1330(media)S (you)150 1601 A 1776(are)S 1925(trying)S 2190(to)S (access)258 2293 A 2576(is)S 2668(simply)S (physically)413 2966 A 3404(write)S 3637(protected!)S 6792 V (EINVAL)377 1080 A 10 R-1 1482(-)S 10 R 1564(Invalid)S 1874(argument)S 6912 V 1330(Devices)S 1684(may)S 1886(not)S 2043(like)S 2223(reads)S 2465(or)S 2578(writes)S 2854(that)S 3034(are)S 3187(not)S 3344(block)S (multiples,)399 3596 A 4024(or)S 4137(very)S 4345(big)S 4503(transfers,)S 4906(etc.)S 5104(The)S 7032 V 1330(device)S 1618(manual)S 1939(page)S (should)267 2154 A 2446(list)S 2594(the)S 2742(limits.)S 7200 V 1080(EIO)S 10 R-1 1274(-)S 10 R 1356(I/O)S 1516(error)S 7320 V 1330(This)S 1535(may)S 1734(be)S 1855(a)S 1926(real)S 2104(I/O)S 2265(error,)S 2513(i.e.)S 2662(a)S 2733(read)S 2934(or)S 3045(write)S 3280(on)S 3407(the)S 3557(device)S (failing)263 3847 A 4137(due)S 4309(to)S 4414(a)S 4486(media)S 4759(error.)S 5033(But)S 5205(it)S 7440 V 1330(may)S 1528(also)S 1715(be)S 1835(the)S 1983(result)S 2232(of)S 2341(an)S 2461(operation)S 2866(that)S 3042(a)S 3112(device)S 3400(can't)S 3627(do,)S 3777(or)S 3886(an)S 4006(empty)S 4282(tape)S 4475(drive,)S 4732(etc.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 4990(Page)S 5211(2)S 8143 V EP %%Page: 3 3 BP /slant 0 def /height 0 def 480 V 10 R 720(DEV)S 936(\()S 978(4)S 1036(\))S 2696(Eighth)S (Edition)296 2989 A 4911(DEV)S 5127(\()S 5169(4)S 5227(\))S 960 V 9 R 720(N)S 722(NO)S 790(OT)S 858(TE)S 916(ES)S 974(S)S 1080 V 10 R 1080(Some)S 1334(devices)S 1661(are)S 1810(not)S 1963(present)S 2279(by)S 2404(default.)S 2759(The)S 10 B 2941(MAKEDEV)S 10 R 3492(script)S (knows)262 3741 A 4028(how)S 4226(to)S 4329(make)S 4572(them.)S 1248 V 870(M)S 872(MS)S 963(S-)S 1021(-D)S 1057(DO)S 1132(OS)S 1207(S)S 1290(e)S 1292(eq)S 1339(qu)S 1391(ui)S 1443(iv)S 1473(va)S 1525(al)S 1572(le)S 1602(en)S 1649(nt)S 1701(ts)S 1731(s)S 1368 V 1080(The)S 1262(names)S 1544(of)S 1653(MS-DOS)S 2059(devices)S 2386(map)S 2584(to)S 2687(Minix)S 2957(devices)S 3284(as)S 3393(follows:)S 1536 V 1440(A:)S 1940(fd0)S 1656 V 1440(B:)S 1940(fd1)S 1776 V 1440(C:)S (hd1,)175 1940 A 2140(sd1)S 2740(\(usually)S 3089(the)S 3237(\256rst)S (partition\))375 3419 A 1896 V 1440(D:)S (hd6,)175 1940 A 2140(sd1,)S 2329(sd6)S 2740(\(or)S 2883(an)S 3003(extended)S (partition\))375 3391 A 2016 V 1440(CON)S 1940(console)S 2136 V 1440(COM1)S (tty00)206 1940 A 2740(\(UNIX)S (counts)262 3052 A 3339(from)S 3560(0\))S 2256 V 1440(LPT1)S 1940(lp)S 2424 V 9 R 720(A)S 722(AU)S 790(UT)S 858(TH)S 916(HO)S 984(OR)S 1052(R)S 2544 V 10 R 1080(Kees)S 1307(J.)S 1396(Bot)S 1566(\(kjb@cs.vu.nl\))S 7903 V 720(Page)S 941(3)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Courier %%Pages: 3