home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 206 < prev    next >
Mailbox/MIME Entity  |  1990-12-05  |  3.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 Oct 18 00:26:12 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 | 4f 63 74 20 31 38 20 30 |et Thu |Oct 18 0|
|00000030| 30 3a 32 36 3a 31 32 20 | 31 39 39 30 0a 52 65 63 |0:26:12 |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 31 | 31 35 36 31 3b 20 54 68 |..id AA1|1561; Th|
|00000090| 75 2c 20 31 38 20 4f 63 | 74 20 39 30 20 30 30 3a |u, 18 Oc|t 90 00:|
|000000a0| 32 36 3a 31 32 20 2d 30 | 34 30 30 0a 50 6f 73 74 |26:12 -0|400.Post|
|000000b0| 65 64 2d 44 61 74 65 3a | 20 31 37 20 4f 63 74 20 |ed-Date:| 17 Oct |
|000000c0| 39 30 20 30 31 3a 35 35 | 3a 31 39 20 47 4d 54 0a |90 01:55|:19 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 38 30 29 20 0a | 46 72 6f 6d 3a 20 74 68 |/1.80) .|From: th|
|00000100| 69 6e 6b 21 62 61 72 6d | 61 72 40 63 73 2e 75 74 |ink!barm|ar@cs.ut|
|00000110| 65 78 61 73 2e 65 64 75 | 20 28 42 61 72 72 79 20 |exas.edu| (Barry |
|00000120| 4d 61 72 67 6f 6c 69 6e | 29 0a 4e 65 77 73 67 72 |Margolin|).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 4e 61 6d 65 73 20 76 | 73 2e 20 66 64 73 20 2d | Names v|s. fds -|
|00000160| 2d 20 69 74 27 73 20 61 | 20 66 6c 6f 6f 72 20 77 |- it's a| floor w|
|00000170| 61 78 20 2a 61 6e 64 2a | 20 61 20 64 65 73 73 65 |ax *and*| a desse|
|00000180| 72 74 20 74 6f 70 70 69 | 6e 67 0a 4d 65 73 73 61 |rt toppi|ng.Messa|
|00000190| 67 65 2d 49 64 3a 20 3c | 31 33 36 39 30 40 63 73 |ge-Id: <|13690@cs|
|000001a0| 2e 75 74 65 78 61 73 2e | 65 64 75 3e 0a 52 65 66 |.utexas.|edu>.Ref|
|000001b0| 65 72 65 6e 63 65 73 3a | 20 3c 31 33 33 39 32 40 |erences:| <13392@|
|000001c0| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 20 3c |cs.utexa|s.edu> <|
|000001d0| 31 33 34 34 31 40 63 73 | 2e 75 74 65 78 61 73 2e |13441@cs|.utexas.|
|000001e0| 65 64 75 3e 20 3c 31 33 | 36 34 32 40 63 73 2e 75 |edu> <13|642@cs.u|
|000001f0| 74 65 78 61 73 2e 65 64 | 75 3e 0a 53 65 6e 64 65 |texas.ed|u>.Sende|
|00000200| 72 3a 20 66 6c 65 74 63 | 68 65 72 40 63 73 2e 75 |r: fletc|her@cs.u|
|00000210| 74 65 78 61 73 2e 65 64 | 75 0a 4f 72 67 61 6e 69 |texas.ed|u.Organi|
|00000220| 7a 61 74 69 6f 6e 3a 20 | 54 68 69 6e 6b 69 6e 67 |zation: |Thinking|
|00000230| 20 4d 61 63 68 69 6e 65 | 73 20 43 6f 72 70 6f 72 | Machine|s Corpor|
|00000240| 61 74 69 6f 6e 2c 20 43 | 61 6d 62 72 69 64 67 65 |ation, C|ambridge|
|00000250| 20 4d 41 2c 20 55 53 41 | 0a 58 2d 53 75 62 6d 69 | MA, USA|.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 31 37 20 4f | 63 74 20 39 30 20 30 31 |te: 17 O|ct 90 01|
|00000290| 3a 35 35 3a 31 39 20 47 | 4d 54 0a 52 65 70 6c 79 |:55:19 G|MT.Reply|
|000002a0| 2d 54 6f 3a 20 73 74 64 | 2d 75 6e 69 78 40 75 75 |-To: std|-unix@uu|
|000002b0| 6e 65 74 2e 75 75 2e 6e | 65 74 0a 54 6f 3a 20 73 |net.uu.n|et.To: s|
|000002c0| 74 64 2d 75 6e 69 78 40 | 75 75 6e 65 74 2e 75 75 |td-unix@|uunet.uu|
|000002d0| 2e 6e 65 74 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |.net..Su|bmitted-|
|000002e0| 62 79 3a 20 62 61 72 6d | 61 72 40 74 68 69 6e 6b |by: barm|ar@think|
|000002f0| 2e 75 75 63 70 20 28 42 | 61 72 72 79 20 4d 61 72 |.uucp (B|arry Mar|
|00000300| 67 6f 6c 69 6e 29 0a 0a | 49 6e 20 61 72 74 69 63 |golin)..|In artic|
|00000310| 6c 65 20 3c 31 33 36 34 | 32 40 63 73 2e 75 74 65 |le <1364|2@cs.ute|
|00000320| 78 61 73 2e 65 64 75 3e | 20 63 68 69 70 40 74 63 |xas.edu>| chip@tc|
|00000330| 74 2e 75 75 63 70 20 28 | 43 68 69 70 20 53 61 6c |t.uucp (|Chip Sal|
|00000340| 7a 65 6e 62 65 72 67 29 | 20 77 72 69 74 65 73 3a |zenberg)| writes:|
|00000350| 0a 3e 41 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 62 |.>Accord|ing to b|
|00000360| 72 6e 73 74 6e 64 40 6b | 72 61 6d 64 65 6e 2e 61 |rnstnd@k|ramden.a|
|00000370| 63 66 2e 6e 79 75 2e 65 | 64 75 20 28 44 61 6e 20 |cf.nyu.e|du (Dan |
|00000380| 42 65 72 6e 73 74 65 69 | 6e 29 3a 0a 3e 3e 33 2e |Bernstei|n):.>>3.|
|00000390| 20 41 20 75 6e 69 66 69 | 65 64 20 6e 61 6d 65 73 | A unifi|ed names|
|000003a0| 70 61 63 65 20 68 61 73 | 20 6e 6f 74 20 62 65 65 |pace has| not bee|
|000003b0| 6e 20 74 65 73 74 65 64 | 20 6f 6e 20 61 20 6c 61 |n tested| on a la|
|000003c0| 72 67 65 20 73 63 61 6c | 65 20 69 6e 20 74 68 65 |rge scal|e in the|
|000003d0| 0a 3e 3e 72 65 61 6c 20 | 77 6f 72 6c 64 2c 20 61 |.>>real |world, a|
|000003e0| 6e 64 20 68 65 6e 63 65 | 20 69 73 20 61 6e 20 69 |nd hence| is an i|
|000003f0| 6e 61 70 70 72 6f 70 72 | 69 61 74 65 20 6f 62 6a |nappropr|iate obj|
|00000400| 65 63 74 20 6f 66 20 73 | 74 61 6e 64 61 72 64 69 |ect of s|tandardi|
|00000410| 7a 61 74 69 6f 6e 0a 3e | 3e 61 74 20 74 68 69 73 |zation.>|>at this|
|00000420| 20 74 69 6d 65 2e 0a 3e | 22 41 64 76 61 6e 63 65 | time..>|"Advance|
|00000430| 6d 65 6e 74 20 62 79 20 | 69 6e 76 65 6e 74 65 64 |ment by |invented|
|00000440| 20 73 74 61 6e 64 61 72 | 64 73 22 20 69 73 20 61 | standar|ds" is a|
|00000450| 6e 20 6f 78 79 6d 6f 72 | 6f 6e 2c 20 74 72 75 65 |n oxymor|on, true|
|00000460| 2e 20 20 47 69 76 65 6e | 20 74 68 61 74 0a 3e 50 |. Given| that.>P|
|00000470| 4f 53 49 58 20 73 65 65 | 6d 73 20 74 6f 20 62 65 |OSIX see|ms to be|
|00000480| 20 69 6e 74 65 6e 74 20 | 6f 6e 20 69 6e 76 65 6e | intent |on inven|
|00000490| 74 69 6e 67 20 2a 73 6f | 6d 65 74 68 69 6e 67 2a |ting *so|mething*|
|000004a0| 2c 20 74 68 6f 75 67 68 | 2c 20 49 20 70 75 73 68 |, though|, I push|
|000004b0| 20 66 6f 72 0a 3e 61 20 | 75 6e 69 66 69 65 64 20 | for.>a |unified |
|000004c0| 6e 61 6d 65 73 70 61 63 | 65 2e 20 20 53 65 76 65 |namespac|e. Seve|
|000004d0| 72 61 6c 20 70 65 6f 70 | 6c 65 20 68 61 76 65 20 |ral peop|le have |
|000004e0| 64 65 73 63 72 69 62 65 | 64 20 77 6f 72 6b 20 77 |describe|d work w|
|000004f0| 69 74 68 20 55 6e 69 78 | 20 28 6f 72 0a 3e 55 6e |ith Unix| (or.>Un|
|00000500| 69 78 2d 6c 69 6b 65 29 | 20 73 79 73 74 65 6d 73 |ix-like)| systems|
|00000510| 20 74 68 61 74 20 6b 65 | 65 70 20 65 76 65 72 79 | that ke|ep every|
|00000520| 74 68 69 6e 67 20 69 6e | 20 6f 6e 65 20 6e 61 6d |thing in| one nam|
|00000530| 65 73 70 61 63 65 2e 20 | 20 41 6e 64 20 73 75 72 |espace. | And sur|
|00000540| 65 6c 79 0a 3e 50 6c 61 | 6e 20 39 20 63 6f 75 6e |ely.>Pla|n 9 coun|
|00000550| 74 73 20 61 73 20 22 70 | 72 69 6f 72 20 61 72 74 |ts as "p|rior art|
|00000560| 2e 22 0a 0a 4d 75 6c 74 | 69 63 73 20 61 6c 73 6f |."..Mult|ics also|
|00000570| 20 68 61 73 20 61 20 75 | 6e 69 66 69 65 64 20 6e | has a u|nified n|
|00000580| 61 6d 65 73 70 61 63 65 | 2c 20 61 6c 74 68 6f 75 |amespace|, althou|
|00000590| 67 68 20 49 20 73 75 73 | 70 65 63 74 20 69 74 73 |gh I sus|pect its|
|000005a0| 20 69 6e 74 65 72 66 61 | 63 65 0a 77 6f 75 6c 64 | interfa|ce.would|
|000005b0| 20 6e 6f 74 20 62 65 20 | 63 6f 6e 73 69 64 65 72 | not be |consider|
|000005c0| 65 64 20 61 63 63 65 70 | 74 61 62 6c 65 20 62 79 |ed accep|table by|
|000005d0| 20 6d 6f 73 74 20 55 6e | 69 78 20 66 6f 6c 6b 73 | most Un|ix folks|
|000005e0| 20 28 77 68 65 6e 20 75 | 73 65 72 73 20 69 6e 74 | (when u|sers int|
|000005f0| 65 72 66 61 63 65 0a 74 | 6f 20 69 74 2c 20 74 68 |erface.t|o it, th|
|00000600| 65 20 72 65 73 75 6c 74 | 20 6c 6f 6f 6b 73 20 61 |e result| looks a|
|00000610| 20 62 69 74 20 4a 43 4c | 69 73 68 29 2e 0a 0a 52 | bit JCL|ish)...R|
|00000620| 61 74 68 65 72 20 74 68 | 61 6e 20 66 6f 72 63 69 |ather th|an forci|
|00000630| 6e 67 20 65 76 65 72 79 | 74 68 69 6e 67 20 69 6e |ng every|thing in|
|00000640| 74 6f 20 74 68 65 20 66 | 69 6c 65 20 73 79 73 74 |to the f|ile syst|
|00000650| 65 6d 20 68 69 65 72 61 | 72 63 68 79 2c 20 4d 75 |em hiera|rchy, Mu|
|00000660| 6c 74 69 63 73 27 73 0a | 67 65 6e 65 72 61 6c 69 |ltics's.|generali|
|00000670| 7a 65 64 20 49 2f 4f 20 | 73 79 73 74 65 6d 20 69 |zed I/O |system i|
|00000680| 73 20 62 61 73 65 64 20 | 6f 6e 20 64 79 6e 61 6d |s based |on dynam|
|00000690| 69 63 61 6c 6c 79 20 6c | 69 6e 6b 69 6e 67 20 74 |ically l|inking t|
|000006a0| 6f 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 0a |o the pr|ocedure.|
|000006b0| 74 68 61 74 20 6b 6e 6f | 77 73 20 68 6f 77 20 74 |that kno|ws how t|
|000006c0| 6f 20 6f 70 65 6e 20 61 | 20 70 61 72 74 69 63 75 |o open a| particu|
|000006d0| 6c 61 72 20 74 79 70 65 | 20 6f 66 20 49 2f 4f 20 |lar type| of I/O |
|000006e0| 64 65 76 69 63 65 2e 20 | 20 54 68 65 20 4d 75 6c |device. | The Mul|
|000006f0| 74 69 63 73 0a 65 71 75 | 69 76 61 6c 65 6e 74 20 |tics.equ|ivalent |
|00000700| 74 6f 20 6f 70 65 6e 28 | 29 20 74 61 6b 65 73 20 |to open(|) takes |
|00000710| 61 20 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |a charac|ter stri|
|00000720| 6e 67 2c 20 63 61 6c 6c | 65 64 20 61 6e 20 22 61 |ng, call|ed an "a|
|00000730| 74 74 61 63 68 0a 64 65 | 73 63 72 69 70 74 69 6f |ttach.de|scriptio|
|00000740| 6e 22 20 74 68 61 74 20 | 6c 6f 6f 6b 73 20 6c 69 |n" that |looks li|
|00000750| 6b 65 20 61 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |ke a com|mand lin|
|00000760| 65 2e 20 20 54 68 65 20 | 66 69 72 73 74 20 74 6f |e. The |first to|
|00000770| 6b 65 6e 20 69 6e 20 74 | 68 65 20 73 74 72 69 6e |ken in t|he strin|
|00000780| 67 0a 69 73 20 74 72 61 | 6e 73 66 6f 72 6d 65 64 |g.is tra|nsformed|
|00000790| 20 69 6e 74 6f 20 74 68 | 65 20 6e 61 6d 65 20 6f | into th|e name o|
|000007a0| 66 20 61 20 73 75 62 72 | 6f 75 74 69 6e 65 2c 20 |f a subr|outine, |
|000007b0| 74 68 65 20 64 79 6e 61 | 6d 69 63 20 6c 69 6e 6b |the dyna|mic link|
|000007c0| 65 72 20 69 73 20 69 6e | 76 6f 6b 65 64 0a 74 6f |er is in|voked.to|
|000007d0| 20 6c 6f 61 64 20 74 68 | 65 20 73 75 62 72 6f 75 | load th|e subrou|
|000007e0| 74 69 6e 65 2c 20 61 6e | 64 20 74 68 65 20 72 65 |tine, an|d the re|
|000007f0| 6d 61 69 6e 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |maining |argument|
|00000800| 73 20 61 72 65 20 63 6f | 6c 6c 65 63 74 65 64 20 |s are co|llected |
|00000810| 69 6e 74 6f 20 61 6e 0a | 61 72 72 61 79 20 6f 66 |into an.|array of|
|00000820| 20 63 68 61 72 61 63 74 | 65 72 20 73 74 72 69 6e | charact|er strin|
|00000830| 67 73 20 74 68 61 74 20 | 61 72 65 20 70 61 73 73 |gs that |are pass|
|00000840| 65 64 20 61 73 20 74 68 | 65 20 61 72 67 75 6d 65 |ed as th|e argume|
|00000850| 6e 74 20 6c 69 73 74 2e | 20 20 46 6f 72 0a 69 6e |nt list.| For.in|
|00000860| 73 74 61 6e 63 65 2c 20 | 74 6f 20 6f 70 65 6e 20 |stance, |to open |
|00000870| 61 20 66 69 6c 65 20 74 | 68 65 20 63 61 6c 6c 20 |a file t|he call |
|00000880| 77 6f 75 6c 64 20 6c 6f | 6f 6b 20 73 6f 6d 65 74 |would lo|ok somet|
|00000890| 68 69 6e 67 20 6c 69 6b | 65 3a 0a 0a 09 66 64 20 |hing lik|e:...fd |
|000008a0| 3d 20 61 74 74 61 63 68 | 20 28 22 66 69 6c 65 20 |= attach| ("file |
|000008b0| 2f 66 6f 6f 2f 62 61 72 | 2f 62 61 7a 22 29 3b 0a |/foo/bar|/baz");.|
|000008c0| 0a 49 27 76 65 20 74 72 | 61 6e 73 6c 61 74 65 64 |.I've tr|anslated|
|000008d0| 20 66 72 6f 6d 20 4d 75 | 6c 74 69 63 73 20 61 6e | from Mu|ltics an|
|000008e0| 64 20 50 4c 2f 49 20 73 | 74 79 6c 65 20 74 6f 20 |d PL/I s|tyle to |
|000008f0| 55 6e 69 78 20 61 6e 64 | 20 43 2e 20 20 54 68 65 |Unix and| C. The|
|00000900| 20 4d 75 6c 74 69 63 73 | 0a 76 65 72 73 69 6f 6e | Multics|.version|
|00000910| 20 61 6c 73 6f 20 68 61 | 73 20 61 6e 20 61 64 64 | also ha|s an add|
|00000920| 69 74 69 6f 6e 61 6c 20 | 61 72 67 75 6d 65 6e 74 |itional |argument|
|00000930| 2c 20 74 6f 20 73 70 65 | 63 69 66 79 20 61 20 6c |, to spe|cify a l|
|00000940| 61 62 65 6c 20 66 6f 72 | 20 74 68 65 20 66 69 6c |abel for| the fil|
|00000950| 65 0a 64 65 73 63 72 69 | 70 74 6f 72 2c 20 61 73 |e.descri|ptor, as|
|00000960| 20 74 68 65 72 65 20 61 | 72 65 20 63 6f 6d 6d 61 | there a|re comma|
|00000970| 6e 64 73 20 74 6f 20 6c | 69 73 74 20 61 6e 64 20 |nds to l|ist and |
|00000980| 6d 61 6e 69 70 75 6c 61 | 74 65 20 74 68 65 20 61 |manipula|te the a|
|00000990| 74 74 61 63 68 6d 65 6e | 74 73 20 6f 66 0a 74 68 |ttachmen|ts of.th|
|000009a0| 65 20 63 75 72 72 65 6e | 74 20 70 72 6f 63 65 73 |e curren|t proces|
|000009b0| 73 20 28 6e 6f 74 65 20 | 74 68 61 74 20 6f 6e 20 |s (note |that on |
|000009c0| 4d 75 6c 74 69 63 73 20 | 74 68 65 20 65 6e 74 69 |Multics |the enti|
|000009d0| 72 65 20 6c 6f 67 69 6e | 20 73 65 73 73 69 6f 6e |re login| session|
|000009e0| 20 69 73 20 61 0a 73 69 | 6e 67 6c 65 20 70 72 6f | is a.si|ngle pro|
|000009f0| 63 65 73 73 29 2e 0a 0a | 41 73 20 61 6e 6f 74 68 |cess)...|As anoth|
|00000a00| 65 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 6f 20 61 |er examp|le, to a|
|00000a10| 74 74 61 63 68 20 74 6f | 20 61 20 54 43 50 20 73 |ttach to| a TCP s|
|00000a20| 74 72 65 61 6d 2c 20 74 | 68 65 20 72 73 68 20 63 |tream, t|he rsh c|
|00000a30| 6f 6d 6d 61 6e 64 20 6d | 69 67 68 74 20 64 6f 3a |ommand m|ight do:|
|00000a40| 0a 0a 09 66 64 20 3d 20 | 61 74 74 61 63 68 20 28 |...fd = |attach (|
|00000a50| 22 74 63 70 20 74 68 69 | 6e 6b 2e 63 6f 6d 20 2d |"tcp thi|nk.com -|
|00000a60| 70 6f 72 74 20 73 68 65 | 6c 6c 20 2d 70 72 69 76 |port she|ll -priv|
|00000a70| 69 6c 65 67 65 64 5f 6c | 6f 63 61 6c 5f 70 6f 72 |ileged_l|ocal_por|
|00000a80| 74 22 29 3b 0a 0a 4f 6e | 20 4d 75 6c 74 69 63 73 |t");..On| Multics|
|00000a90| 2c 20 74 68 65 72 65 27 | 73 20 61 20 73 65 70 61 |, there'|s a sepa|
|00000aa0| 72 61 74 65 20 6f 70 65 | 6e 28 29 20 74 68 61 74 |rate ope|n() that|
|00000ab0| 20 69 73 20 75 73 65 64 | 20 61 66 74 65 72 20 61 | is used| after a|
|00000ac0| 74 74 61 63 68 28 29 20 | 28 61 6e 64 2c 0a 63 6f |ttach() |(and,.co|
|00000ad0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 6c 79 2c 20 73 |rrespond|ingly, s|
|00000ae0| 65 70 61 72 61 74 65 20 | 63 6c 6f 73 65 28 29 20 |eparate |close() |
|00000af0| 61 6e 64 20 64 65 74 61 | 63 68 28 29 29 2e 20 20 |and deta|ch()). |
|00000b00| 41 74 74 61 63 68 28 29 | 20 73 61 79 73 20 77 68 |Attach()| says wh|
|00000b10| 61 74 20 64 65 76 69 63 | 65 0a 28 70 68 79 73 69 |at devic|e.(physi|
|00000b20| 63 61 6c 2c 20 61 73 20 | 69 6e 20 61 20 74 61 70 |cal, as |in a tap|
|00000b30| 65 20 64 72 69 76 65 2c | 20 6f 72 20 76 69 72 74 |e drive,| or virt|
|00000b40| 75 61 6c 2c 20 61 73 20 | 69 6e 20 61 20 66 69 6c |ual, as |in a fil|
|00000b50| 65 29 20 79 6f 75 27 72 | 65 20 61 74 74 61 63 68 |e) you'r|e attach|
|00000b60| 69 6e 67 0a 74 6f 2c 20 | 77 68 69 6c 65 20 6f 70 |ing.to, |while op|
|00000b70| 65 6e 20 73 70 65 63 69 | 66 69 65 73 20 68 6f 77 |en speci|fies how|
|00000b80| 20 79 6f 75 27 72 65 20 | 75 73 69 6e 67 20 69 74 | you're |using it|
|00000b90| 20 61 74 20 61 6e 79 20 | 70 61 72 74 69 63 75 6c | at any |particul|
|00000ba0| 61 72 20 74 69 6d 65 20 | 28 69 6e 70 75 74 0a 76 |ar time |(input.v|
|00000bb0| 73 20 6f 75 74 70 75 74 | 2c 20 66 69 6c 65 20 6e |s output|, file n|
|00000bc0| 61 6d 65 20 6f 6e 20 61 | 20 6c 61 62 65 6c 65 64 |ame on a| labeled|
|00000bd0| 20 74 61 70 65 2c 20 65 | 74 63 2e 29 2e 20 20 49 | tape, e|tc.). I|
|00000be0| 6e 20 74 68 65 20 63 61 | 73 65 20 6f 66 20 64 65 |n the ca|se of de|
|00000bf0| 76 69 63 65 73 20 73 75 | 63 68 0a 61 73 20 74 61 |vices su|ch.as ta|
|00000c00| 70 65 20 64 72 69 76 65 | 73 2c 20 74 68 69 73 20 |pe drive|s, this |
|00000c10| 64 69 73 74 69 6e 63 74 | 69 6f 6e 20 61 6c 6c 6f |distinct|ion allo|
|00000c20| 77 73 20 6b 65 65 70 69 | 6e 67 20 61 20 74 61 70 |ws keepi|ng a tap|
|00000c30| 65 20 64 72 69 76 65 20 | 72 65 73 65 72 76 65 64 |e drive |reserved|
|00000c40| 20 74 6f 0a 74 68 65 20 | 70 72 6f 63 65 73 73 20 | to.the |process |
|00000c50| 77 68 69 6c 65 20 6f 70 | 65 6e 69 6e 67 20 61 6e |while op|ening an|
|00000c60| 64 20 63 6c 6f 73 69 6e | 67 20 69 6e 64 69 76 69 |d closin|g indivi|
|00000c70| 64 75 61 6c 20 66 69 6c | 65 73 2e 0a 0a 54 68 65 |dual fil|es...The|
|00000c80| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 20 | user in|terface |
|00000c90| 74 6f 20 74 68 69 73 20 | 69 73 20 74 68 65 20 22 |to this |is the "|
|00000ca0| 69 6f 22 20 63 6f 6d 6d | 61 6e 64 2c 20 77 69 74 |io" comm|and, wit|
|00000cb0| 68 20 73 79 6e 74 61 78 | 20 6c 69 6b 65 3a 0a 0a |h syntax| like:..|
|00000cc0| 09 69 6f 20 61 74 74 61 | 63 68 20 73 74 64 69 6e |.io atta|ch stdin|
|00000cd0| 20 66 69 6c 65 20 2f 66 | 6f 6f 2f 62 61 72 2f 62 | file /f|oo/bar/b|
|00000ce0| 61 7a 0a 09 69 6f 20 6f | 70 65 6e 20 73 74 64 69 |az..io o|pen stdi|
|00000cf0| 6e 20 2d 69 6e 70 75 74 | 0a 0a 54 6f 20 66 69 74 |n -input|..To fit|
|00000d00| 20 74 68 69 73 20 69 6e | 74 6f 20 55 6e 69 78 2c | this in|to Unix,|
|00000d10| 20 79 6f 75 27 64 20 68 | 61 76 65 20 74 6f 20 6d | you'd h|ave to m|
|00000d20| 61 6b 65 20 61 20 76 61 | 72 69 61 6e 74 20 6f 66 |ake a va|riant of|
|00000d30| 20 3e 20 61 6e 64 20 3c | 20 74 68 61 74 20 69 73 | > and <| that is|
|00000d40| 0a 66 6f 6c 6c 77 65 64 | 20 62 79 20 61 6e 20 61 |.follwed| by an a|
|00000d50| 74 74 61 63 68 20 64 65 | 73 63 72 69 70 74 69 6f |ttach de|scriptio|
|00000d60| 6e 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 61 20 |n rather| than a |
|00000d70| 66 69 6c 65 6e 61 6d 65 | 2e 20 20 41 63 74 75 61 |filename|. Actua|
|00000d80| 6c 6c 79 2c 20 79 6f 75 | 0a 63 6f 75 6c 64 20 6a |lly, you|.could j|
|00000d90| 75 73 74 20 75 73 65 20 | 70 69 70 65 73 2c 20 65 |ust use |pipes, e|
|00000da0| 2e 67 2e 0a 0a 09 69 6f | 20 61 74 74 61 63 68 20 |.g....io| attach |
|00000db0| 73 74 64 6f 75 74 20 74 | 61 70 65 20 2d 64 72 69 |stdout t|ape -dri|
|00000dc0| 76 65 20 30 20 7c 20 64 | 64 20 2e 2e 2e 20 7c 20 |ve 0 | d|d ... | |
|00000dd0| 69 6f 20 61 74 74 61 63 | 68 20 73 74 64 69 6e 20 |io attac|h stdin |
|00000de0| 74 63 70 20 2e 2e 2e 0a | 2d 2d 0a 42 61 72 72 79 |tcp ....|--.Barry|
|00000df0| 20 4d 61 72 67 6f 6c 69 | 6e 2c 20 54 68 69 6e 6b | Margoli|n, Think|
|00000e00| 69 6e 67 20 4d 61 63 68 | 69 6e 65 73 20 43 6f 72 |ing Mach|ines Cor|
|00000e10| 70 2e 0a 0a 62 61 72 6d | 61 72 40 74 68 69 6e 6b |p...barm|ar@think|
|00000e20| 2e 63 6f 6d 0a 7b 75 75 | 6e 65 74 2c 68 61 72 76 |.com.{uu|net,harv|
|00000e30| 61 72 64 7d 21 74 68 69 | 6e 6b 21 62 61 72 6d 61 |ard}!thi|nk!barma|
|00000e40| 72 0a 0a 0a 56 6f 6c 75 | 6d 65 2d 4e 75 6d 62 65 |r...Volu|me-Numbe|
|00000e50| 72 3a 20 56 6f 6c 75 6d | 65 20 32 31 2c 20 4e 75 |r: Volum|e 21, Nu|
|00000e60| 6d 62 65 72 20 32 30 36 | 0a 0a |mber 206|.. |
+--------+-------------------------+-------------------------+--------+--------+