home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 136 < prev    next >
Mailbox/MIME Entity  |  1990-12-05  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From std-unix-request@uunet.uu.net Thu Sep 27 13:33:06 1990", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 73 74 64 | 2d 75 6e 69 78 2d 72 65 |From std|-unix-re|
|00000010| 71 75 65 73 74 40 75 75 | 6e 65 74 2e 75 75 2e 6e |quest@uu|net.uu.n|
|00000020| 65 74 20 20 54 68 75 20 | 53 65 70 20 32 37 20 31 |et Thu |Sep 27 1|
|00000030| 33 3a 33 33 3a 30 36 20 | 31 39 39 30 0a 52 65 63 |3:33:06 |1990.Rec|
|00000040| 65 69 76 65 64 3a 20 66 | 72 6f 6d 20 63 73 2e 75 |eived: f|rom cs.u|
|00000050| 74 65 78 61 73 2e 65 64 | 75 20 62 79 20 75 75 6e |texas.ed|u by uun|
|00000060| 65 74 2e 75 75 2e 6e 65 | 74 20 28 35 2e 36 31 2f |et.uu.ne|t (5.61/|
|00000070| 31 2e 31 34 29 20 77 69 | 74 68 20 53 4d 54 50 20 |1.14) wi|th SMTP |
|00000080| 0a 09 69 64 20 41 41 30 | 33 37 38 33 3b 20 54 68 |..id AA0|3783; Th|
|00000090| 75 2c 20 32 37 20 53 65 | 70 20 39 30 20 31 33 3a |u, 27 Se|p 90 13:|
|000000a0| 33 33 3a 30 36 20 2d 30 | 34 30 30 0a 50 6f 73 74 |33:06 -0|400.Post|
|000000b0| 65 64 2d 44 61 74 65 3a | 20 32 34 20 53 65 70 20 |ed-Date:| 24 Sep |
|000000c0| 39 30 20 32 31 3a 35 36 | 3a 32 38 20 47 4d 54 0a |90 21:56|:28 GMT.|
|000000d0| 52 65 63 65 69 76 65 64 | 3a 20 62 79 20 63 73 2e |Received|: by cs.|
|000000e0| 75 74 65 78 61 73 2e 65 | 64 75 20 28 35 2e 36 34 |utexas.e|du (5.64|
|000000f0| 2f 31 2e 37 36 29 20 0a | 46 72 6f 6d 3a 20 62 72 |/1.76) .|From: br|
|00000100| 6e 73 74 6e 64 40 6b 72 | 61 6d 64 65 6e 2e 61 63 |nstnd@kr|amden.ac|
|00000110| 66 2e 6e 79 75 2e 65 64 | 75 20 28 44 61 6e 20 42 |f.nyu.ed|u (Dan B|
|00000120| 65 72 6e 73 74 65 69 6e | 29 0a 4e 65 77 73 67 72 |ernstein|).Newsgr|
|00000130| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 73 74 64 2e 75 |oups: co|mp.std.u|
|00000140| 6e 69 78 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |nix.Subj|ect: Re:|
|00000150| 20 53 74 61 6e 64 61 72 | 64 73 20 55 70 64 61 74 | Standar|ds Updat|
|00000160| 65 2c 20 49 45 45 45 20 | 31 30 30 33 2e 34 3a 20 |e, IEEE |1003.4: |
|00000170| 52 65 61 6c 2d 74 69 6d | 65 20 45 78 74 65 6e 73 |Real-tim|e Extens|
|00000180| 69 6f 6e 73 0a 4d 65 73 | 73 61 67 65 2d 49 64 3a |ions.Mes|sage-Id:|
|00000190| 20 3c 35 34 38 40 75 73 | 65 6e 69 78 2e 4f 52 47 | <548@us|enix.ORG|
|000001a0| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 34 |>.Refere|nces: <4|
|000001b0| 39 35 40 75 73 65 6e 69 | 78 2e 4f 52 47 3e 20 3c |95@useni|x.ORG> <|
|000001c0| 35 32 33 40 75 73 65 6e | 69 78 2e 4f 52 47 3e 20 |523@usen|ix.ORG> |
|000001d0| 3c 35 32 39 40 75 73 65 | 6e 69 78 2e 4f 52 47 3e |<529@use|nix.ORG>|
|000001e0| 0a 53 65 6e 64 65 72 3a | 20 6a 73 71 40 75 73 65 |.Sender:| jsq@use|
|000001f0| 6e 69 78 2e 4f 52 47 0a | 4f 72 67 61 6e 69 7a 61 |nix.ORG.|Organiza|
|00000200| 74 69 6f 6e 3a 20 49 52 | 0a 58 2d 53 75 62 6d 69 |tion: IR|.X-Submi|
|00000210| 73 73 69 6f 6e 73 3a 20 | 73 74 64 2d 75 6e 69 78 |ssions: |std-unix|
|00000220| 40 75 75 6e 65 74 2e 75 | 75 2e 6e 65 74 0a 44 61 |@uunet.u|u.net.Da|
|00000230| 74 65 3a 20 32 34 20 53 | 65 70 20 39 30 20 32 31 |te: 24 S|ep 90 21|
|00000240| 3a 35 36 3a 32 38 20 47 | 4d 54 0a 52 65 70 6c 79 |:56:28 G|MT.Reply|
|00000250| 2d 54 6f 3a 20 73 74 64 | 2d 75 6e 69 78 40 75 75 |-To: std|-unix@uu|
|00000260| 6e 65 74 2e 75 75 2e 6e | 65 74 0a 54 6f 3a 20 73 |net.uu.n|et.To: s|
|00000270| 74 64 2d 75 6e 69 78 40 | 75 75 6e 65 74 2e 75 75 |td-unix@|uunet.uu|
|00000280| 2e 6e 65 74 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |.net..Su|bmitted-|
|00000290| 62 79 3a 20 62 72 6e 73 | 74 6e 64 40 6b 72 61 6d |by: brns|tnd@kram|
|000002a0| 64 65 6e 2e 61 63 66 2e | 6e 79 75 2e 65 64 75 20 |den.acf.|nyu.edu |
|000002b0| 28 44 61 6e 20 42 65 72 | 6e 73 74 65 69 6e 29 0a |(Dan Ber|nstein).|
|000002c0| 0a 49 6e 20 61 72 74 69 | 63 6c 65 20 3c 35 32 39 |.In arti|cle <529|
|000002d0| 40 75 73 65 6e 69 78 2e | 4f 52 47 3e 20 63 68 69 |@usenix.|ORG> chi|
|000002e0| 70 40 74 63 74 2e 75 75 | 63 70 20 28 43 68 69 70 |p@tct.uu|cp (Chip|
|000002f0| 20 53 61 6c 7a 65 6e 62 | 65 72 67 29 20 77 72 69 | Salzenb|erg) wri|
|00000300| 74 65 73 3a 0a 3e 20 41 | 63 63 6f 72 64 69 6e 67 |tes:.> A|ccording|
|00000310| 20 74 6f 20 66 6f 75 74 | 73 40 62 6f 7a 65 6d 61 | to fout|s@bozema|
|00000320| 6e 2e 62 6f 7a 65 6d 61 | 6e 2e 69 6e 67 72 20 28 |n.bozema|n.ingr (|
|00000330| 4d 61 72 74 69 6e 20 46 | 6f 75 74 73 29 3a 0a 3e |Martin F|outs):.>|
|00000340| 20 3e 48 6f 77 65 76 65 | 72 2c 20 74 68 65 20 70 | >Howeve|r, the p|
|00000350| 72 65 73 65 6e 63 65 73 | 20 6f 66 20 74 68 65 20 |resences| of the |
|00000360| 70 72 6f 63 20 66 69 6c | 65 20 73 79 73 74 65 6d |proc fil|e system|
|00000370| 20 69 73 20 6e 6f 74 20 | 61 20 73 74 72 6f 6e 67 | is not |a strong|
|00000380| 20 61 72 67 75 65 6d 65 | 6e 74 0a 3e 20 3e 66 6f | argueme|nt.> >fo|
|00000390| 72 20 74 68 65 20 69 6e | 63 6c 75 73 69 6f 6e 20 |r the in|clusion |
|000003a0| 6f 66 20 6f 74 68 65 72 | 65 20 66 65 61 74 75 72 |of other|e featur|
|000003b0| 65 73 20 69 6e 20 74 68 | 65 20 66 69 6c 65 20 73 |es in th|e file s|
|000003c0| 79 73 74 65 6d 2e 0a 3e | 20 49 20 64 69 73 61 67 |ystem..>| I disag|
|000003d0| 72 65 65 2e 20 20 49 20 | 63 6f 6e 73 69 64 65 72 |ree. I |consider|
|000003e0| 20 69 74 20 61 6e 20 65 | 78 63 65 6c 6c 65 6e 74 | it an e|xcellent|
|000003f0| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 68 6f 77 20 | example| of how |
|00000400| 74 68 65 20 64 65 73 69 | 67 6e 65 72 73 0a 3e 20 |the desi|gners.> |
|00000410| 6f 66 20 55 6e 69 78 20 | 72 65 61 6c 69 7a 65 20 |of Unix |realize |
|00000420| 74 68 61 74 20 61 6c 6c | 20 6e 61 6d 65 64 20 6f |that all| named o|
|00000430| 62 6a 65 63 74 73 20 70 | 6f 74 65 6e 74 69 61 6c |bjects p|otential|
|00000440| 6c 79 20 76 69 73 69 62 | 6c 65 20 74 6f 20 6d 6f |ly visib|le to mo|
|00000450| 72 65 0a 3e 20 74 68 61 | 6e 20 6f 6e 65 20 70 72 |re.> tha|n one pr|
|00000460| 6f 63 65 73 73 20 62 65 | 6c 6f 6e 67 20 69 6e 20 |ocess be|long in |
|00000470| 74 68 65 20 66 69 6c 65 | 73 79 73 74 65 6d 20 6e |the file|system n|
|00000480| 61 6d 65 73 70 61 63 65 | 2e 0a 0a 49 20 64 69 73 |amespace|...I dis|
|00000490| 61 67 72 65 65 2e 20 49 | 20 63 6f 6e 73 69 64 65 |agree. I| conside|
|000004a0| 72 20 69 74 20 61 6e 20 | 65 78 63 65 6c 6c 65 6e |r it an |excellen|
|000004b0| 74 20 65 78 61 6d 70 6c | 65 20 6f 66 20 68 6f 77 |t exampl|e of how|
|000004c0| 20 74 68 65 20 64 65 73 | 69 67 6e 65 72 73 20 6f | the des|igners o|
|000004d0| 66 0a 55 4e 49 58 20 72 | 65 61 6c 69 7a 65 20 74 |f.UNIX r|ealize t|
|000004e0| 68 61 74 20 61 6c 6c 20 | 2a 72 65 6c 69 61 62 6c |hat all |*reliabl|
|000004f0| 65 2a 2c 20 2a 73 74 61 | 74 69 63 2a 2c 20 2a 6c |e*, *sta|tic*, *l|
|00000500| 6f 63 61 6c 2a 20 28 6f | 72 20 76 69 72 74 75 61 |ocal* (o|r virtua|
|00000510| 6c 6c 79 20 6c 6f 63 61 | 6c 29 0a 49 2f 4f 20 6f |lly loca|l).I/O o|
|00000520| 62 6a 65 63 74 73 20 70 | 6f 74 65 6e 74 69 61 6c |bjects p|otential|
|00000530| 6c 79 20 76 69 73 69 62 | 6c 65 20 74 6f 20 6d 6f |ly visib|le to mo|
|00000540| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 70 72 6f 63 |re than |one proc|
|00000550| 65 73 73 20 62 65 6c 6f | 6e 67 20 69 6e 20 74 68 |ess belo|ng in th|
|00000560| 65 0a 66 69 6c 65 73 79 | 73 74 65 6d 20 6e 61 6d |e.filesy|stem nam|
|00000570| 65 73 70 61 63 65 2e 0a | 0a 2f 64 65 76 2f 70 72 |espace..|./dev/pr|
|00000580| 6f 63 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |oc, for |example,|
|00000590| 20 69 73 20 72 65 6c 69 | 61 62 6c 65 2d 2d 2d 74 | is reli|able---t|
|000005a0| 68 65 72 65 27 73 20 6e | 6f 20 63 68 61 6e 63 65 |here's n|o chance|
|000005b0| 20 6f 66 20 61 72 62 69 | 74 72 61 72 79 0a 66 61 | of arbi|trary.fa|
|000005c0| 69 6c 75 72 65 2e 20 49 | 74 27 73 20 73 74 61 74 |ilure. I|t's stat|
|000005d0| 69 63 2d 2d 2d 70 72 6f | 63 65 73 73 65 73 20 68 |ic---pro|cesses h|
|000005e0| 61 76 65 20 69 6e 65 72 | 74 69 61 2c 20 61 6e 64 |ave iner|tia, and|
|000005f0| 20 73 74 69 63 6b 20 61 | 72 6f 75 6e 64 20 75 6e | stick a|round un|
|00000600| 74 69 6c 0a 74 68 65 79 | 20 74 61 6b 65 20 74 68 |til.they| take th|
|00000610| 65 20 70 6f 73 69 74 69 | 76 65 20 61 63 74 69 6f |e positi|ve actio|
|00000620| 6e 20 6f 66 20 65 78 69 | 74 28 29 69 6e 67 2e 20 |n of exi|t()ing. |
|00000630| 41 6e 64 20 69 74 27 73 | 20 6c 6f 63 61 6c 2d 2d |And it's| local--|
|00000640| 2d 79 6f 75 20 64 6f 6e | 27 74 0a 68 61 76 65 20 |-you don|'t.have |
|00000650| 61 6e 20 61 72 62 69 74 | 72 61 72 79 20 64 65 6c |an arbit|rary del|
|00000660| 61 79 20 62 65 66 6f 72 | 65 20 73 65 65 69 6e 67 |ay befor|e seeing|
|00000670| 20 74 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | the inf|ormation|
|00000680| 2e 20 53 6f 20 69 74 27 | 73 20 61 0a 70 65 72 66 |. So it'|s a.perf|
|00000690| 65 63 74 6c 79 20 66 69 | 6e 65 20 74 68 69 6e 67 |ectly fi|ne thing|
|000006a0| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 69 6e 20 74 | to incl|ude in t|
|000006b0| 68 65 20 66 69 6c 65 73 | 79 73 74 65 6d 20 77 69 |he files|ystem wi|
|000006c0| 74 68 6f 75 74 20 68 65 | 73 69 74 61 74 69 6f 6e |thout he|sitation|
|000006d0| 2e 0a 0a 4f 62 6a 65 63 | 74 73 20 74 68 61 74 20 |...Objec|ts that |
|000006e0| 61 72 65 6e 27 74 20 72 | 65 6c 69 61 62 6c 65 2c |aren't r|eliable,|
|000006f0| 20 6f 72 20 61 72 65 6e | 27 74 20 73 74 61 74 69 | or aren|'t stati|
|00000700| 63 2c 20 6f 72 20 61 72 | 65 6e 27 74 20 6c 6f 63 |c, or ar|en't loc|
|00000710| 61 6c 2c 20 61 6c 73 6f | 0a 61 72 65 6e 27 74 20 |al, also|.aren't |
|00000720| 6e 65 63 65 73 73 61 72 | 69 6c 79 20 73 65 6e 73 |necessar|ily sens|
|00000730| 69 62 6c 65 20 74 61 72 | 67 65 74 73 20 6f 66 20 |ible tar|gets of |
|00000740| 61 6e 20 6f 70 65 6e 28 | 29 2e 20 53 6f 6d 65 20 |an open(|). Some |
|00000750| 6f 66 20 74 68 65 6d 20 | 6d 69 67 68 74 20 66 69 |of them |might fi|
|00000760| 74 0a 77 65 6c 6c 2c 20 | 62 75 74 20 65 61 63 68 |t.well, |but each|
|00000770| 20 68 61 73 20 74 6f 20 | 62 65 20 63 6f 6e 73 69 | has to |be consi|
|00000780| 64 65 72 65 64 20 6f 6e | 20 69 74 73 20 6f 77 6e |dered on| its own|
|00000790| 20 6d 65 72 69 74 73 2e | 0a 0a 3e 20 53 6f 2c 20 | merits.|..> So, |
|000007a0| 68 6f 77 20 64 6f 20 77 | 65 20 70 72 6f 67 72 61 |how do w|e progra|
|000007b0| 6d 20 69 6e 20 73 75 63 | 68 20 61 20 73 79 73 74 |m in suc|h a syst|
|000007c0| 65 6d 3f 20 20 57 65 20 | 75 73 65 20 69 74 73 20 |em? We |use its |
|000007d0| 65 6c 65 67 61 6e 74 20 | 69 6e 74 65 72 66 61 63 |elegant |interfac|
|000007e0| 65 0a 3e 20 2d 2d 20 6f | 72 20 73 68 6f 75 6c 64 |e.> -- o|r should|
|000007f0| 20 49 20 73 61 79 20 22 | 69 6e 74 65 72 66 61 63 | I say "|interfac|
|00000800| 65 73 22 3f 20 20 50 6c | 61 69 6e 20 66 69 6c 65 |es"? Pl|ain file|
|00000810| 73 2c 20 64 65 76 69 63 | 65 73 2c 20 49 50 43 73 |s, devic|es, IPCs|
|00000820| 2c 20 61 6e 64 0a 3e 20 | 6e 65 74 77 6f 72 6b 20 |, and.> |network |
|00000830| 63 6f 6e 6e 65 63 74 69 | 6f 6e 73 20 65 61 63 68 |connecti|ons each|
|00000840| 20 68 61 76 65 20 61 20 | 73 65 6d 61 6e 74 69 63 | have a |semantic|
|00000850| 61 6c 6c 79 20 61 63 63 | 75 72 61 74 65 20 69 6e |ally acc|urate in|
|00000860| 74 65 72 66 61 63 65 2c | 20 77 68 69 63 68 0a 3e |terface,| which.>|
|00000870| 20 75 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 20 6d | unfortu|nately m|
|00000880| 61 6b 65 73 20 69 74 20 | 64 69 66 66 65 72 65 6e |akes it |differen|
|00000890| 74 20 66 72 6f 6d 20 61 | 6c 6c 20 6f 74 68 65 72 |t from a|ll other|
|000008a0| 73 2e 0a 0a 54 68 65 20 | 73 69 6e 67 6c 65 20 55 |s...The |single U|
|000008b0| 4e 49 58 20 69 6e 74 65 | 72 66 61 63 65 20 69 73 |NIX inte|rface is|
|000008c0| 20 74 68 65 20 66 69 6c | 65 20 64 65 73 63 72 69 | the fil|e descri|
|000008d0| 70 74 6f 72 2e 20 59 6f | 75 20 63 61 6e 20 72 65 |ptor. Yo|u can re|
|000008e0| 61 64 28 29 20 6f 72 0a | 77 72 69 74 65 28 29 20 |ad() or.|write() |
|000008f0| 72 65 61 73 6f 6e 61 62 | 6c 65 20 49 2f 4f 20 6f |reasonab|le I/O o|
|00000900| 62 6a 65 63 74 73 20 74 | 68 72 6f 75 67 68 20 66 |bjects t|hrough f|
|00000910| 69 6c 65 20 64 65 73 63 | 72 69 70 74 6f 72 73 2e |ile desc|riptors.|
|00000920| 20 56 65 72 79 20 66 65 | 77 0a 70 72 6f 67 72 61 | Very fe|w.progra|
|00000930| 6d 73 2d 2d 2d 74 68 65 | 20 73 68 65 6c 6c 20 69 |ms---the| shell i|
|00000940| 73 20 61 20 63 6f 75 6e | 74 65 72 65 78 61 6d 70 |s a coun|terexamp|
|00000950| 6c 65 2d 2d 2d 6e 65 65 | 64 20 74 6f 20 77 6f 72 |le---nee|d to wor|
|00000960| 72 79 20 61 62 6f 75 74 | 20 77 68 61 74 20 69 74 |ry about| what it|
|00000970| 0a 74 61 6b 65 73 20 74 | 6f 20 73 65 74 20 75 70 |.takes t|o set up|
|00000980| 20 74 68 6f 73 65 20 66 | 69 6c 65 20 64 65 73 63 | those f|ile desc|
|00000990| 72 69 70 74 6f 72 73 2e | 20 56 65 72 79 20 66 65 |riptors.| Very fe|
|000009a0| 77 20 70 72 6f 67 72 61 | 6d 73 2d 2d 2d 73 74 74 |w progra|ms---stt|
|000009b0| 79 20 69 73 20 61 0a 63 | 6f 75 6e 74 65 72 65 78 |y is a.c|ounterex|
|000009c0| 61 6d 70 6c 65 2d 2d 2d | 6e 65 65 64 20 74 6f 20 |ample---|need to |
|000009d0| 6b 6e 6f 77 20 74 68 65 | 20 69 6f 63 74 6c 28 29 |know the| ioctl()|
|000009e0| 73 20 6f 72 20 6f 74 68 | 65 72 20 66 75 6e 63 74 |s or oth|er funct|
|000009f0| 69 6f 6e 73 20 74 68 61 | 74 0a 63 6f 6e 74 72 6f |ions tha|t.contro|
|00000a00| 6c 20 74 68 65 20 49 2f | 4f 20 6d 6f 72 65 20 70 |l the I/|O more p|
|00000a10| 72 65 63 69 73 65 6c 79 | 2e 20 57 68 61 74 20 69 |recisely|. What i|
|00000a20| 73 20 79 6f 75 72 20 63 | 6f 6d 70 6c 61 69 6e 74 |s your c|omplaint|
|00000a30| 3f 0a 0a 2d 2d 2d 44 61 | 6e 0a 0a 56 6f 6c 75 6d |?..---Da|n..Volum|
|00000a40| 65 2d 4e 75 6d 62 65 72 | 3a 20 56 6f 6c 75 6d 65 |e-Number|: Volume|
|00000a50| 20 32 31 2c 20 4e 75 6d | 62 65 72 20 31 33 36 0a | 21, Num|ber 136.|
|00000a60| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+