home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 010 < prev    next >
Mailbox/MIME Entity  |  1991-03-07  |  2.0 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 jsq@cs.utexas.edu Tue Oct 30 11:06:18 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 6a 73 71 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 54 75 65 20 4f 63 74 20 |as.edu |Tue Oct |
|00000020| 33 30 20 31 31 3a 30 36 | 3a 31 38 20 31 39 39 30 |30 11:06|:18 1990|
|00000030| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|00000040| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 20 62 79 |cs.utexa|s.edu by|
|00000050| 20 75 75 6e 65 74 2e 75 | 75 2e 6e 65 74 20 28 35 | uunet.u|u.net (5|
|00000060| 2e 36 31 2f 31 2e 31 34 | 29 20 77 69 74 68 20 53 |.61/1.14|) with S|
|00000070| 4d 54 50 20 0a 09 69 64 | 20 41 41 32 35 33 35 38 |MTP ..id| AA25358|
|00000080| 3b 20 54 75 65 2c 20 33 | 30 20 4f 63 74 20 39 30 |; Tue, 3|0 Oct 90|
|00000090| 20 31 31 3a 30 36 3a 31 | 38 20 2d 30 35 30 30 0a | 11:06:1|8 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 33 30 20 |Posted-D|ate: 30 |
|000000b0| 4f 63 74 20 39 30 20 30 | 36 3a 33 37 3a 31 36 20 |Oct 90 0|6:37:16 |
|000000c0| 47 4d 54 0a 52 65 63 65 | 69 76 65 64 3a 20 62 79 |GMT.Rece|ived: by|
|000000d0| 20 63 73 2e 75 74 65 78 | 61 73 2e 65 64 75 20 28 | cs.utex|as.edu (|
|000000e0| 35 2e 36 34 2f 31 2e 38 | 32 29 20 0a 46 72 6f 6d |5.64/1.8|2) .From|
|000000f0| 3a 20 6a 66 68 40 72 70 | 70 33 38 36 2e 63 61 63 |: jfh@rp|p386.cac|
|00000100| 74 75 73 2e 6f 72 67 20 | 28 4a 6f 68 6e 20 46 2e |tus.org |(John F.|
|00000110| 20 48 61 75 67 68 20 49 | 49 29 0a 4e 65 77 73 67 | Haugh I|I).Newsg|
|00000120| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 73 74 64 2e |roups: c|omp.std.|
|00000130| 75 6e 69 78 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |unix.Sub|ject: Re|
|00000140| 3a 20 46 69 6c 65 20 73 | 79 73 74 65 6d 20 6e 61 |: File s|ystem na|
|00000150| 6d 65 20 73 70 61 63 65 | 0a 4d 65 73 73 61 67 65 |me space|.Message|
|00000160| 2d 49 64 3a 20 3c 31 34 | 31 33 34 40 63 73 2e 75 |-Id: <14|134@cs.u|
|00000170| 74 65 78 61 73 2e 65 64 | 75 3e 0a 52 65 66 65 72 |texas.ed|u>.Refer|
|00000180| 65 6e 63 65 73 3a 20 3c | 31 33 38 37 38 40 63 73 |ences: <|13878@cs|
|00000190| 2e 75 74 65 78 61 73 2e | 65 64 75 3e 20 3c 31 34 |.utexas.|edu> <14|
|000001a0| 30 31 34 40 63 73 2e 75 | 74 65 78 61 73 2e 65 64 |014@cs.u|texas.ed|
|000001b0| 75 3e 20 3c 31 34 31 30 | 31 40 63 73 2e 75 74 65 |u> <1410|1@cs.ute|
|000001c0| 78 61 73 2e 65 64 75 3e | 20 3c 31 34 31 31 30 40 |xas.edu>| <14110@|
|000001d0| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 0a 53 |cs.utexa|s.edu>.S|
|000001e0| 65 6e 64 65 72 3a 20 6a | 73 71 40 63 73 2e 75 74 |ender: j|sq@cs.ut|
|000001f0| 65 78 61 73 2e 65 64 75 | 0a 52 65 70 6c 79 2d 54 |exas.edu|.Reply-T|
|00000200| 6f 3a 20 6a 66 68 40 72 | 70 70 33 38 36 2e 63 61 |o: jfh@r|pp386.ca|
|00000210| 63 74 75 73 2e 6f 72 67 | 20 28 4a 6f 68 6e 20 46 |ctus.org| (John F|
|00000220| 2e 20 48 61 75 67 68 20 | 49 49 29 0a 4f 72 67 61 |. Haugh |II).Orga|
|00000230| 6e 69 7a 61 74 69 6f 6e | 3a 20 4c 6f 6e 65 20 53 |nization|: Lone S|
|00000240| 74 61 72 20 43 61 66 65 | 20 61 6e 64 20 42 42 53 |tar Cafe| and BBS|
|00000250| 20 53 65 72 76 69 63 65 | 0a 58 2d 53 75 62 6d 69 | Service|.X-Submi|
|00000260| 73 73 69 6f 6e 73 3a 20 | 73 74 64 2d 75 6e 69 78 |ssions: |std-unix|
|00000270| 40 75 75 6e 65 74 2e 75 | 75 2e 6e 65 74 0a 44 61 |@uunet.u|u.net.Da|
|00000280| 74 65 3a 20 33 30 20 4f | 63 74 20 39 30 20 30 36 |te: 30 O|ct 90 06|
|00000290| 3a 33 37 3a 31 36 20 47 | 4d 54 0a 54 6f 3a 20 73 |:37:16 G|MT.To: s|
|000002a0| 74 64 2d 75 6e 69 78 40 | 75 75 6e 65 74 2e 75 75 |td-unix@|uunet.uu|
|000002b0| 2e 6e 65 74 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |.net..Su|bmitted-|
|000002c0| 62 79 3a 20 6a 66 68 40 | 72 70 70 33 38 36 2e 63 |by: jfh@|rpp386.c|
|000002d0| 61 63 74 75 73 2e 6f 72 | 67 20 28 4a 6f 68 6e 20 |actus.or|g (John |
|000002e0| 46 2e 20 48 61 75 67 68 | 20 49 49 29 0a 0a 49 6e |F. Haugh| II)..In|
|000002f0| 20 61 72 74 69 63 6c 65 | 20 3c 31 34 31 31 30 40 | article| <14110@|
|00000300| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 20 67 |cs.utexa|s.edu> g|
|00000310| 77 79 6e 40 73 6d 6f 6b | 65 2e 62 72 6c 2e 6d 69 |wyn@smok|e.brl.mi|
|00000320| 6c 20 28 44 6f 75 67 20 | 47 77 79 6e 29 20 77 72 |l (Doug |Gwyn) wr|
|00000330| 69 74 65 73 3a 0a 3e 54 | 68 61 74 27 73 20 74 68 |ites:.>T|hat's th|
|00000340| 65 20 6d 6f 73 74 20 63 | 6f 6d 6d 6f 6e 20 69 6d |e most c|ommon im|
|00000350| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 2e 20 20 48 |plementa|tion. H|
|00000360| 6f 77 65 76 65 72 2c 20 | 2f 64 65 76 2f 66 64 20 |owever, |/dev/fd |
|00000370| 63 6f 75 6c 64 20 61 6c | 73 6f 20 62 65 0a 3e 69 |could al|so be.>i|
|00000380| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 61 73 20 61 20 |mplement|ed as a |
|00000390| 66 69 6c 65 73 79 73 74 | 65 6d 20 74 79 70 65 20 |filesyst|em type |
|000003a0| 6f 66 20 69 74 73 20 6f | 77 6e 2c 20 61 6e 64 20 |of its o|wn, and |
|000003b0| 49 27 64 20 61 63 74 75 | 61 6c 6c 79 20 70 72 65 |I'd actu|ally pre|
|000003c0| 66 65 72 0a 3e 74 68 61 | 74 2e 20 20 54 68 65 6e |fer.>tha|t. Then|
|000003d0| 20 61 6e 20 22 6c 73 20 | 2f 64 65 76 2f 66 64 22 | an "ls |/dev/fd"|
|000003e0| 20 77 6f 75 6c 64 20 73 | 68 6f 77 20 6a 75 73 74 | would s|how just|
|000003f0| 20 74 68 65 20 69 6e 2d | 75 73 65 20 66 69 6c 65 | the in-|use file|
|00000400| 20 64 65 73 63 72 69 70 | 74 6f 72 73 2e 0a 0a 57 | descrip|tors...W|
|00000410| 68 69 63 68 20 62 72 69 | 6e 67 73 20 75 70 20 74 |hich bri|ngs up t|
|00000420| 68 65 20 69 73 73 75 65 | 20 6f 66 20 22 77 68 6f |he issue| of "who|
|00000430| 73 65 20 69 6e 2d 75 73 | 65 20 66 69 6c 65 20 64 |se in-us|e file d|
|00000440| 65 73 63 72 69 70 74 6f | 72 73 3f 22 2e 0a 49 74 |escripto|rs?"..It|
|00000450| 20 77 6f 75 6c 64 20 77 | 6f 72 6b 20 6a 75 73 74 | would w|ork just|
|00000460| 20 66 69 6e 65 20 66 6f | 72 20 74 68 65 20 61 70 | fine fo|r the ap|
|00000470| 70 6c 69 63 61 74 69 6f | 6e 20 69 74 73 65 6c 66 |plicatio|n itself|
|00000480| 2c 20 62 75 74 20 22 6c | 73 22 20 77 6f 75 6c 64 |, but "l|s" would|
|00000490| 0a 62 65 20 75 73 65 6c | 65 73 73 20 69 66 20 79 |.be usel|ess if y|
|000004a0| 6f 75 20 64 65 66 69 6e | 65 20 22 69 6e 2d 75 73 |ou defin|e "in-us|
|000004b0| 65 22 20 74 6f 20 62 65 | 20 74 68 65 20 63 75 72 |e" to be| the cur|
|000004c0| 72 65 6e 74 20 70 72 6f | 63 65 73 73 27 20 69 6e |rent pro|cess' in|
|000004d0| 2d 75 73 65 0a 64 65 73 | 63 72 69 70 74 6f 72 73 |-use.des|criptors|
|000004e0| 2e 20 20 47 65 65 2c 20 | 68 6f 77 20 6d 61 6e 79 |. Gee, |how many|
|000004f0| 20 74 69 6d 65 73 20 64 | 6f 20 79 6f 75 20 77 61 | times d|o you wa|
|00000500| 6e 74 20 74 6f 20 73 65 | 65 20 77 68 69 63 68 20 |nt to se|e which |
|00000510| 66 69 6c 65 0a 64 65 73 | 63 72 69 70 74 6f 72 73 |file.des|criptors|
|00000520| 20 22 6c 73 22 20 68 61 | 73 20 6f 70 65 6e 2e 0a | "ls" ha|s open..|
|00000530| 0a 54 68 69 73 20 77 6f | 72 6b 73 20 77 69 74 68 |.This wo|rks with|
|00000540| 20 2f 70 72 6f 63 20 62 | 65 63 61 75 73 65 20 70 | /proc b|ecause p|
|00000550| 72 6f 63 65 73 73 65 73 | 20 61 72 65 20 73 79 73 |rocesses| are sys|
|00000560| 74 65 6d 20 77 69 64 65 | 2c 20 77 68 69 6c 65 20 |tem wide|, while |
|00000570| 66 69 6c 65 0a 64 65 73 | 63 72 69 70 74 6f 72 73 |file.des|criptors|
|00000580| 20 61 72 65 20 70 65 72 | 2d 70 72 6f 63 65 73 73 | are per|-process|
|00000590| 2e 20 20 4d 79 20 66 64 | 30 20 68 61 73 20 6e 6f |. My fd|0 has no|
|000005a0| 74 68 69 6e 67 20 69 6e | 20 63 6f 6d 6d 6f 6e 20 |thing in| common |
|000005b0| 77 69 74 68 20 79 6f 75 | 72 0a 66 64 30 20 2d 20 |with you|r.fd0 - |
|000005c0| 73 6f 20 65 69 74 68 65 | 72 20 49 20 64 69 73 74 |so eithe|r I dist|
|000005d0| 69 6e 67 75 69 73 68 20 | 62 65 74 77 65 65 6e 20 |inguish |between |
|000005e0| 6d 79 20 66 64 30 20 61 | 6e 64 20 79 6f 75 72 20 |my fd0 a|nd your |
|000005f0| 66 64 30 20 61 6e 64 20 | 67 65 74 0a 73 74 75 63 |fd0 and |get.stuc|
|00000600| 6b 20 77 69 74 68 20 66 | 6f 6e 64 6c 69 6e 67 20 |k with f|ondling |
|00000610| 65 76 65 72 79 20 75 73 | 65 72 2d 70 61 67 65 20 |every us|er-page |
|00000620| 69 6e 20 74 68 65 20 73 | 79 73 74 65 6d 2c 20 6f |in the s|ystem, o|
|00000630| 72 20 49 20 6a 75 73 74 | 20 63 6f 70 20 6f 75 74 |r I just| cop out|
|00000640| 2e 0a 0a 41 20 6d 6f 72 | 65 20 63 6f 6d 70 6c 65 |...A mor|e comple|
|00000650| 78 20 69 6e 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |x inplem|entation|
|00000660| 20 62 75 79 73 20 6c 69 | 74 74 6c 65 20 6f 72 20 | buys li|ttle or |
|00000670| 6e 6f 74 68 69 6e 67 20 | 69 6e 20 74 65 72 6d 73 |nothing |in terms|
|00000680| 20 6f 66 0a 66 75 6e 63 | 74 69 6f 6e 20 61 74 20 | of.func|tion at |
|00000690| 61 20 76 65 72 79 20 68 | 69 67 68 20 63 6f 73 74 |a very h|igh cost|
|000006a0| 20 69 6e 20 74 65 72 6d | 73 20 6f 66 20 6f 76 65 | in term|s of ove|
|000006b0| 72 68 65 61 64 2e 0a 2d | 2d 20 0a 4a 6f 68 6e 20 |rhead..-|- .John |
|000006c0| 46 2e 20 48 61 75 67 68 | 20 49 49 20 20 20 20 20 |F. Haugh| II |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 20 20 20 20 20 20 20 20 | 55 55 43 50 3a 20 2e 2e | |UUCP: ..|
|000006f0| 2e 21 63 73 2e 75 74 65 | 78 61 73 2e 65 64 75 21 |.!cs.ute|xas.edu!|
|00000700| 72 70 70 33 38 36 21 6a | 66 68 0a 4d 61 20 42 65 |rpp386!j|fh.Ma Be|
|00000710| 6c 6c 3a 20 28 35 31 32 | 29 20 38 33 32 2d 38 38 |ll: (512|) 832-88|
|00000720| 33 32 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |32 | |
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 44 6f 6d | | Dom|
|00000740| 61 69 6e 3a 20 6a 66 68 | 40 72 70 70 33 38 36 2e |ain: jfh|@rpp386.|
|00000750| 63 61 63 74 75 73 2e 6f | 72 67 0a 22 53 43 43 53 |cactus.o|rg."SCCS|
|00000760| 2c 20 74 68 65 20 73 6f | 75 72 63 65 20 6d 6f 74 |, the so|urce mot|
|00000770| 65 6c 21 20 20 50 72 6f | 67 72 61 6d 73 20 63 68 |el! Pro|grams ch|
|00000780| 65 63 6b 20 69 6e 20 61 | 6e 64 20 6e 65 76 65 72 |eck in a|nd never|
|00000790| 20 63 68 65 63 6b 20 6f | 75 74 21 22 0a 09 09 2d | check o|ut!"...-|
|000007a0| 2d 20 4b 65 6e 20 54 68 | 6f 6d 70 73 6f 6e 0a 0a |- Ken Th|ompson..|
|000007b0| 56 6f 6c 75 6d 65 2d 4e | 75 6d 62 65 72 3a 20 56 |Volume-N|umber: V|
|000007c0| 6f 6c 75 6d 65 20 32 32 | 2c 20 4e 75 6d 62 65 72 |olume 22|, Number|
|000007d0| 20 31 30 0a 0a | | 10.. | |
+--------+-------------------------+-------------------------+--------+--------+