home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6500 < prev    next >
LaTeX Document  |  1992-07-22  |  34.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file LaTeX document text default
98% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 73 70 | 61 72 6b 79 21 75 75 6e |Path: sp|arky!uun|
|00000010| 65 74 21 6d 63 73 75 6e | 21 73 75 6e 34 6e 6c 21 |et!mcsun|!sun4nl!|
|00000020| 74 75 65 67 61 74 65 2e | 74 75 65 2e 6e 6c 21 73 |tuegate.|tue.nl!s|
|00000030| 76 69 6e 30 32 21 77 73 | 69 6e 66 6f 30 31 21 61 |vin02!ws|info01!a|
|00000040| 6c 70 68 0a 46 72 6f 6d | 3a 20 61 6c 70 68 40 77 |lph.From|: alph@w|
|00000050| 73 69 6e 66 6f 30 31 2e | 77 69 6e 2e 74 75 65 2e |sinfo01.|win.tue.|
|00000060| 6e 6c 20 28 47 2e 4a 2e | 57 2e 20 48 61 67 65 6e |nl (G.J.|W. Hagen|
|00000070| 61 61 72 73 29 0a 4e 65 | 77 73 67 72 6f 75 70 73 |aars).Ne|wsgroups|
|00000080| 3a 20 63 6f 6d 70 2e 6f | 73 2e 6c 69 6e 75 78 0a |: comp.o|s.linux.|
|00000090| 53 75 62 6a 65 63 74 3a | 20 4e 65 77 3b 20 46 41 |Subject:| New; FA|
|000000a0| 51 2e 54 45 58 20 28 70 | 61 72 74 20 32 29 0a 4d |Q.TEX (p|art 2).M|
|000000b0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 33 37 31 39 |essage-I|D: <3719|
|000000c0| 40 73 76 69 6e 30 32 2e | 69 6e 66 6f 2e 77 69 6e |@svin02.|info.win|
|000000d0| 2e 74 75 65 2e 6e 6c 3e | 0a 44 61 74 65 3a 20 32 |.tue.nl>|.Date: 2|
|000000e0| 33 20 4a 75 6c 20 39 32 | 20 30 37 3a 35 33 3a 34 |3 Jul 92| 07:53:4|
|000000f0| 33 20 47 4d 54 0a 53 65 | 6e 64 65 72 3a 20 6e 65 |3 GMT.Se|nder: ne|
|00000100| 77 73 40 73 76 69 6e 30 | 32 2e 69 6e 66 6f 2e 77 |ws@svin0|2.info.w|
|00000110| 69 6e 2e 74 75 65 2e 6e | 6c 0a 52 65 70 6c 79 2d |in.tue.n|l.Reply-|
|00000120| 54 6f 3a 20 61 6c 70 68 | 40 77 69 6e 2e 74 75 65 |To: alph|@win.tue|
|00000130| 2e 6e 6c 0a 4c 69 6e 65 | 73 3a 20 37 32 36 0a 0a |.nl.Line|s: 726..|
|00000140| 0a 25 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.%------|--------|
|00000150| 2d 73 65 63 6f 6e 64 20 | 70 61 72 74 20 6f 66 20 |-second |part of |
|00000160| 66 61 71 2e 74 65 78 20 | 66 6f 6c 6c 6f 77 73 2d |faq.tex |follows-|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 25 2d 2d 2d 2d 2d 2d |-------.|.%------|
|00000190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000001d0| 5c 73 65 63 74 69 6f 6e | 7b 53 6f 6d 65 20 63 6c |\section|{Some cl|
|000001e0| 61 73 73 69 63 61 6c 20 | 70 72 6f 62 6c 65 6d 73 |assical |problems|
|000001f0| 7d 5c 6c 61 62 65 6c 7b | 63 6c 61 73 73 69 63 61 |}\label{|classica|
|00000200| 6c 7d 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |l}..\beg|in{quest|
|00000210| 69 6f 6e 7d 20 57 68 69 | 6c 65 20 72 75 6e 6e 69 |ion} Whi|le runni|
|00000220| 6e 67 20 64 75 20 49 20 | 67 65 74 20 22 4b 65 72 |ng du I |get "Ker|
|00000230| 6e 65 6c 20 70 61 6e 69 | 63 3a 0a 66 72 65 65 5c |nel pani|c:.free\|
|00000240| 5f 69 6e 6f 64 65 3a 20 | 62 69 74 20 61 6c 72 65 |_inode: |bit alre|
|00000250| 61 64 79 20 63 6c 65 61 | 72 65 64 22 2e 20 20 41 |ady clea|red". A|
|00000260| 6c 73 6f 2c 20 64 75 20 | 70 72 6f 64 75 63 65 73 |lso, du |produces|
|00000270| 20 61 6e 20 45 4e 4f 45 | 4e 54 0a 65 72 72 6f 72 | an ENOE|NT.error|
|00000280| 20 66 6f 72 20 61 6c 6c | 20 74 68 65 20 66 69 6c | for all| the fil|
|00000290| 65 73 20 69 6e 20 63 65 | 72 74 61 69 6e 20 6f 66 |es in ce|rtain of|
|000002a0| 20 6d 79 20 64 69 72 65 | 63 74 6f 72 69 65 73 2e | my dire|ctories.|
|000002b0| 20 20 57 68 61 74 27 73 | 20 67 6f 69 6e 67 0a 6f | What's| going.o|
|000002c0| 6e 3f 5c 65 6e 64 7b 71 | 75 65 73 74 69 6f 6e 7d |n?\end{q|uestion}|
|000002d0| 0a 5c 61 6e 73 77 65 72 | 20 54 68 65 73 65 20 61 |.\answer| These a|
|000002e0| 72 65 20 62 6f 74 68 20 | 63 6f 6e 73 69 73 74 65 |re both |consiste|
|000002f0| 6e 74 20 77 69 74 68 20 | 61 20 62 61 64 20 66 69 |nt with |a bad fi|
|00000300| 6c 65 2d 73 79 73 74 65 | 6d 2e 20 20 54 68 61 74 |le-syste|m. That|
|00000310| 27 73 0a 72 65 6c 61 74 | 69 76 65 6c 79 20 65 61 |'s.relat|ively ea|
|00000320| 73 79 20 74 6f 20 70 72 | 6f 64 75 63 65 20 62 79 |sy to pr|oduce by|
|00000330| 20 6e 6f 74 20 73 79 6e | 63 69 6e 67 20 62 65 66 | not syn|cing bef|
|00000340| 6f 72 65 20 72 65 62 6f | 6f 74 69 6e 67 2c 20 61 |ore rebo|oting, a|
|00000350| 73 20 4c 69 6e 75 78 0a | 75 73 75 61 6c 6c 79 20 |s Linux.|usually |
|00000360| 68 61 73 20 31 2e 35 4d | 62 20 6f 66 20 62 75 66 |has 1.5M|b of buf|
|00000370| 66 65 72 20 73 70 61 63 | 65 20 68 65 6c 64 20 69 |fer spac|e held i|
|00000380| 6e 20 6d 65 6d 6f 72 79 | 20 28 75 6e 6c 65 73 73 |n memory| (unless|
|00000390| 20 79 6f 75 20 68 61 76 | 65 0a 24 5c 6c 65 71 24 | you hav|e.$\leq$|
|000003a0| 20 34 4d 62 20 52 41 4d | 2c 20 69 6e 20 77 68 69 | 4Mb RAM|, in whi|
|000003b0| 63 68 20 63 61 73 65 20 | 74 68 65 20 62 75 66 66 |ch case |the buff|
|000003c0| 65 72 73 20 61 72 65 20 | 6f 6e 6c 79 20 61 62 6f |ers are |only abo|
|000003d0| 75 74 20 30 2e 35 4d 62 | 29 2e 20 41 6c 73 6f 0a |ut 0.5Mb|). Also.|
|000003e0| 4c 69 6e 75 78 20 64 6f | 65 73 6e 27 74 20 64 6f |Linux do|esn't do|
|000003f0| 20 61 6e 79 74 68 69 6e | 67 20 73 70 65 63 69 61 | anythin|g specia|
|00000400| 6c 20 61 62 6f 75 74 20 | 74 68 65 20 62 69 74 2d |l about |the bit-|
|00000410| 6d 61 70 20 62 6c 6f 63 | 6b 73 2c 20 61 6e 64 20 |map bloc|ks, and |
|00000420| 61 73 0a 74 68 65 79 20 | 61 72 65 20 75 73 65 64 |as.they |are used|
|00000430| 20 6f 66 74 65 6e 2c 20 | 74 68 6f 73 65 20 61 72 | often, |those ar|
|00000440| 65 20 74 68 65 20 74 68 | 69 6e 67 20 6d 6f 73 74 |e the th|ing most|
|00000450| 20 6c 69 6b 65 6c 79 20 | 74 6f 20 62 65 20 69 6e | likely |to be in|
|00000460| 20 6d 65 6d 6f 72 79 2e | 0a 49 66 20 79 6f 75 20 | memory.|.If you |
|00000470| 72 65 62 6f 6f 74 2c 20 | 61 6e 64 20 74 68 65 79 |reboot, |and they|
|00000480| 20 68 61 76 65 6e 27 74 | 20 62 65 65 6e 20 77 72 | haven't| been wr|
|00000490| 69 74 74 65 6e 20 74 6f | 20 64 69 73 6b 20 2e 2e |itten to| disk ..|
|000004a0| 2e 0a 0a 4a 75 73 74 20 | 64 6f 20 61 6e 20 7b 5c |...Just |do an {\|
|000004b0| 74 74 20 66 73 63 6b 7d | 20 6f 6e 20 74 68 65 20 |tt fsck}| on the |
|000004c0| 64 65 76 69 63 65 2c 20 | 74 68 65 20 7b 5c 74 74 |device, |the {\tt|
|000004d0| 20 2d 61 7d 20 66 6c 61 | 67 20 6d 69 67 68 74 20 | -a} fla|g might |
|000004e0| 72 65 70 61 69 72 20 69 | 74 0a 6f 74 68 65 72 77 |repair i|t.otherw|
|000004f0| 69 73 65 2c 20 74 68 65 | 20 6f 6e 6c 79 20 74 68 |ise, the| only th|
|00000500| 69 6e 67 20 74 6f 20 64 | 6f 20 69 73 20 74 6f 20 |ing to d|o is to |
|00000510| 72 65 69 6e 73 74 61 6c | 6c 20 74 68 65 20 66 69 |reinstal|l the fi|
|00000520| 6c 65 73 79 73 74 65 6d | 20 66 72 6f 6d 0a 74 68 |lesystem| from.th|
|00000530| 65 20 49 6d 61 67 65 73 | 2e 0a 0a 41 20 7b 5c 74 |e Images|...A {\t|
|00000540| 74 20 73 79 6e 63 7d 20 | 69 73 20 64 6f 6e 65 20 |t sync} |is done |
|00000550| 6f 6e 6c 79 20 65 76 65 | 72 79 20 33 30 20 73 65 |only eve|ry 30 se|
|00000560| 63 6f 6e 64 73 20 6e 6f | 72 6d 61 6c 6c 79 20 28 |conds no|rmally (|
|00000570| 73 74 61 6e 64 61 72 64 | 20 75 6e 69 78 0a 70 72 |standard| unix.pr|
|00000580| 61 63 74 69 63 65 29 2c | 20 73 6f 20 64 6f 20 6f |actice),| so do o|
|00000590| 6e 65 20 62 79 20 68 61 | 6e 64 20 28 73 6f 6d 65 |ne by ha|nd (some|
|000005a0| 20 70 65 6f 70 6c 65 20 | 74 68 69 6e 6b 20 79 6f | people |think yo|
|000005b0| 75 20 73 68 6f 75 6c 64 | 20 64 6f 20 33 20 7b 5c |u should| do 3 {\|
|000005c0| 74 74 0a 73 79 6e 63 7d | 73 20 61 66 74 65 72 20 |tt.sync}|s after |
|000005d0| 65 61 63 68 20 6f 74 68 | 65 72 2c 20 62 75 74 20 |each oth|er, but |
|000005e0| 74 68 61 74 27 73 20 73 | 75 70 65 72 73 74 69 74 |that's s|uperstit|
|000005f0| 69 6f 6e 29 2c 20 6f 72 | 20 62 79 20 6c 6f 67 67 |ion), or| by logg|
|00000600| 69 6e 67 20 6f 75 74 0a | 66 72 6f 6d 20 74 68 65 |ing out.|from the|
|00000610| 20 73 74 61 72 74 75 70 | 2d 73 68 65 6c 6c 2c 20 | startup|-shell, |
|00000620| 77 68 69 63 68 20 61 75 | 74 6f 6d 61 74 69 63 61 |which au|tomatica|
|00000630| 6c 6c 79 20 73 79 6e 63 | 73 20 74 68 65 20 73 79 |lly sync|s the sy|
|00000640| 73 74 65 6d 2e 0a 55 6e | 6d 6f 75 6e 74 69 6e 67 |stem..Un|mounting|
|00000650| 20 61 20 66 69 6c 65 73 | 79 73 74 65 6d 20 61 6c | a files|ystem al|
|00000660| 73 6f 20 73 79 6e 63 73 | 20 69 74 20 28 62 75 74 |so syncs| it (but|
|00000670| 20 6f 66 20 63 6f 75 72 | 73 65 20 79 6f 75 20 63 | of cour|se you c|
|00000680| 61 6e 20 6e 65 76 65 72 | 0a 75 6e 6d 6f 75 6e 74 |an never|.unmount|
|00000690| 20 72 6f 6f 74 29 2e 0a | 0a 41 6e 6f 74 68 65 72 | root)..|.Another|
|000006a0| 20 28 73 61 64 29 20 70 | 6f 73 73 69 62 69 6c 69 | (sad) p|ossibili|
|000006b0| 74 79 20 69 73 20 74 68 | 61 74 20 79 6f 75 20 68 |ty is th|at you h|
|000006c0| 61 76 65 20 62 61 64 20 | 62 6c 6f 63 6b 73 20 6f |ave bad |blocks o|
|000006d0| 6e 20 79 6f 75 72 20 64 | 69 73 6b 2e 0a 4e 6f 74 |n your d|isk..Not|
|000006e0| 20 76 65 72 79 20 70 72 | 6f 62 61 62 6c 65 2c 20 | very pr|obable, |
|000006f0| 61 73 20 74 68 65 79 20 | 77 6f 75 6c 64 20 68 61 |as they |would ha|
|00000700| 76 65 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ve to be| in the |
|00000710| 69 6e 6f 64 65 2d 74 61 | 62 6c 65 73 2c 20 6a 75 |inode-ta|bles, ju|
|00000720| 73 74 0a 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 62 |st.a cou|ple of b|
|00000730| 6c 6f 63 6b 73 20 69 6e | 20 73 69 7a 65 2e 20 41 |locks in| size. A|
|00000740| 67 61 69 6e 20 74 68 65 | 72 65 20 61 72 65 6e 27 |gain the|re aren'|
|00000750| 74 20 70 72 6f 67 72 61 | 6d 73 20 61 76 61 69 6c |t progra|ms avail|
|00000760| 61 62 6c 65 20 74 6f 0a | 72 65 61 64 20 61 20 64 |able to.|read a d|
|00000770| 69 73 6b 20 66 6f 72 20 | 62 61 64 20 73 65 63 74 |isk for |bad sect|
|00000780| 6f 72 73 20 61 6e 64 20 | 70 75 74 20 74 68 65 6d |ors and |put them|
|00000790| 20 69 6e 20 73 6f 6d 65 | 20 6b 69 6e 64 20 6f 66 | in some| kind of|
|000007a0| 0a 22 62 61 64 2d 73 65 | 63 74 6f 72 2d 66 69 6c |."bad-se|ctor-fil|
|000007b0| 65 22 2e 20 20 4f 6e 20 | 49 44 45 20 64 72 69 76 |e". On |IDE driv|
|000007c0| 65 73 20 74 68 69 73 20 | 69 73 20 6e 6f 20 70 72 |es this |is no pr|
|000007d0| 6f 62 6c 65 6d 20 28 62 | 61 64 20 73 65 63 74 6f |oblem (b|ad secto|
|000007e0| 72 73 20 61 72 65 0a 61 | 75 74 6f 6d 61 74 69 63 |rs are.a|utomatic|
|000007f0| 61 6c 6c 79 20 6d 61 70 | 70 65 64 20 61 77 61 79 |ally map|ped away|
|00000800| 29 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |)...\beg|in{quest|
|00000810| 69 6f 6e 7d 20 48 6f 77 | 20 63 61 6e 20 49 20 70 |ion} How| can I p|
|00000820| 61 72 74 69 74 69 6f 6e | 20 6d 79 20 68 61 72 64 |artition| my hard|
|00000830| 2d 64 72 69 76 65 20 74 | 6f 20 75 73 65 0a 4c 69 |-drive t|o use.Li|
|00000840| 6e 75 78 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |nux?\end|{questio|
|00000850| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 54 68 65 72 65 |n}.\answ|er There|
|00000860| 20 61 72 65 20 28 61 74 | 20 6c 65 61 73 74 29 20 | are (at| least) |
|00000870| 74 77 6f 20 77 61 79 73 | 20 74 6f 20 61 6e 73 77 |two ways| to answ|
|00000880| 65 72 20 74 68 69 73 2e | 20 54 68 65 20 65 61 73 |er this.| The eas|
|00000890| 79 20 77 61 79 20 69 73 | 0a 70 72 6f 62 61 62 6c |y way is|.probabl|
|000008a0| 79 20 74 6f 20 75 73 65 | 20 61 20 70 72 6f 67 72 |y to use| a progr|
|000008b0| 61 6d 20 77 68 69 63 68 | 20 77 69 6c 6c 20 64 6f |am which| will do|
|000008c0| 20 69 74 20 66 6f 72 20 | 79 6f 75 2c 20 73 75 63 | it for |you, suc|
|000008d0| 68 20 61 73 20 74 68 65 | 20 4d 53 2d 44 4f 53 0a |h as the| MS-DOS.|
|000008e0| 7b 5c 74 74 20 66 64 69 | 73 6b 7d 2c 20 4d 69 6e |{\tt fdi|sk}, Min|
|000008f0| 69 78 20 7b 5c 74 74 20 | 66 64 69 73 6b 7d 2c 20 |ix {\tt |fdisk}, |
|00000900| 58 65 6e 69 78 2f 55 6e | 69 78 20 7b 5c 74 74 20 |Xenix/Un|ix {\tt |
|00000910| 66 64 69 73 6b 7d 2c 20 | 6f 72 20 70 72 6f 67 72 |fdisk}, |or progr|
|00000920| 61 6d 73 0a 73 75 63 68 | 20 61 73 20 7b 5c 74 74 |ams.such| as {\tt|
|00000930| 20 65 64 70 61 72 74 2e | 65 78 65 7d 20 6f 72 20 | edpart.|exe} or |
|00000940| 7b 5c 74 74 20 70 61 72 | 74 2e 65 78 65 7d 2e 20 |{\tt par|t.exe}. |
|00000950| 57 69 74 68 20 74 68 65 | 20 30 2e 39 35 61 0a 64 |With the| 0.95a.d|
|00000960| 69 73 74 72 69 62 75 74 | 69 6f 6e 2c 20 74 68 65 |istribut|ion, the|
|00000970| 72 65 20 69 73 20 7b 5c | 74 74 20 70 66 64 69 73 |re is {\|tt pfdis|
|00000980| 6b 7d 2e 20 54 6f 20 75 | 73 65 20 69 74 20 68 61 |k}. To u|se it ha|
|00000990| 76 65 20 61 20 6c 6f 6f | 6b 20 69 6e 20 74 68 65 |ve a loo|k in the|
|000009a0| 0a 62 65 67 69 6e 6e 65 | 72 27 73 20 67 75 69 64 |.beginne|r's guid|
|000009b0| 65 20 77 72 69 74 74 65 | 6e 20 62 79 20 49 2e 20 |e writte|n by I. |
|000009c0| 52 65 69 64 2c 20 69 74 | 27 73 20 63 6c 65 61 72 |Reid, it|'s clear|
|000009d0| 20 61 6e 64 20 69 74 20 | 68 61 64 20 77 6f 72 6b | and it |had work|
|000009e0| 65 64 20 66 6f 72 0a 6d | 65 20 6c 69 6b 65 20 61 |ed for.m|e like a|
|000009f0| 20 63 68 61 72 6d 2e 20 | 49 6e 20 74 68 65 20 6d | charm. |In the m|
|00000a00| 63 63 2d 69 6e 74 65 72 | 69 6d 20 72 65 6c 65 61 |cc-inter|im relea|
|00000a10| 73 65 20 74 68 65 72 65 | 20 69 73 20 61 6c 73 6f |se there| is also|
|00000a20| 20 7b 5c 73 66 0a 66 64 | 69 73 6b 2d 30 2e 39 32 | {\sf.fd|isk-0.92|
|00000a30| 7d 2c 20 77 68 69 63 68 | 20 72 75 6e 73 20 75 6e |}, which| runs un|
|00000a40| 64 65 72 20 4c 69 6e 75 | 78 20 61 6e 64 20 6d 61 |der Linu|x and ma|
|00000a50| 6e 61 67 65 73 20 70 61 | 72 74 69 74 69 6f 6e 20 |nages pa|rtition |
|00000a60| 74 61 62 6c 65 73 20 28 | 69 74 0a 61 6c 73 6f 20 |tables (|it.also |
|00000a70| 63 72 65 61 74 65 73 20 | 65 78 74 65 6e 64 65 64 |creates |extended|
|00000a80| 20 70 61 72 74 69 74 69 | 6f 6e 73 29 2e 0a 0a 4f | partiti|ons)...O|
|00000a90| 6e 20 74 68 65 20 6f 74 | 68 65 72 20 68 61 6e 64 |n the ot|her hand|
|00000aa0| 2c 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 61 20 |, you ca|n use a |
|00000ab0| 64 69 73 6b 20 65 64 69 | 74 6f 72 20 61 6e 64 20 |disk edi|tor and |
|00000ac0| 6d 6f 64 69 66 79 20 74 | 68 65 20 63 6f 6e 74 65 |modify t|he conte|
|00000ad0| 6e 74 73 0a 6f 66 20 74 | 68 65 20 70 61 72 74 69 |nts.of t|he parti|
|00000ae0| 74 69 6f 6e 20 74 61 62 | 6c 65 20 64 69 72 65 63 |tion tab|le direc|
|00000af0| 74 6c 79 2e 20 54 68 69 | 73 20 68 61 73 20 62 65 |tly. Thi|s has be|
|00000b00| 65 6e 20 61 6c 72 65 61 | 64 79 20 64 6f 6e 65 2c |en alrea|dy done,|
|00000b10| 20 61 6e 64 20 61 6e 0a | 65 78 74 65 6e 73 69 76 | and an.|extensiv|
|00000b20| 65 20 65 78 70 6c 61 6e | 61 74 6f 72 79 20 6e 6f |e explan|atory no|
|00000b30| 74 65 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |te can b|e found |
|00000b40| 69 6e 20 74 68 65 20 6d | 61 69 6c 69 6e 67 2d 6c |in the m|ailing-l|
|00000b50| 69 73 74 20 61 72 63 68 | 69 76 65 73 0a 28 32 35 |ist arch|ives.(25|
|00000b60| 74 68 20 4a 61 6e 2e 20 | 39 32 29 2e 20 59 6f 75 |th Jan. |92). You|
|00000b70| 20 6d 75 73 74 20 61 6c | 73 6f 20 65 64 69 74 20 | must al|so edit |
|00000b80| 74 68 65 20 62 70 62 20 | 6f 6e 20 74 68 65 20 44 |the bpb |on the D|
|00000b90| 6f 73 20 70 61 72 74 69 | 74 69 6f 6e 20 79 6f 75 |os parti|tion you|
|00000ba0| 0a 61 72 65 20 73 68 72 | 69 6e 6b 69 6e 67 2c 20 |.are shr|inking, |
|00000bb0| 6f 74 68 65 72 77 69 73 | 65 20 44 6f 73 20 77 69 |otherwis|e Dos wi|
|00000bc0| 6c 6c 20 73 74 65 70 20 | 6f 6e 20 4c 69 6e 75 78 |ll step |on Linux|
|00000bd0| 2e 0a 0a 42 54 57 20 49 | 74 20 6d 69 67 68 74 20 |...BTW I|t might |
|00000be0| 62 65 20 75 73 65 66 75 | 6c 20 74 6f 20 73 65 74 |be usefu|l to set|
|00000bf0| 20 74 68 72 65 65 20 28 | 33 29 20 73 65 70 61 72 | three (|3) separ|
|00000c00| 61 74 65 64 20 70 61 72 | 74 69 74 69 6f 6e 73 20 |ated par|titions |
|00000c10| 66 6f 72 0a 4c 69 6e 75 | 78 2c 20 6f 6e 65 20 66 |for.Linu|x, one f|
|00000c20| 6f 72 20 74 68 65 20 72 | 6f 6f 74 2c 20 61 6e 6f |or the r|oot, ano|
|00000c30| 74 68 65 72 20 6f 6e 65 | 20 66 6f 72 20 74 68 65 |ther one| for the|
|00000c40| 20 75 73 72 20 61 6e 64 | 20 61 20 74 68 69 72 64 | usr and| a third|
|00000c50| 20 6f 6e 65 20 66 6f 72 | 0a 73 77 61 70 2c 20 61 | one for|.swap, a|
|00000c60| 73 20 61 6e 20 69 6c 6c | 75 73 74 72 61 74 69 6f |s an ill|ustratio|
|00000c70| 6e 2c 20 6d 79 20 72 6f | 6f 74 20 70 61 72 74 69 |n, my ro|ot parti|
|00000c80| 74 69 6f 6e 20 69 73 20 | 31 30 4d 62 2c 20 74 68 |tion is |10Mb, th|
|00000c90| 65 20 75 73 72 20 69 73 | 20 32 32 4d 62 0a 61 6e |e usr is| 22Mb.an|
|00000ca0| 64 20 69 6e 73 74 65 61 | 64 20 6f 66 20 61 20 73 |d instea|d of a s|
|00000cb0| 77 61 70 20 70 61 72 74 | 69 74 69 6f 6e 20 49 20 |wap part|ition I |
|00000cc0| 75 73 65 20 61 20 73 77 | 61 70 20 66 69 6c 65 2e |use a sw|ap file.|
|00000cd0| 20 41 73 20 61 6e 20 65 | 78 70 65 72 69 65 6e 63 | As an e|xperienc|
|00000ce0| 65 20 49 0a 68 61 76 65 | 20 75 73 65 64 20 4d 53 |e I.have| used MS|
|00000cf0| 2d 44 4f 53 20 7b 5c 74 | 74 20 66 64 69 73 6b 7d |-DOS {\t|t fdisk}|
|00000d00| 20 74 6f 20 70 61 72 74 | 69 74 69 6f 6e 20 6d 79 | to part|ition my|
|00000d10| 20 74 77 6f 20 68 64 20 | 61 6e 64 20 67 6f 74 20 | two hd |and got |
|00000d20| 6e 6f 0a 70 65 63 75 6c | 69 61 72 20 64 69 66 66 |no.pecul|iar diff|
|00000d30| 69 63 75 6c 74 69 65 73 | 2e 0a 0a 59 6f 75 20 63 |iculties|...You c|
|00000d40| 61 6e 2c 20 61 73 20 6c | 6f 6e 67 20 61 73 20 79 |an, as l|ong as y|
|00000d50| 6f 75 20 73 74 61 79 20 | 77 69 74 68 69 6e 20 74 |ou stay |within t|
|00000d60| 68 65 20 36 34 4d 62 20 | 70 65 72 20 66 69 6c 65 |he 64Mb |per file|
|00000d70| 73 79 73 74 65 6d 20 6c | 69 6d 69 74 2c 0a 68 61 |system l|imit,.ha|
|00000d80| 76 65 20 73 77 61 70 2c | 20 72 6f 6f 74 2c 20 65 |ve swap,| root, e|
|00000d90| 74 63 2c 20 2e 2e 2e 20 | 61 6c 6c 20 6f 6e 20 74 |tc, ... |all on t|
|00000da0| 68 65 72 65 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |here...\|begin{qu|
|00000db0| 65 73 74 69 6f 6e 7d 20 | 49 20 68 65 61 72 64 20 |estion} |I heard |
|00000dc0| 73 6f 6d 65 74 68 69 6e | 67 20 61 62 6f 75 74 20 |somethin|g about |
|00000dd0| 72 65 70 61 72 74 69 74 | 69 6f 6e 20 61 20 68 61 |repartit|ion a ha|
|00000de0| 72 64 20 64 69 73 6b 0a | 77 69 74 68 6f 75 74 20 |rd disk.|without |
|00000df0| 64 65 6c 65 74 69 6e 67 | 20 65 76 65 72 79 74 68 |deleting| everyth|
|00000e00| 69 6e 67 20 6f 6e 20 69 | 74 2c 20 61 6e 79 20 63 |ing on i|t, any c|
|00000e10| 6c 75 65 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |lue?\end|{questio|
|00000e20| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 49 74 27 73 20 |n}.\answ|er It's |
|00000e30| 6e 6f 74 20 61 20 70 72 | 6f 67 72 61 6d 20 62 75 |not a pr|ogram bu|
|00000e40| 74 20 61 20 70 61 72 74 | 69 74 69 6f 6e 20 70 72 |t a part|ition pr|
|00000e50| 6f 63 65 64 75 72 65 20 | 77 68 69 63 68 20 72 65 |ocedure |which re|
|00000e60| 71 75 69 72 65 73 0a 5c | 62 65 67 69 6e 7b 69 74 |quires.\|begin{it|
|00000e70| 65 6d 69 7a 65 7d 0a 5c | 69 74 65 6d 20 61 20 70 |emize}.\|item a p|
|00000e80| 61 72 74 69 74 69 6f 6e | 6e 69 6e 67 20 70 72 6f |artition|ning pro|
|00000e90| 67 72 61 6d 0a 5c 69 74 | 65 6d 20 61 20 73 65 63 |gram.\it|em a sec|
|00000ea0| 74 6f 72 20 65 64 69 74 | 6f 72 0a 5c 65 6e 64 7b |tor edit|or.\end{|
|00000eb0| 69 74 65 6d 69 7a 65 7d | 0a 54 68 65 20 70 72 6f |itemize}|.The pro|
|00000ec0| 63 65 64 75 72 65 20 69 | 74 73 65 6c 66 20 63 61 |cedure i|tself ca|
|00000ed0| 6e 20 62 65 20 66 6f 75 | 6e 64 20 28 61 74 20 6c |n be fou|nd (at l|
|00000ee0| 65 61 73 74 29 20 69 6e | 20 64 69 67 65 73 74 5c |east) in| digest\|
|00000ef0| 23 31 33 32 20 56 6f 6c | 32 2e 0a 0a 5c 62 65 67 |#132 Vol|2...\beg|
|00000f00| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 57 68 61 |in{quest|ion} Wha|
|00000f10| 74 20 6d 75 73 74 20 49 | 20 64 6f 20 74 6f 20 7b |t must I| do to {|
|00000f20| 5c 74 74 20 6d 6b 66 73 | 7d 20 61 20 66 6c 6f 70 |\tt mkfs|} a flop|
|00000f30| 70 79 3f 5c 65 6e 64 7b | 71 75 65 73 74 69 6f 6e |py?\end{|question|
|00000f40| 7d 0a 5c 61 6e 73 77 65 | 72 20 62 6c 6f 63 6b 73 |}.\answe|r blocks|
|00000f50| 20 61 72 65 20 6f 66 20 | 73 69 7a 65 20 31 6b 62 | are of |size 1kb|
|00000f60| 20 73 6f 20 31 2e 34 34 | 20 66 6c 6f 70 70 79 20 | so 1.44| floppy |
|00000f70| 69 73 20 31 34 34 30 20 | 62 6c 6f 63 6b 73 2e 20 |is 1440 |blocks. |
|00000f80| 54 68 65 0a 66 6c 6f 70 | 70 79 20 68 61 73 20 74 |The.flop|py has t|
|00000f90| 6f 20 62 65 20 66 6f 72 | 6d 61 74 74 65 64 20 62 |o be for|matted b|
|00000fa0| 65 66 6f 72 65 20 74 68 | 69 73 20 77 69 6c 6c 20 |efore th|is will |
|00000fb0| 77 6f 72 6b 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |work...\|begin{qu|
|00000fc0| 65 73 74 69 6f 6e 7d 20 | 57 68 65 6e 20 49 20 74 |estion} |When I t|
|00000fd0| 72 79 20 74 6f 20 28 7b | 5c 74 74 20 75 6e 7d 29 |ry to ({|\tt un})|
|00000fe0| 7b 5c 74 74 20 63 6f 6d | 70 72 65 73 73 7d 20 6d |{\tt com|press} m|
|00000ff0| 61 6e 79 20 66 69 6c 65 | 73 20 69 6e 0a 6f 6e 65 |any file|s in.one|
|00001000| 20 63 6f 6d 6d 61 6e 64 | 2c 20 74 68 65 20 63 6f | command|, the co|
|00001010| 6d 6d 61 6e 64 20 70 61 | 72 74 69 61 6c 6c 79 20 |mmand pa|rtially |
|00001020| 66 61 69 6c 73 3f 5c 65 | 6e 64 7b 71 75 65 73 74 |fails?\e|nd{quest|
|00001030| 69 6f 6e 7d 0a 5c 61 6e | 73 77 65 72 20 54 68 69 |ion}.\an|swer Thi|
|00001040| 73 20 69 73 20 61 20 62 | 75 67 2c 20 6d 61 6e 79 |s is a b|ug, many|
|00001050| 20 70 61 72 74 69 61 6c | 20 66 69 78 65 73 20 61 | partial| fixes a|
|00001060| 72 65 20 66 6c 6f 61 74 | 69 6e 67 20 61 72 6f 75 |re float|ing arou|
|00001070| 6e 64 20 62 75 74 20 2e | 2e 0a 59 6f 75 20 63 61 |nd but .|..You ca|
|00001080| 6e 20 73 6f 6c 76 65 20 | 69 74 20 62 79 20 61 20 |n solve |it by a |
|00001090| 62 61 73 68 20 63 6f 6d | 6d 61 6e 64 5c 5c 20 7b |bash com|mand\\ {|
|000010a0| 5c 74 74 0a 66 6f 72 7e | 69 7e 69 6e 7e 77 68 61 |\tt.for~|i~in~wha|
|000010b0| 74 65 76 65 72 66 69 6c | 65 73 3b 64 6f 7e 63 6f |teverfil|es;do~co|
|000010c0| 6d 70 72 65 73 73 7e 5c | 24 69 3b 7e 64 6f 6e 65 |mpress~\|$i;~done|
|000010d0| 7d 20 41 6e 6f 74 68 65 | 72 20 70 6f 73 73 69 62 |} Anothe|r possib|
|000010e0| 69 6c 69 74 79 20 69 73 | 20 74 6f 0a 64 6f 77 6e |ility is| to.down|
|000010f0| 6c 6f 61 64 20 74 68 65 | 20 6e 65 77 20 7b 5c 74 |load the| new {\t|
|00001100| 74 20 74 61 72 7d 20 61 | 6e 64 20 7b 5c 74 74 20 |t tar} a|nd {\tt |
|00001110| 63 6f 6d 70 72 65 73 73 | 7d 20 62 69 6e 61 72 69 |compress|} binari|
|00001120| 65 73 20 28 61 74 20 7b | 5c 74 74 20 74 73 78 7d |es (at {|\tt tsx}|
|00001130| 20 7b 5c 73 66 0a 2f 70 | 75 62 2f 6c 69 6e 75 78 | {\sf./p|ub/linux|
|00001140| 2f 62 69 6e 61 72 69 65 | 73 2f 75 73 72 2e 62 69 |/binarie|s/usr.bi|
|00001150| 6e 7d 29 2e 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |n})...\b|egin{que|
|00001160| 73 74 69 6f 6e 7d 20 49 | 20 68 61 76 65 20 73 6f |stion} I| have so|
|00001170| 6d 65 20 74 72 6f 75 62 | 6c 65 20 77 69 74 68 20 |me troub|le with |
|00001180| 74 61 72 2f 75 6e 74 61 | 72 3b 20 61 6e 79 0a 63 |tar/unta|r; any.c|
|00001190| 6c 75 65 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |lue?\end|{questio|
|000011a0| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 54 68 65 20 7b |n}.\answ|er The {|
|000011b0| 5c 74 74 20 74 61 72 7d | 20 70 72 6f 76 69 64 65 |\tt tar}| provide|
|000011c0| 64 20 6f 6e 20 2e 39 35 | 61 20 64 69 73 6b 20 69 |d on .95|a disk i|
|000011d0| 73 20 62 72 6f 6b 65 6e | 2e 20 55 73 65 20 74 68 |s broken|. Use th|
|000011e0| 65 20 6f 6e 65 0a 61 76 | 61 69 6c 61 62 6c 65 20 |e one.av|ailable |
|000011f0| 61 74 20 7b 5c 74 74 20 | 74 73 78 2d 31 31 7d 20 |at {\tt |tsx-11} |
|00001200| 69 6e 20 7b 5c 73 66 20 | 2f 70 75 62 2f 6c 69 6e |in {\sf |/pub/lin|
|00001210| 75 78 2f 62 69 6e 61 72 | 69 65 73 2f 75 73 72 2e |ux/binar|ies/usr.|
|00001220| 62 69 6e 7d 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |bin}..\b|egin{que|
|00001230| 73 74 69 6f 6e 7d 20 49 | 20 63 61 6e 20 64 6f 20 |stion} I| can do |
|00001240| 74 68 69 73 20 61 73 20 | 72 6f 6f 74 20 62 75 74 |this as |root but|
|00001250| 20 6e 6f 74 20 61 73 20 | 6e 6f 6e 2d 72 6f 6f 74 | not as |non-root|
|00001260| 2c 20 69 73 20 69 74 20 | 61 0a 62 75 67 3f 5c 65 |, is it |a.bug?\e|
|00001270| 6e 64 7b 71 75 65 73 74 | 69 6f 6e 7d 0a 5c 61 6e |nd{quest|ion}.\an|
|00001280| 73 77 65 72 20 45 78 63 | 65 70 74 20 66 6f 72 20 |swer Exc|ept for |
|00001290| 61 6e 20 65 61 72 6c 79 | 20 7b 5c 74 74 20 6d 61 |an early| {\tt ma|
|000012a0| 6b 65 7d 20 75 74 69 6c | 69 74 79 2c 20 74 68 65 |ke} util|ity, the|
|000012b0| 20 70 72 6f 62 6c 65 6d | 20 69 73 20 63 61 75 73 | problem| is caus|
|000012c0| 65 64 0a 62 79 20 61 6e | 20 69 6e 63 6f 72 72 65 |ed.by an| incorre|
|000012d0| 63 74 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 66 6c |ct permi|ssion fl|
|000012e0| 61 67 2e 20 54 68 65 20 | 6d 6f 73 74 20 63 6f 6d |ag. The |most com|
|000012f0| 6d 6f 6e 20 70 72 6f 62 | 6c 65 6d 73 20 61 72 65 |mon prob|lems are|
|00001300| 20 61 62 6f 75 74 0a 7b | 5c 73 66 20 2f 74 6d 70 | about.{|\sf /tmp|
|00001310| 7d 20 77 68 69 63 68 20 | 73 68 6f 75 6c 64 20 62 |} which |should b|
|00001320| 65 20 31 37 37 37 20 61 | 6e 64 20 7b 5c 73 66 20 |e 1777 a|nd {\sf |
|00001330| 2f 64 65 76 2f 74 74 79 | 73 3f 7d 20 77 68 69 63 |/dev/tty|s?} whic|
|00001340| 68 20 6d 69 67 68 74 20 | 62 65 20 37 36 36 2e 20 |h might |be 766. |
|00001350| 53 6f 20 61 73 0a 72 6f | 6f 74 20 64 6f 5c 5c 20 |So as.ro|ot do\\ |
|00001360| 7b 5c 74 74 20 63 68 6d | 6f 64 7e 31 37 37 37 7e |{\tt chm|od~1777~|
|00001370| 2f 74 6d 70 7e 3b 7e 63 | 68 6d 6f 64 7e 37 36 36 |/tmp~;~c|hmod~766|
|00001380| 7e 2f 64 65 76 2f 74 74 | 79 73 3f 7d 0a 0a 5c 62 |~/dev/tt|ys?}..\b|
|00001390| 65 67 69 6e 7b 71 75 65 | 73 74 69 6f 6e 7d 20 57 |egin{que|stion} W|
|000013a0| 68 65 6e 20 49 20 75 73 | 65 20 7b 5c 74 74 20 6d |hen I us|e {\tt m|
|000013b0| 61 6b 65 7d 20 61 73 20 | 6e 6f 6e 20 72 6f 6f 74 |ake} as |non root|
|000013c0| 2c 20 69 74 20 64 6f 65 | 73 6e 27 74 20 77 6f 72 |, it doe|sn't wor|
|000013d0| 6b 2c 0a 77 68 79 3f 5c | 65 6e 64 7b 71 75 65 73 |k,.why?\|end{ques|
|000013e0| 74 69 6f 6e 7d 0a 5c 61 | 6e 73 77 65 72 20 3f 3f |tion}.\a|nswer ??|
|000013f0| 3f 3f 3f 2c 20 74 68 65 | 20 6d 65 73 73 61 67 65 |???, the| message|
|00001400| 20 69 73 20 65 69 74 68 | 65 72 20 28 6e 75 6c 6c | is eith|er (null|
|00001410| 29 20 73 65 74 75 69 64 | 20 2e 2e 2e 2c 20 6f 72 |) setuid| ..., or|
|00001420| 20 28 6e 75 6c 6c 29 0a | 73 65 74 67 69 64 2e 2e | (null).|setgid..|
|00001430| 2e 20 54 68 69 73 20 77 | 61 73 20 61 20 6b 6e 6f |. This w|as a kno|
|00001440| 77 6e 20 62 75 67 20 69 | 6e 20 74 68 65 20 66 69 |wn bug i|n the fi|
|00001450| 72 73 74 20 70 6f 72 74 | 20 6f 66 20 47 6e 75 2d |rst port| of Gnu-|
|00001460| 6d 61 6b 65 20 74 6f 20 | 4c 69 6e 75 78 2e 0a 4d |make to |Linux..M|
|00001470| 61 79 20 62 65 20 74 68 | 69 73 20 69 73 20 66 69 |ay be th|is is fi|
|00001480| 78 65 64 20 69 6e 20 74 | 68 65 20 67 6d 61 6b 65 |xed in t|he gmake|
|00001490| 2d 33 2e 36 32 20 76 65 | 72 73 69 6f 6e 20 65 6e |-3.62 ve|rsion en|
|000014a0| 63 6c 6f 73 65 64 20 69 | 6e 20 7b 5c 73 66 0a 67 |closed i|n {\sf.g|
|000014b0| 6d 61 6b 65 2d 33 2e 36 | 32 2e 74 61 72 2e 5a 7d |make-3.6|2.tar.Z}|
|000014c0| 20 28 61 74 20 7b 5c 74 | 74 20 74 73 78 2d 31 31 | (at {\t|t tsx-11|
|000014d0| 7d 20 69 6e 20 7b 5c 73 | 66 20 70 75 62 2f 6c 69 |} in {\s|f pub/li|
|000014e0| 6e 75 78 2f 62 69 6e 61 | 72 69 65 73 7d 29 2e 49 |nux/bina|ries}).I|
|000014f0| 6e 20 66 61 63 74 20 74 | 68 65 20 6f 6e 65 0a 70 |n fact t|he one.p|
|00001500| 72 6f 76 69 64 65 64 20 | 69 6e 20 6d 63 63 2d 69 |rovided |in mcc-i|
|00001510| 6e 74 65 72 69 6d 20 69 | 73 20 63 6f 72 72 65 63 |nterim i|s correc|
|00001520| 74 2e 0a 0a 42 54 57 20 | 54 68 69 73 20 70 72 6f |t...BTW |This pro|
|00001530| 62 6c 65 6d 20 64 6f 65 | 73 20 6e 6f 74 20 65 78 |blem doe|s not ex|
|00001540| 69 73 74 20 77 69 74 68 | 20 74 68 65 20 7b 5c 74 |ist with| the {\t|
|00001550| 74 20 70 6d 61 6b 65 7d | 20 28 6d 61 6b 65 20 66 |t pmake}| (make f|
|00001560| 6f 72 20 42 53 44 20 34 | 2e 33 0a 52 65 6e 6f 20 |or BSD 4|.3.Reno |
|00001570| 61 6e 64 20 42 53 44 20 | 34 2e 34 29 20 70 61 63 |and BSD |4.4) pac|
|00001580| 6b 61 67 65 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |kage...\|begin{qu|
|00001590| 65 73 74 69 6f 6e 7d 20 | 64 75 20 72 65 70 6f 72 |estion} |du repor|
|000015a0| 74 73 20 74 77 69 63 65 | 20 74 68 65 20 73 69 7a |ts twice| the siz|
|000015b0| 65 20 73 68 6f 77 65 64 | 20 77 69 74 68 20 6c 73 |e showed| with ls|
|000015c0| 20 2d 6c 2c 20 69 73 20 | 69 74 20 61 20 62 75 67 | -l, is |it a bug|
|000015d0| 3f 5c 65 6e 64 7b 71 75 | 65 73 74 69 6f 6e 7d 0a |?\end{qu|estion}.|
|000015e0| 5c 61 6e 73 77 65 72 20 | 4e 6f 20 69 74 20 69 73 |\answer |No it is|
|000015f0| 20 6e 6f 74 2c 20 74 68 | 65 20 72 65 70 6f 72 74 | not, th|e report|
|00001600| 20 69 73 20 35 31 32 20 | 62 79 74 65 73 20 6d 75 | is 512 |bytes mu|
|00001610| 6c 74 69 70 6c 65 20 28 | 64 75 65 20 74 6f 20 50 |ltiple (|due to P|
|00001620| 4f 53 49 58 0a 72 65 71 | 75 69 72 65 6d 65 6e 74 |OSIX.req|uirement|
|00001630| 29 2c 20 66 6f 72 20 6b | 62 20 79 6f 75 20 6a 75 |), for k|b you ju|
|00001640| 73 74 20 61 64 64 20 74 | 68 65 20 7b 5c 74 74 20 |st add t|he {\tt |
|00001650| 2d 6b 7d 20 66 6c 61 67 | 2e 20 59 6f 75 20 63 61 |-k} flag|. You ca|
|00001660| 6e 20 61 64 64 20 61 0a | 7b 5c 74 74 20 64 75 7d |n add a.|{\tt du}|
|00001670| 20 66 75 6e 63 74 69 6f | 6e 20 69 6e 20 79 6f 75 | functio|n in you|
|00001680| 72 20 2e 70 72 6f 66 69 | 6c 65 20 77 68 69 63 68 |r .profi|le which|
|00001690| 20 64 6f 65 73 20 74 68 | 69 73 20 61 75 74 6f 6d | does th|is autom|
|000016a0| 61 74 69 63 61 6c 6c 79 | 2c 0a 73 6f 6d 65 74 68 |atically|,.someth|
|000016b0| 69 6e 67 20 6c 69 6b 65 | 5c 5c 20 7b 5c 74 74 20 |ing like|\\ {\tt |
|000016c0| 64 75 28 29 5c 7b 7e 2f | 75 73 72 2f 62 69 6e 2f |du()\{~/|usr/bin/|
|000016d0| 64 75 7e 2d 6b 7e 5c 24 | 2a 5c 7d 7d 0a 20 20 20 |du~-k~\$|*\}}. |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001700| 20 20 20 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 | .\beg|in{quest|
|00001710| 69 6f 6e 7d 20 53 6f 6d | 65 74 69 6d 65 73 2c 20 |ion} Som|etimes, |
|00001720| 49 20 67 65 74 20 22 6d | 6f 75 6e 74 20 63 61 6e |I get "m|ount can|
|00001730| 27 74 20 6f 70 65 6e 20 | 6c 6f 63 6b 20 66 69 6c |'t open |lock fil|
|00001740| 65 22 3b 20 77 68 61 74 | 0a 64 6f 65 73 20 74 68 |e"; what|.does th|
|00001750| 69 73 20 6d 65 61 6e 3f | 5c 65 6e 64 7b 71 75 65 |is mean?|\end{que|
|00001760| 73 74 69 6f 6e 7d 0a 5c | 61 6e 73 77 65 72 20 54 |stion}.\|answer T|
|00001770| 68 69 73 20 63 61 6e 20 | 68 61 70 70 65 6e 20 66 |his can |happen f|
|00001780| 6f 72 20 74 77 6f 20 72 | 65 61 73 6f 6e 73 3a 0a |or two r|easons:.|
|00001790| 5c 62 65 67 69 6e 7b 65 | 6e 75 6d 65 72 61 74 65 |\begin{e|numerate|
|000017a0| 7d 0a 5c 69 74 65 6d 20 | 59 6f 75 20 74 72 79 20 |}.\item |You try |
|000017b0| 74 6f 20 7b 5c 74 74 20 | 6d 6f 75 6e 74 7d 20 73 |to {\tt |mount} s|
|000017c0| 6f 6d 65 74 68 69 6e 67 | 20 61 73 20 6e 6f 6e 2d |omething| as non-|
|000017d0| 72 6f 6f 74 2e 20 49 6e | 20 74 68 61 74 20 63 61 |root. In| that ca|
|000017e0| 73 65 20 79 6f 75 0a 63 | 61 6e 20 65 69 74 68 65 |se you.c|an eithe|
|000017f0| 72 20 72 65 74 72 79 20 | 61 73 20 72 6f 6f 74 2c |r retry |as root,|
|00001800| 20 6f 72 20 73 65 74 20 | 74 68 65 20 73 65 74 75 | or set |the setu|
|00001810| 69 64 20 62 69 74 20 74 | 6f 20 6d 6f 75 6e 74 2e |id bit t|o mount.|
|00001820| 20 5c 69 74 65 6d 20 59 | 6f 75 0a 61 72 65 20 72 | \item Y|ou.are r|
|00001830| 6f 6f 74 2e 20 7b 5c 74 | 74 20 6d 6f 75 6e 74 7d |oot. {\t|t mount}|
|00001840| 20 77 61 6e 74 73 20 74 | 6f 20 6f 70 65 6e 20 7b | wants t|o open {|
|00001850| 5c 73 66 20 2f 65 74 63 | 2f 6d 74 61 62 7d 20 61 |\sf /etc|/mtab} a|
|00001860| 6e 64 20 7b 5c 73 66 0a | 2f 65 74 63 2f 6d 74 61 |nd {\sf.|/etc/mta|
|00001870| 62 5c 7e 5c 20 7d 2d 20 | 74 68 65 20 66 69 72 73 |b\~\ }- |the firs|
|00001880| 74 20 6f 6e 65 20 66 6f | 72 20 72 65 61 64 69 6e |t one fo|r readin|
|00001890| 67 2c 20 74 68 65 20 73 | 65 63 6f 6e 64 20 61 73 |g, the s|econd as|
|000018a0| 20 6c 6f 63 6b 20 66 69 | 6c 65 2e 20 49 66 0a 74 | lock fi|le. If.t|
|000018b0| 68 65 72 65 20 69 73 20 | 61 6c 72 65 61 64 79 20 |here is |already |
|000018c0| 61 20 7b 5c 73 66 20 6d | 74 61 62 5c 7e 5c 20 7d |a {\sf m|tab\~\ }|
|000018d0| 20 72 65 6d 6f 76 65 20 | 69 74 2e 20 54 68 69 73 | remove |it. This|
|000018e0| 20 63 61 6e 20 68 61 70 | 70 65 6e 20 69 66 20 79 | can hap|pen if y|
|000018f0| 6f 75 0a 75 73 65 64 20 | 6f 6e 63 65 20 67 6e 75 |ou.used |once gnu|
|00001900| 65 6d 61 63 73 20 6f 6e | 20 7b 5c 73 66 20 6d 74 |emacs on| {\sf mt|
|00001910| 61 62 7d 2e 5c 5c 20 54 | 6f 20 66 6f 72 62 69 64 |ab}.\\ T|o forbid|
|00001920| 20 74 68 61 74 20 63 61 | 73 65 2c 20 6a 75 73 74 | that ca|se, just|
|00001930| 20 61 64 64 20 74 68 65 | 0a 66 6f 6c 6c 6f 77 69 | add the|.followi|
|00001940| 6e 67 20 65 6e 74 72 79 | 20 69 6e 20 79 6f 75 72 |ng entry| in your|
|00001950| 20 7b 5c 73 66 20 2f 65 | 74 63 2f 72 63 7d 20 66 | {\sf /e|tc/rc} f|
|00001960| 69 6c 65 3a 5c 5c 20 7b | 5c 74 74 20 72 6d 7e 2d |ile:\\ {|\tt rm~-|
|00001970| 66 7e 2f 65 74 63 2f 6d | 74 61 62 7d 0a 5c 65 6e |f~/etc/m|tab}.\en|
|00001980| 64 7b 65 6e 75 6d 65 72 | 61 74 65 7d 0a 0a 5c 62 |d{enumer|ate}..\b|
|00001990| 65 67 69 6e 7b 71 75 65 | 73 74 69 6f 6e 7d 20 57 |egin{que|stion} W|
|000019a0| 68 65 6e 20 49 20 74 72 | 79 20 6d 6f 75 6e 74 20 |hen I tr|y mount |
|000019b0| 2f 64 65 76 2f 68 64 3f | 3f 20 2f 75 73 65 72 2c |/dev/hd?|? /user,|
|000019c0| 20 49 20 67 65 74 0a 65 | 72 72 6f 72 7e 32 2e 5c | I get.e|rror~2.\|
|000019d0| 65 6e 64 7b 71 75 65 73 | 74 69 6f 6e 7d 0a 5c 61 |end{ques|tion}.\a|
|000019e0| 6e 73 77 65 72 20 42 65 | 20 73 75 72 65 2c 20 74 |nswer Be| sure, t|
|000019f0| 68 61 74 20 79 6f 75 72 | 20 6d 6f 75 6e 74 20 70 |hat your| mount p|
|00001a00| 6f 69 6e 74 20 7b 5c 73 | 66 20 2f 75 73 65 72 7d |oint {\s|f /user}|
|00001a10| 20 64 6f 65 73 20 65 78 | 69 73 74 3b 20 69 66 20 | does ex|ist; if |
|00001a20| 6e 6f 74 0a 70 65 72 66 | 6f 72 6d 20 61 5c 5c 20 |not.perf|orm a\\ |
|00001a30| 7b 5c 74 74 20 6d 6b 64 | 69 72 7e 2f 75 73 65 72 |{\tt mkd|ir~/user|
|00001a40| 7d 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |}...\beg|in{quest|
|00001a50| 69 6f 6e 7d 20 53 69 6e | 63 65 20 49 20 68 61 76 |ion} Sin|ce I hav|
|00001a60| 65 20 75 70 67 72 61 64 | 65 20 6d 79 20 4c 69 6e |e upgrad|e my Lin|
|00001a70| 75 78 20 6b 65 72 6e 65 | 6c 2c 20 70 73 20 77 6f |ux kerne|l, ps wo|
|00001a80| 6e 27 74 0a 77 6f 72 6b | 20 61 6e 79 6d 6f 72 65 |n't.work| anymore|
|00001a90| 2c 20 77 68 79 3f 5c 65 | 6e 64 7b 71 75 65 73 74 |, why?\e|nd{quest|
|00001aa0| 69 6f 6e 7d 0a 5c 61 6e | 73 77 65 72 20 45 61 63 |ion}.\an|swer Eac|
|00001ab0| 68 20 74 69 6d 65 20 79 | 6f 75 20 75 70 67 72 61 |h time y|ou upgra|
|00001ac0| 64 65 20 28 6f 72 20 72 | 65 2d 63 6f 6d 70 69 6c |de (or r|e-compil|
|00001ad0| 65 20 74 68 65 20 6b 65 | 72 6e 65 6c 29 2c 20 79 |e the ke|rnel), y|
|00001ae0| 6f 75 20 73 68 6f 75 6c | 64 0a 70 65 72 66 6f 72 |ou shoul|d.perfor|
|00001af0| 6d 20 61 5c 5c 20 7b 5c | 74 74 20 70 73 7e 2d 55 |m a\\ {\|tt ps~-U|
|00001b00| 7d 5c 5c 20 28 7b 5c 74 | 74 7e 2d 55 7d 20 69 73 |}\\ ({\t|t~-U} is|
|00001b10| 20 66 6f 72 20 75 70 64 | 61 74 65 20 74 68 65 0a | for upd|ate the.|
|00001b20| 7b 5c 73 66 20 2f 65 74 | 63 2f 70 73 64 61 74 61 |{\sf /et|c/psdata|
|00001b30| 62 61 73 65 7d 29 2e 0a | 0a 45 76 65 72 79 20 74 |base})..|.Every t|
|00001b40| 69 6d 65 20 79 6f 75 20 | 62 6f 6f 74 20 61 20 6e |ime you |boot a n|
|00001b50| 65 77 20 6b 65 72 6e 65 | 6c 20 79 6f 75 20 68 61 |ew kerne|l you ha|
|00001b60| 76 65 20 74 6f 20 64 6f | 20 61 5c 5c 20 7b 5c 74 |ve to do| a\\ {\t|
|00001b70| 74 20 70 73 7e 55 7d 5c | 5c 20 74 6f 0a 75 70 64 |t ps~U}\|\ to.upd|
|00001b80| 61 74 65 20 74 68 65 20 | 7b 5c 73 66 20 70 73 64 |ate the |{\sf psd|
|00001b90| 61 74 61 62 61 73 65 7d | 2c 20 61 66 74 65 72 20 |atabase}|, after |
|00001ba0| 64 6f 69 6e 67 20 74 68 | 69 73 20 79 6f 75 20 63 |doing th|is you c|
|00001bb0| 61 6e 20 72 65 6d 6f 76 | 65 20 74 68 65 0a 73 79 |an remov|e the.sy|
|00001bc0| 73 74 65 6d 20 66 69 6c | 65 20 6f 72 20 64 6f 20 |stem fil|e or do |
|00001bd0| 61 5c 5c 20 7b 5c 74 74 | 20 6d 61 6b 65 7e 63 6c |a\\ {\tt| make~cl|
|00001be0| 65 61 6e 7d 2e 5c 5c 0a | 0a 54 68 65 20 70 61 74 |ean}.\\.|.The pat|
|00001bf0| 68 6e 61 6d 65 20 74 6f | 20 74 68 65 20 73 79 73 |hname to| the sys|
|00001c00| 74 65 6d 20 62 69 6e 61 | 72 79 20 7b 5c 73 66 20 |tem bina|ry {\sf |
|00001c10| 2f 75 73 72 2f 73 72 63 | 2f 6c 69 6e 75 78 2f 74 |/usr/src|/linux/t|
|00001c20| 6f 6f 6c 73 2f 73 79 73 | 74 65 6d 7d 20 69 73 0a |ools/sys|tem} is.|
|00001c30| 73 74 6f 72 65 64 20 69 | 6e 20 74 68 65 20 7b 5c |stored i|n the {\|
|00001c40| 73 66 20 70 73 64 61 74 | 61 62 61 73 65 7d 2c 20 |sf psdat|abase}, |
|00001c50| 73 6f 20 79 6f 75 20 6f | 6e 6c 79 20 68 61 76 65 |so you o|nly have|
|00001c60| 20 74 6f 20 73 70 65 63 | 69 66 79 20 69 74 20 69 | to spec|ify it i|
|00001c70| 66 20 79 6f 75 0a 68 61 | 76 65 20 6d 6f 76 65 64 |f you.ha|ve moved|
|00001c80| 20 79 6f 75 72 20 73 6f | 75 72 63 65 20 74 72 65 | your so|urce tre|
|00001c90| 65 20 6f 72 20 69 66 20 | 79 6f 75 20 61 72 65 20 |e or if |you are |
|00001ca0| 63 72 65 61 74 69 6e 67 | 20 74 68 65 20 7b 5c 73 |creating| the {\s|
|00001cb0| 66 0a 70 73 64 61 74 61 | 62 61 73 65 7d 20 66 6f |f.psdata|base} fo|
|00001cc0| 72 20 74 68 65 20 66 69 | 72 73 74 20 74 69 6d 65 |r the fi|rst time|
|00001cd0| 2e 20 54 68 65 20 7b 5c | 73 66 20 70 73 64 61 74 |. The {\|sf psdat|
|00001ce0| 61 62 61 73 65 7d 20 69 | 73 20 61 6c 77 61 79 73 |abase} i|s always|
|00001cf0| 20 7b 5c 73 66 0a 2f 65 | 74 63 2f 70 73 64 61 74 | {\sf./e|tc/psdat|
|00001d00| 61 62 61 73 65 7d 2e 20 | 54 68 65 20 73 79 73 74 |abase}. |The syst|
|00001d10| 65 6d 20 66 69 6c 65 20 | 69 73 20 6f 62 74 61 69 |em file |is obtai|
|00001d20| 6e 65 64 20 69 6e 20 63 | 6f 6d 70 69 6c 69 6e 67 |ned in c|ompiling|
|00001d30| 20 74 68 65 20 4c 69 6e | 75 78 0a 6b 65 72 6e 65 | the Lin|ux.kerne|
|00001d40| 6c 20 28 77 68 69 63 68 | 20 49 20 61 73 73 75 6d |l (which| I assum|
|00001d50| 65 20 69 73 20 72 6f 6f | 74 65 64 20 69 6e 20 7b |e is roo|ted in {|
|00001d60| 5c 73 66 20 2f 75 73 72 | 2f 73 72 63 2f 6c 69 6e |\sf /usr|/src/lin|
|00001d70| 75 78 7d 29 2e 0a 0a 42 | 54 57 3a 20 46 6f 72 20 |ux})...B|TW: For |
|00001d80| 30 2e 39 36 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |0.96 you| should |
|00001d90| 64 6f 77 6e 6c 6f 61 64 | 20 74 68 65 20 6e 65 77 |download| the new|
|00001da0| 20 7b 5c 73 66 20 70 73 | 7d 20 69 74 27 73 20 61 | {\sf ps|} it's a|
|00001db0| 74 20 7b 5c 74 74 0a 74 | 73 78 2d 31 31 7d 20 69 |t {\tt.t|sx-11} i|
|00001dc0| 6e 0a 7b 5c 73 66 20 2f | 70 75 62 2f 6c 69 6e 75 |n.{\sf /|pub/linu|
|00001dd0| 78 2f 73 6f 75 72 63 65 | 73 2f 62 69 6e 2f 70 73 |x/source|s/bin/ps|
|00001de0| 30 39 36 62 2e 74 61 72 | 2e 5a 7d 0a 0a 5c 62 65 |096b.tar|.Z}..\be|
|00001df0| 67 69 6e 7b 71 75 65 73 | 74 69 6f 6e 7d 20 53 69 |gin{ques|tion} Si|
|00001e00| 6e 63 65 20 4c 69 6e 75 | 78 20 30 2e 39 36 62 20 |nce Linu|x 0.96b |
|00001e10| 49 20 68 61 76 65 20 61 | 20 6c 6f 74 20 6f 66 20 |I have a| lot of |
|00001e20| 63 6f 72 65 20 66 69 6c | 65 20 61 6c 6c 20 6f 76 |core fil|e all ov|
|00001e30| 65 72 0a 6d 79 20 64 69 | 73 6b 2e 20 48 6f 77 20 |er.my di|sk. How |
|00001e40| 63 61 6e 20 49 20 73 77 | 65 65 70 20 74 68 65 6d |can I sw|eep them|
|00001e50| 20 61 77 61 79 3f 5c 65 | 6e 64 7b 71 75 65 73 74 | away?\e|nd{quest|
|00001e60| 69 6f 6e 7d 0a 5c 61 6e | 73 77 65 72 20 55 73 65 |ion}.\an|swer Use|
|00001e70| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | the fol|lowing c|
|00001e80| 6f 6d 6d 61 6e 64 5c 5c | 20 7b 5c 74 74 0a 66 69 |ommand\\| {\tt.fi|
|00001e90| 6e 64 7e 24 5c 62 61 63 | 6b 73 6c 61 73 68 24 7e |nd~$\bac|kslash$~|
|00001ea0| 2d 6e 61 6d 65 7e 63 6f | 72 65 7e 2d 65 78 65 63 |-name~co|re~-exec|
|00001eb0| 7e 72 6d 7e 5c 7b 5c 7d | 7e 24 5c 62 61 63 6b 73 |~rm~\{\}|~$\backs|
|00001ec0| 6c 61 73 68 24 3b 7d 0a | 0a 25 2d 2d 2d 2d 2d 2d |lash$;}.|.%------|
|00001ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|00001f10| 0a 5c 73 65 63 74 69 6f | 6e 7b 49 6e 73 74 61 6c |.\sectio|n{Instal|
|00001f20| 6c 61 74 69 6f 6e 20 68 | 69 6e 74 73 7d 5c 6c 61 |lation h|ints}\la|
|00001f30| 62 65 6c 7b 69 6e 73 74 | 61 6c 68 69 6e 74 73 7d |bel{inst|alhints}|
|00001f40| 0a 0a 53 70 65 63 69 61 | 6c 20 67 63 63 20 69 6e |..Specia|l gcc in|
|00001f50| 66 6f 72 6d 61 74 69 6f | 6e 20 61 72 65 20 6c 6f |formatio|n are lo|
|00001f60| 63 61 74 65 64 20 69 6e | 20 73 65 63 74 69 6f 6e |cated in| section|
|00001f70| 7e 5c 72 65 66 7b 67 63 | 63 69 6e 66 6f 7d 2e 20 |~\ref{gc|cinfo}. |
|00001f80| 41 0a 73 70 65 63 69 61 | 6c 20 73 65 63 74 69 6f |A.specia|l sectio|
|00001f90| 6e 20 69 73 20 64 65 76 | 6f 74 65 64 20 74 6f 20 |n is dev|oted to |
|00001fa0| 69 74 20 73 69 6e 63 65 | 20 69 74 27 73 20 5c 65 |it since| it's \e|
|00001fb0| 6d 20 74 68 65 20 5c 65 | 6d 20 63 6f 6d 70 69 6c |m the \e|m compil|
|00001fc0| 65 72 20 6f 66 0a 4c 69 | 6e 75 78 2e 20 49 20 68 |er of.Li|nux. I h|
|00001fd0| 61 76 65 20 73 65 63 74 | 69 6f 6e 6e 65 64 20 74 |ave sect|ionned t|
|00001fe0| 68 69 73 20 70 61 72 74 | 20 69 6e 20 4d 69 73 63 |his part| in Misc|
|00001ff0| 2f 44 65 76 69 63 65 20 | 4d 61 6a 6f 72 2d 4d 69 |/Device |Major-Mi|
|00002000| 6e 6f 72 2f 53 65 72 69 | 61 6c 0a 49 6e 66 6f 72 |nor/Seri|al.Infor|
|00002010| 6d 61 74 69 6f 6e 2e 0a | 0a 5c 73 75 62 73 65 63 |mation..|.\subsec|
|00002020| 74 69 6f 6e 7b 4d 69 73 | 63 65 6c 6c 61 6e 65 6f |tion{Mis|cellaneo|
|00002030| 75 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 7d 0a |us infor|mation}.|
|00002040| 0a 5c 62 65 67 69 6e 7b | 71 75 65 73 74 69 6f 6e |.\begin{|question|
|00002050| 7d 20 49 27 76 65 20 67 | 6f 74 20 61 6c 6c 20 74 |} I've g|ot all t|
|00002060| 68 65 20 74 68 69 6e 67 | 73 20 6f 6e 20 73 69 74 |he thing|s on sit|
|00002070| 65 20 3f 3f 3f 20 62 75 | 74 20 49 20 64 6f 6e 27 |e ??? bu|t I don'|
|00002080| 74 20 6b 6e 6f 77 0a 77 | 68 61 74 20 67 6f 65 73 |t know.w|hat goes|
|00002090| 20 77 68 65 72 65 2e 20 | 5c 65 6e 64 7b 71 75 65 | where. |\end{que|
|000020a0| 73 74 69 6f 6e 7d 0a 5c | 61 6e 73 77 65 72 20 52 |stion}.\|answer R|
|000020b0| 65 61 64 20 74 68 69 73 | 20 63 61 72 65 66 75 6c |ead this| careful|
|000020c0| 6c 79 2c 20 69 74 27 73 | 20 61 20 6d 65 73 73 20 |ly, it's| a mess |
|000020d0| 72 69 67 68 74 20 6b 6e | 6f 77 20 61 6e 64 20 49 |right kn|ow and I|
|000020e0| 20 68 6f 70 65 20 74 68 | 69 73 0a 70 72 6f 62 6c | hope th|is.probl|
|000020f0| 65 6d 20 77 69 6c 6c 20 | 62 65 20 66 69 78 65 64 |em will |be fixed|
|00002100| 20 77 68 65 6e 20 74 68 | 65 20 41 42 43 2d 72 65 | when th|e ABC-re|
|00002110| 6c 65 61 73 65 20 77 69 | 6c 6c 20 62 65 20 6f 75 |lease wi|ll be ou|
|00002120| 74 2e 20 49 74 20 68 65 | 61 76 69 6c 79 0a 72 65 |t. It he|avily.re|
|00002130| 6c 69 65 73 20 6f 6e 20 | 74 68 65 20 63 6f 6d 70 |lies on |the comp|
|00002140| 69 6c 65 72 20 79 6f 75 | 20 75 73 65 3a 0a 5c 62 |iler you| use:.\b|
|00002150| 65 67 69 6e 7b 65 6e 75 | 6d 65 72 61 74 65 7d 0a |egin{enu|merate}.|
|00002160| 5c 69 74 65 6d 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |\item Th|e follow|
|00002170| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing info|rmation |
|00002180| 61 72 65 20 66 6f 72 20 | 74 68 6f 73 65 20 75 73 |are for |those us|
|00002190| 69 6e 67 20 67 63 63 2d | 31 2e 34 30 20 6f 72 0a |ing gcc-|1.40 or.|
|000021a0| 70 72 65 76 69 6f 75 73 | 20 72 65 6c 65 61 73 65 |previous| release|
|000021b0| 20 28 31 2e 33 37 29 3a | 20 7b 5c 73 66 20 69 6e | (1.37):| {\sf in|
|000021c0| 63 6c 75 64 65 2e 74 61 | 72 2e 5a 7d 20 67 6f 65 |clude.ta|r.Z} goe|
|000021d0| 73 20 74 6f 20 7b 5c 73 | 66 0a 2f 75 73 72 2f 69 |s to {\s|f./usr/i|
|000021e0| 6e 63 6c 75 64 65 7d 3b | 20 7b 5c 73 66 20 73 79 |nclude};| {\sf sy|
|000021f0| 73 74 65 6d 2e 74 61 72 | 2e 5a 7d 20 63 6f 6e 74 |stem.tar|.Z} cont|
|00002200| 61 69 6e 73 20 74 68 65 | 20 6c 61 74 65 73 74 20 |ains the| latest |
|00002210| 73 6f 75 72 63 65 73 20 | 6f 66 20 74 68 65 0a 73 |sources |of the.s|
|00002220| 79 73 74 65 6d 20 66 69 | 6c 65 73 20 28 7b 5c 74 |ystem fi|les ({\t|
|00002230| 74 20 6d 6b 73 77 61 70 | 7d 2c 20 7b 5c 74 74 20 |t mkswap|}, {\tt |
|00002240| 6d 6b 66 73 7d 2c 20 7b | 5c 74 74 20 66 73 63 6b |mkfs}, {|\tt fsck|
|00002250| 7d 20 61 6e 64 20 7b 5c | 74 74 20 66 64 69 73 6b |} and {\|tt fdisk|
|00002260| 7d 29 2e 0a 49 6e 20 76 | 65 72 73 69 6f 6e 20 30 |})..In v|ersion 0|
|00002270| 2e 31 32 20 7b 5c 73 66 | 20 75 74 69 6c 62 69 6e |.12 {\sf| utilbin|
|00002280| 2e 74 61 72 2e 5a 7d 20 | 68 61 73 20 62 65 65 6e |.tar.Z} |has been|
|00002290| 20 72 65 70 6c 61 63 65 | 64 20 62 79 20 7b 5c 73 | replace|d by {\s|
|000022a0| 66 0a 66 69 6c 65 75 74 | 69 6c 2e 74 61 72 2e 5a |f.fileut|il.tar.Z|
|000022b0| 7d 20 61 6e 64 20 7b 5c | 73 66 20 75 74 69 6c 73 |} and {\|sf utils|
|000022c0| 2e 74 61 72 2e 5a 7d 20 | 77 68 69 63 68 20 63 6f |.tar.Z} |which co|
|000022d0| 6e 74 61 69 6e 73 20 61 | 20 6e 65 77 20 7b 5c 74 |ntains a| new {\t|
|000022e0| 74 20 74 61 72 7d 0a 74 | 6f 20 68 61 6e 64 6c 65 |t tar}.t|o handle|
|000022f0| 20 74 68 65 20 73 79 6d | 62 6f 6c 69 63 20 6c 69 | the sym|bolic li|
|00002300| 6e 6b 73 2c 20 6d 61 6b | 65 2c 20 75 65 6d 61 63 |nks, mak|e, uemac|
|00002310| 73 20 6b 65 72 6d 69 74 | 20 61 6e 64 20 6d 69 6e |s kermit| and min|
|00002320| 6f 72 20 70 72 6f 67 72 | 61 6d 73 0a 28 73 65 64 |or progr|ams.(sed|
|00002330| 2c 2e 2e 2e 29 2e 20 4f | 74 68 65 72 20 75 74 69 |,...). O|ther uti|
|00002340| 6c 69 74 69 65 73 20 68 | 61 76 65 20 62 65 65 6e |lities h|ave been|
|00002350| 20 70 6f 72 74 65 64 20 | 73 65 70 61 72 61 74 65 | ported |separate|
|00002360| 6c 79 2e 0a 5c 69 74 65 | 6d 20 46 6f 72 20 74 68 |ly..\ite|m For th|
|00002370| 6f 73 65 20 77 68 6f 20 | 75 73 65 20 67 63 63 2d |ose who |use gcc-|
|00002380| 32 2e 31 20 74 68 65 72 | 65 20 61 72 65 20 6e 65 |2.1 ther|e are ne|
|00002390| 61 72 6c 79 20 65 76 65 | 72 79 74 68 69 6e 67 20 |arly eve|rything |
|000023a0| 69 6e 20 74 68 65 0a 70 | 61 63 6b 61 67 65 20 74 |in the.p|ackage t|
|000023b0| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 66 69 6e 64 |hat you |can find|
|000023c0| 20 61 74 20 62 61 6e 6a | 6f 20 69 6e 20 7b 5c 73 | at banj|o in {\s|
|000023d0| 66 20 70 75 62 2f 4c 69 | 6e 75 78 2f 47 43 43 7d |f pub/Li|nux/GCC}|
|000023e0| 20 69 6e 20 74 68 65 20 | 7b 5c 73 66 0a 32 2e 31 | in the |{\sf.2.1|
|000023f0| 73 68 61 72 65 64 2e 74 | 61 72 2e 5a 7d 20 66 69 |shared.t|ar.Z} fi|
|00002400| 6c 65 2e 20 59 6f 75 20 | 63 6f 75 6c 64 20 66 69 |le. You |could fi|
|00002410| 6e 64 20 6d 6f 72 65 20 | 73 6f 75 72 63 65 73 20 |nd more |sources |
|00002420| 69 6e 20 7b 5c 73 66 0a | 73 79 73 74 65 6d 30 39 |in {\sf.|system09|
|00002430| 35 61 2e 74 61 72 2e 5a | 7d 20 66 69 6c 65 20 28 |5a.tar.Z|} file (|
|00002440| 61 74 20 7b 5c 74 74 20 | 74 73 78 2d 31 31 7d 20 |at {\tt |tsx-11} |
|00002450| 69 6e 20 7b 5c 73 66 20 | 73 6f 75 72 63 65 73 2f |in {\sf |sources/|
|00002460| 73 79 73 74 65 6d 2f 73 | 79 73 74 65 6d 30 2e 39 |system/s|ystem0.9|
|00002470| 35 61 7d 29 0a 5c 69 74 | 65 6d 20 54 68 65 20 27 |5a}).\it|em The '|
|00002480| 6d 63 63 2d 69 6e 74 65 | 72 69 6d 27 20 72 65 6c |mcc-inte|rim' rel|
|00002490| 65 61 73 65 20 63 6f 6d | 65 73 20 77 69 74 68 20 |ease com|es with |
|000024a0| 67 63 63 20 32 2e 31 2c | 20 77 68 69 63 68 20 69 |gcc 2.1,| which i|
|000024b0| 74 20 69 6e 73 74 61 6c | 6c 73 0a 69 6e 20 74 68 |t instal|ls.in th|
|000024c0| 65 20 63 6f 72 72 65 63 | 74 20 70 6c 61 63 65 2e |e correc|t place.|
|000024d0| 20 20 49 66 20 79 6f 75 | 20 68 61 76 65 20 7b 5c | If you| have {\|
|000024e0| 74 74 20 74 61 72 7d 20 | 61 6e 64 20 7b 5c 74 74 |tt tar} |and {\tt|
|000024f0| 20 63 6f 6d 70 72 65 73 | 73 7d 0a 28 72 65 6d 65 | compres|s}.(reme|
|00002500| 6d 62 65 72 20 75 73 65 | 20 74 68 65 20 67 6f 6f |mber use| the goo|
|00002510| 64 20 6f 6e 65 20 2e 2e | 29 2c 20 79 6f 75 20 63 |d one ..|), you c|
|00002520| 61 6e 20 69 6e 73 74 61 | 6c 6c 20 7b 5c 74 74 20 |an insta|ll {\tt |
|00002530| 67 63 63 7d 20 66 72 6f | 6d 20 74 68 65 0a 27 69 |gcc} fro|m the.'i|
|00002540| 6e 74 65 72 69 6d 27 20 | 7b 5c 73 66 20 63 6f 6d |nterim' |{\sf com|
|00002550| 70 2e 69 6d 61 67 65 7d | 20 61 6e 64 20 67 2b 2b |p.image}| and g++|
|00002560| 20 66 72 6f 6d 20 74 68 | 65 20 7b 5c 73 66 20 63 | from th|e {\sf c|
|00002570| 6f 6d 70 32 2e 69 6d 61 | 67 65 7d 20 65 76 65 6e |omp2.ima|ge} even|
|00002580| 20 69 66 0a 79 6f 75 20 | 64 6f 6e 27 74 20 68 61 | if.you |don't ha|
|00002590| 76 65 20 74 68 65 20 72 | 65 73 74 20 6f 66 20 74 |ve the r|est of t|
|000025a0| 68 65 20 27 69 6e 74 65 | 72 69 6d 27 20 76 65 72 |he 'inte|rim' ver|
|000025b0| 73 69 6f 6e 2e 0a 5c 65 | 6e 64 7b 65 6e 75 6d 65 |sion..\e|nd{enume|
|000025c0| 72 61 74 65 7d 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |rate}..\|begin{qu|
|000025d0| 65 73 74 69 6f 6e 7d 20 | 49 74 20 73 65 65 6d 73 |estion} |It seems|
|000025e0| 20 74 68 61 74 20 5c 24 | 5c 23 40 21 20 70 6f 72 | that \$|\#@! por|
|000025f0| 74 65 64 20 6f 6e 20 4c | 69 6e 75 78 20 64 6f 6e |ted on L|inux don|
|00002600| 27 74 20 72 75 6e 0a 63 | 6f 72 72 65 63 74 6c 79 |'t run.c|orrectly|
|00002610| 20 5c 65 6e 64 7b 71 75 | 65 73 74 69 6f 6e 7d 0a | \end{qu|estion}.|
|00002620| 5c 61 6e 73 77 65 72 20 | 50 6f 73 73 69 62 6c 65 |\answer |Possible|
|00002630| 2c 20 62 75 74 20 63 68 | 65 63 6b 20 66 69 72 73 |, but ch|eck firs|
|00002640| 74 20 69 66 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |t if the| size of|
|00002650| 20 79 6f 75 72 20 66 69 | 6c 65 20 63 6f 72 72 65 | your fi|le corre|
|00002660| 73 70 6f 6e 64 73 0a 74 | 6f 20 74 68 65 20 6f 6e |sponds.t|o the on|
|00002670| 65 20 6f 6e 20 74 68 65 | 20 66 74 70 20 73 69 74 |e on the| ftp sit|
|00002680| 65 73 2c 20 69 66 20 69 | 74 20 69 73 20 74 68 65 |es, if i|t is the|
|00002690| 6e 20 63 68 65 63 6b 20 | 74 68 65 20 42 55 47 4c |n check |the BUGL|
|000026a0| 49 53 54 20 61 76 61 69 | 6c 61 62 6c 65 0a 6f 6e |IST avai|lable.on|
|000026b0| 20 74 68 65 20 6d 61 69 | 6e 20 4c 69 6e 75 78 20 | the mai|n Linux |
|000026c0| 73 69 74 65 73 2e 20 49 | 66 20 74 68 65 20 62 75 |sites. I|f the bu|
|000026d0| 67 20 69 73 20 6e 6f 74 | 20 72 65 70 6f 72 74 65 |g is not| reporte|
|000026e0| 64 2c 20 64 6f 20 61 20 | 63 6f 6d 70 6c 65 74 65 |d, do a |complete|
|000026f0| 0a 72 65 70 6f 72 74 20 | 6f 66 20 74 68 65 20 65 |.report |of the e|
|00002700| 72 72 6f 72 2c 20 74 72 | 79 20 74 6f 20 63 6f 72 |rror, tr|y to cor|
|00002710| 72 65 63 74 20 69 74 20 | 61 6e 64 20 73 65 6e 64 |rect it |and send|
|00002720| 20 79 6f 75 72 20 72 65 | 73 75 6c 74 20 74 6f 0a | your re|sult to.|
|00002730| 7b 5c 74 74 20 6a 6f 68 | 6e 73 6f 6e 6d 40 73 74 |{\tt joh|nsonm@st|
|00002740| 6f 6c 61 66 2e 65 64 75 | 7d 0a 0a 5c 62 65 67 69 |olaf.edu|}..\begi|
|00002750| 6e 7b 71 75 65 73 74 69 | 6f 6e 7d 20 44 6f 65 73 |n{questi|on} Does|
|00002760| 20 61 6e 79 6f 6e 65 20 | 70 6f 72 74 20 74 68 69 | anyone |port thi|
|00002770| 73 20 74 6f 20 4c 69 6e | 75 78 3f 2c 20 69 66 20 |s to Lin|ux?, if |
|00002780| 6e 6f 74 20 69 27 6c 6c | 20 63 6f 6d 70 69 6c 65 |not i'll| compile|
|00002790| 0a 69 74 2e 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |.it.\end|{questio|
|000027a0| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 46 69 72 73 74 |n}.\answ|er First|
|000027b0| 20 63 68 65 63 6b 20 6f | 6e 20 74 68 65 20 73 69 | check o|n the si|
|000027c0| 74 65 73 2c 20 68 61 76 | 65 20 61 20 6c 6f 6f 6b |tes, hav|e a look|
|000027d0| 20 74 6f 20 74 68 65 20 | 69 6e 66 6f 2d 73 68 65 | to the |info-she|
|000027e0| 65 74 0a 6d 6f 6e 74 68 | 6c 79 20 70 6f 73 74 20 |et.month|ly post |
|000027f0| 61 6e 64 20 61 6c 73 6f | 20 61 76 61 69 6c 61 62 |and also| availab|
|00002800| 6c 65 20 6f 6e 20 73 69 | 74 65 73 2e 20 48 61 76 |le on si|tes. Hav|
|00002810| 65 20 61 20 6c 6f 6f 6b | 20 69 6e 20 74 68 65 20 |e a look| in the |
|00002820| 60 60 6f 6c 64 27 27 0a | 64 69 67 65 73 74 20 66 |``old''.|digest f|
|00002830| 69 6c 65 73 20 61 6e 64 | 20 6d 61 69 6c 2d 61 72 |iles and| mail-ar|
|00002840| 63 68 69 76 65 73 20 6f | 66 20 6c 69 6e 75 78 2d |chives o|f linux-|
|00002850| 61 63 74 69 76 69 73 74 | 73 2c 20 74 68 65 73 65 |activist|s, these|
|00002860| 20 61 72 65 20 6b 65 70 | 74 20 61 74 0a 6c 65 61 | are kep|t at.lea|
|00002870| 73 74 20 61 74 20 7b 5c | 74 74 20 74 73 78 2d 31 |st at {\|tt tsx-1|
|00002880| 31 7d 20 61 6e 64 20 7b | 5c 74 74 20 6e 69 63 7d |1} and {|\tt nic}|
|00002890| 20 70 6f 73 73 69 62 6c | 79 20 61 74 20 7b 5c 74 | possibl|y at {\t|
|000028a0| 74 20 74 75 70 61 63 7d | 2e 20 4c 6f 6f 6b 20 61 |t tupac}|. Look a|
|000028b0| 6c 73 6f 20 61 74 20 74 | 68 65 0a 47 4e 55 5c 66 |lso at t|he.GNU\f|
|000028c0| 6f 6f 74 6e 6f 74 65 7b | 47 4e 55 20 73 74 61 6e |ootnote{|GNU stan|
|000028d0| 64 73 20 66 6f 72 20 47 | 4e 55 27 73 20 4e 6f 74 |ds for G|NU's Not|
|000028e0| 20 55 6e 69 78 2c 20 77 | 68 69 63 68 20 28 62 65 | Unix, w|hich (be|
|000028f0| 73 69 64 65 73 20 62 65 | 69 6e 67 20 61 0a 72 65 |sides be|ing a.re|
|00002900| 63 75 72 73 69 76 65 20 | 61 63 72 6f 6e 79 6d 29 |cursive |acronym)|
|00002910| 20 69 73 20 61 20 70 72 | 6f 6a 65 63 74 20 73 74 | is a pr|oject st|
|00002920| 61 72 74 65 64 20 62 79 | 20 74 68 65 20 46 72 65 |arted by| the Fre|
|00002930| 65 20 53 6f 66 74 77 61 | 72 65 0a 46 6f 75 6e 64 |e Softwa|re.Found|
|00002940| 61 74 69 6f 6e 20 28 74 | 68 65 20 46 53 46 29 20 |ation (t|he FSF) |
|00002950| 74 6f 20 77 72 69 74 65 | 20 61 20 66 72 65 65 6c |to write| a freel|
|00002960| 79 20 64 69 73 74 72 69 | 62 75 74 61 62 6c 65 20 |y distri|butable |
|00002970| 76 65 72 73 69 6f 6e 20 | 6f 66 20 55 6e 69 78 2e |version |of Unix.|
|00002980| 0a 54 68 65 20 47 4e 55 | 20 6b 65 72 6e 65 6c 20 |.The GNU| kernel |
|00002990| 69 73 20 6e 61 6d 65 64 | 20 48 55 52 44 2c 20 61 |is named| HURD, a|
|000029a0| 6e 64 20 69 73 20 62 61 | 73 65 64 20 6f 6e 20 4d |nd is ba|sed on M|
|000029b0| 61 63 68 2e 20 20 49 74 | 20 69 73 20 63 75 72 72 |ach. It| is curr|
|000029c0| 65 6e 74 6c 79 0a 62 65 | 69 6e 67 20 77 72 69 74 |ently.be|ing writ|
|000029d0| 74 65 6e 2c 20 61 6e 64 | 20 69 73 20 6e 6f 74 20 |ten, and| is not |
|000029e0| 79 65 74 20 64 6f 6e 65 | 2e 20 20 4d 61 6e 79 20 |yet done|. Many |
|000029f0| 6f 66 20 74 68 65 20 47 | 4e 55 20 75 74 69 6c 69 |of the G|NU utili|
|00002a00| 74 69 65 73 2c 0a 68 6f | 77 65 76 65 72 2c 20 61 |ties,.ho|wever, a|
|00002a10| 72 65 20 63 6f 6d 70 6c | 65 74 65 64 20 61 6e 64 |re compl|eted and|
|00002a20| 20 61 72 65 20 6d 75 63 | 68 20 6d 6f 72 65 20 66 | are muc|h more f|
|00002a30| 75 6e 63 74 69 6f 6e 61 | 6c 20 74 68 61 6e 20 74 |unctiona|l than t|
|00002a40| 68 65 20 6f 72 69 67 69 | 6e 61 6c 0a 55 6e 69 78 |he origi|nal.Unix|
|00002a50| 20 75 74 69 6c 69 74 69 | 65 73 2e 20 20 53 69 6e | utiliti|es. Sin|
|00002a60| 63 65 20 74 68 65 79 20 | 61 72 65 20 66 72 65 65 |ce they |are free|
|00002a70| 6c 79 20 61 76 61 69 6c | 61 62 6c 65 2c 20 4c 69 |ly avail|able, Li|
|00002a80| 6e 75 78 20 69 73 20 75 | 73 69 6e 67 20 74 68 65 |nux is u|sing the|
|00002a90| 6d 0a 61 73 20 77 65 6c | 6c 2e 7d 20 75 74 69 6c |m.as wel|l.} util|
|00002aa0| 69 74 69 65 73 20 74 6f | 20 73 65 65 20 69 66 20 |ities to| see if |
|00002ab0| 73 6f 6d 65 6f 6e 65 20 | 68 61 73 20 61 6c 72 65 |someone |has alre|
|00002ac0| 61 64 79 20 77 72 69 74 | 74 65 6e 20 61 20 66 72 |ady writ|ten a fr|
|00002ad0| 65 65 6c 79 0a 64 69 73 | 74 72 69 62 75 61 62 6c |eely.dis|tribuabl|
|00002ae0| 65 20 76 65 72 73 69 6f | 6e 2e 20 41 73 6b 20 74 |e versio|n. Ask t|
|00002af0| 68 65 6e 20 6f 6e 20 74 | 68 65 20 6c 69 73 74 2f |hen on t|he list/|
|00002b00| 6e 65 77 73 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |news...\|begin{qu|
|00002b10| 65 73 74 69 6f 6e 7d 20 | 49 27 76 65 20 70 6f 72 |estion} |I've por|
|00002b20| 74 65 64 20 58 58 58 20 | 74 6f 20 4c 69 6e 75 78 |ted XXX |to Linux|
|00002b30| 2c 20 77 68 61 74 20 73 | 68 6f 75 6c 64 20 49 20 |, what s|hould I |
|00002b40| 64 6f 20 74 6f 20 61 64 | 64 20 69 74 0a 69 6e 20 |do to ad|d it.in |
|00002b50| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 64 69 73 |the stan|dard dis|
|00002b60| 74 72 69 62 75 74 69 6f | 6e 3f 5c 65 6e 64 7b 71 |tributio|n?\end{q|
|00002b70| 75 65 73 74 69 6f 6e 7d | 0a 5c 61 6e 73 77 65 72 |uestion}|.\answer|
|00002b80| 20 52 65 61 64 20 66 69 | 72 73 74 20 74 68 65 20 | Read fi|rst the |
|00002b90| 70 72 65 76 69 6f 75 73 | 20 51 2f 41 2c 20 74 68 |previous| Q/A, th|
|00002ba0| 65 6e 20 74 6f 20 6d 61 | 6b 65 20 73 6f 6d 65 74 |en to ma|ke somet|
|00002bb0| 68 69 6e 67 20 61 76 61 | 69 6c 61 62 6c 65 0a 74 |hing ava|ilable.t|
|00002bc0| 6f 20 6f 74 68 65 72 73 | 20 79 6f 75 20 68 61 76 |o others| you hav|
|00002bd0| 65 20 74 6f 20 63 6f 6e | 74 61 63 74 20 41 6c 61 |e to con|tact Ala|
|00002be0| 6e 20 43 6c 65 67 67 20 | 28 7b 5c 74 74 20 61 62 |n Clegg |({\tt ab|
|00002bf0| 63 40 62 61 6e 6a 6f 2e | 63 6f 6e 63 65 72 74 2e |c@banjo.|concert.|
|00002c00| 6e 65 74 7d 29 0a 61 62 | 6f 75 74 20 70 75 74 74 |net}).ab|out putt|
|00002c10| 69 6e 67 20 79 6f 75 72 | 20 63 6f 64 65 20 69 6e |ing your| code in|
|00002c20| 20 74 68 65 20 41 42 43 | 2d 52 65 6c 65 61 73 65 | the ABC|-Release|
|00002c30| 20 6f 66 20 4c 69 6e 75 | 78 2e 20 54 68 65 20 41 | of Linu|x. The A|
|00002c40| 42 43 2d 52 65 6c 65 61 | 73 65 0a 69 73 20 61 20 |BC-Relea|se.is a |
|00002c50| 73 74 61 6e 64 61 72 64 | 69 7a 65 64 20 73 65 74 |standard|ized set|
|00002c60| 20 6f 66 20 4c 69 6e 75 | 78 20 73 6f 75 72 63 65 | of Linu|x source|
|00002c70| 73 20 61 6e 64 20 62 69 | 6e 61 72 69 65 73 20 74 |s and bi|naries t|
|00002c80| 68 61 74 20 77 69 6c 6c | 20 62 65 0a 61 76 61 69 |hat will| be.avai|
|00002c90| 6c 61 62 6c 65 20 69 6e | 20 61 6e 20 65 61 73 79 |lable in| an easy|
|00002ca0| 20 69 6e 73 74 61 6c 6c | 61 62 6c 65 20 66 6f 72 | install|able for|
|00002cb0| 6d 61 74 2c 20 61 6e 64 | 20 77 68 69 63 68 20 77 |mat, and| which w|
|00002cc0| 69 6c 6c 20 62 65 20 6d | 61 69 6e 74 61 69 6e 65 |ill be m|aintaine|
|00002cd0| 64 0a 69 6e 20 61 20 73 | 74 61 6e 64 61 72 64 20 |d.in a s|tandard |
|00002ce0| 77 61 79 2e 20 53 75 62 | 6d 69 73 73 69 6f 6e 73 |way. Sub|missions|
|00002cf0| 20 73 68 6f 75 6c 64 20 | 63 6f 6e 66 6f 72 6d 20 | should |conform |
|00002d00| 74 6f 20 74 68 65 20 4c | 69 6e 75 78 20 46 69 6c |to the L|inux Fil|
|00002d10| 65 20 53 79 73 74 65 6d | 0a 73 74 61 6e 64 61 72 |e System|.standar|
|00002d20| 64 20 76 65 72 73 69 6f | 6e 20 31 2e 30 20 28 74 |d versio|n 1.0 (t|
|00002d30| 68 69 73 20 66 69 6c 65 | 20 69 73 20 6b 65 70 74 |his file| is kept|
|00002d40| 20 61 74 20 62 61 6e 6a | 6f 2e 63 6f 6e 63 65 72 | at banj|o.concer|
|00002d50| 74 2e 6e 65 74 20 69 6e | 20 7b 5c 73 66 0a 2f 70 |t.net in| {\sf./p|
|00002d60| 75 62 2f 4c 69 6e 75 78 | 2f 64 6f 63 73 7d 29 2e |ub/Linux|/docs}).|
|00002d70| 0a 0a 42 54 57 20 57 68 | 65 6e 65 76 65 72 20 79 |..BTW Wh|enever y|
|00002d80| 6f 75 20 73 75 62 6d 69 | 74 20 62 69 6e 61 72 69 |ou submi|t binari|
|00002d90| 65 73 2c 20 70 6c 65 61 | 73 65 20 64 6f 20 4e 4f |es, plea|se do NO|
|00002da0| 54 20 6c 69 6e 6b 20 74 | 68 65 6d 20 77 69 74 68 |T link t|hem with|
|00002db0| 20 73 68 61 72 65 64 0a | 6c 69 62 72 61 72 69 65 | shared.|librarie|
|00002dc0| 73 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |s...\beg|in{quest|
|00002dd0| 69 6f 6e 7d 20 49 20 77 | 61 6e 74 20 74 6f 20 70 |ion} I w|ant to p|
|00002de0| 6f 72 74 20 58 58 58 20 | 74 6f 20 4c 69 6e 75 78 |ort XXX |to Linux|
|00002df0| 2c 20 77 68 61 74 20 61 | 72 65 20 74 68 65 0a 66 |, what a|re the.f|
|00002e00| 6c 61 67 73 3f 5c 65 6e | 64 7b 71 75 65 73 74 69 |lags?\en|d{questi|
|00002e10| 6f 6e 7d 0a 5c 61 6e 73 | 77 65 72 20 52 65 63 61 |on}.\ans|wer Reca|
|00002e20| 6c 6c 20 74 68 61 74 20 | 4c 69 6e 75 78 20 69 6d |ll that |Linux im|
|00002e30| 70 6c 65 6d 65 6e 74 73 | 20 73 75 62 73 65 74 20 |plements| subset |
|00002e40| 6f 66 20 53 59 53 56 20 | 61 6e 64 20 50 4f 53 49 |of SYSV |and POSI|
|00002e50| 58 2c 20 73 6f 20 7b 5c | 74 74 0a 2d 44 55 53 47 |X, so {\|tt.-DUSG|
|00002e60| 7d 20 61 6e 64 20 7b 5c | 74 74 20 2d 44 50 4f 53 |} and {\|tt -DPOS|
|00002e70| 49 58 7d 20 77 6f 72 6b | 20 69 6e 20 67 65 6e 65 |IX} work| in gene|
|00002e80| 72 61 6c 2e 20 4d 6f 72 | 65 6f 76 65 72 20 74 68 |ral. Mor|eover th|
|00002e90| 72 6f 77 20 61 77 61 79 | 20 6d 6f 73 74 20 6f 66 |row away| most of|
|00002ea0| 0a 74 68 65 20 6c 64 20 | 66 6c 61 67 73 20 73 75 |.the ld |flags su|
|00002eb0| 63 68 20 61 73 20 7b 5c | 74 74 20 2d 6c 67 7d 2c |ch as {\|tt -lg},|
|00002ec0| 20 73 69 6e 63 65 20 74 | 68 65 20 7b 5c 73 66 20 | since t|he {\sf |
|00002ed0| 6c 69 62 67 2e 61 7d 20 | 69 73 20 6d 69 73 73 69 |libg.a} |is missi|
|00002ee0| 6e 67 20 66 6f 72 0a 73 | 6f 6d 65 20 76 65 72 73 |ng for.s|ome vers|
|00002ef0| 69 6f 6e 20 6f 66 20 7b | 5c 74 74 20 67 63 63 7d |ion of {|\tt gcc}|
|00002f00| 20 28 73 65 65 20 73 65 | 63 74 69 6f 6e 7e 5c 72 | (see se|ction~\r|
|00002f10| 65 66 7b 67 63 63 69 6e | 66 6f 7d 20 66 6f 72 20 |ef{gccin|fo} for |
|00002f20| 6d 6f 72 65 0a 64 65 74 | 61 69 6c 73 29 2e 0a 0a |more.det|ails)...|
|00002f30| 5c 62 65 67 69 6e 7b 71 | 75 65 73 74 69 6f 6e 7d |\begin{q|uestion}|
|00002f40| 20 4c 69 6e 75 78 20 6c | 61 63 6b 73 20 6f 6e 20 | Linux l|acks on |
|00002f50| 58 58 58 58 2f 20 4c 69 | 6e 75 78 20 68 61 73 20 |XXXX/ Li|nux has |
|00002f60| 61 20 62 75 67 20 69 6e | 20 58 58 58 2c 20 77 68 |a bug in| XXX, wh|
|00002f70| 61 74 20 61 72 65 0a 74 | 68 65 20 72 75 6c 65 73 |at are.t|he rules|
|00002f80| 20 74 6f 20 65 6e 68 61 | 6e 63 65 2f 63 6f 72 72 | to enha|nce/corr|
|00002f90| 65 63 74 20 74 68 65 20 | 6b 65 72 6e 65 6c 3f 5c |ect the |kernel?\|
|00002fa0| 65 6e 64 7b 71 75 65 73 | 74 69 6f 6e 7d 0a 5c 61 |end{ques|tion}.\a|
|00002fb0| 6e 73 77 65 72 20 42 65 | 66 6f 72 65 20 61 6e 79 |nswer Be|fore any|
|00002fc0| 74 68 69 6e 67 20 63 68 | 65 63 6b 20 69 66 20 73 |thing ch|eck if s|
|00002fd0| 6f 6d 65 20 6f 6e 65 20 | 65 6c 73 65 20 69 73 20 |ome one |else is |
|00002fe0| 77 6f 72 6b 69 6e 67 20 | 6f 6e 20 74 68 61 74 0a |working |on that.|
|00002ff0| 73 75 62 6a 65 63 74 2c | 20 63 6f 6e 74 61 63 74 |subject,| contact|
|00003000| 20 74 68 6f 73 65 20 70 | 65 6f 70 6c 65 2c 20 73 | those p|eople, s|
|00003010| 69 6e 63 65 20 65 6e 64 | 20 66 65 62 72 75 61 72 |ince end| februar|
|00003020| 79 20 61 20 42 55 47 4c | 49 53 54 20 28 74 68 61 |y a BUGL|IST (tha|
|00003030| 6e 6b 73 20 74 6f 0a 4d | 69 63 68 61 65 6c 20 4a |nks to.M|ichael J|
|00003040| 6f 68 6e 73 6f 6e 29 20 | 69 73 20 6b 65 70 74 20 |ohnson) |is kept |
|00003050| 6f 6e 20 74 68 65 20 6d | 61 6a 6f 72 20 73 69 74 |on the m|ajor sit|
|00003060| 65 73 2e 20 54 65 73 74 | 20 79 6f 75 72 20 69 6d |es. Test| your im|
|00003070| 70 72 6f 76 6d 65 6e 74 | 20 28 69 74 0a 73 68 6f |provment| (it.sho|
|00003080| 75 6c 64 20 77 6f 72 6b | 20 69 73 20 4e 4f 54 20 |uld work| is NOT |
|00003090| 65 6e 6f 75 67 68 29 2c | 20 74 68 65 6e 20 73 65 |enough),| then se|
|000030a0| 6e 64 20 74 68 65 20 70 | 61 74 63 68 65 73 20 69 |nd the p|atches i|
|000030b0| 6e 20 63 64 69 66 66 73 | 20 66 6f 72 6d 20 74 6f |n cdiffs| form to|
|000030c0| 0a 4c 69 6e 75 73 20 61 | 6e 64 2f 6f 72 20 74 68 |.Linus a|nd/or th|
|000030d0| 65 20 6c 69 73 74 2c 20 | 6d 6f 72 65 6f 76 65 72 |e list, |moreover|
|000030e0| 20 74 68 65 20 6c 6f 63 | 61 6c 69 7a 61 74 69 6f | the loc|alizatio|
|000030f0| 6e 20 6d 75 73 74 20 62 | 65 20 63 6c 65 61 72 2e |n must b|e clear.|
|00003100| 20 54 68 69 73 0a 64 6f | 65 73 20 4e 4f 54 20 6d | This.do|es NOT m|
|00003110| 65 61 6e 20 74 68 61 74 | 20 62 75 67 2d 72 65 70 |ean that| bug-rep|
|00003120| 6f 72 74 73 20 61 6e 64 | 20 70 61 74 63 68 65 73 |orts and| patches|
|00003130| 20 61 72 65 20 6e 6f 74 | 20 61 63 63 65 70 74 65 | are not| accepte|
|00003140| 64 2e 20 4d 6f 72 65 6f | 76 65 72 2c 0a 79 6f 75 |d. Moreo|ver,.you|
|00003150| 20 73 68 6f 75 6c 64 20 | 73 65 6e 74 20 61 20 62 | should |sent a b|
|00003160| 72 69 65 66 20 6e 6f 74 | 65 20 74 6f 20 4d 69 63 |rief not|e to Mic|
|00003170| 68 61 65 6c 3a 20 7b 5c | 74 74 20 6a 6f 68 6e 73 |hael: {\|tt johns|
|00003180| 6f 6e 6d 40 73 74 6f 6c | 61 66 2e 65 64 75 7d 3b |onm@stol|af.edu};|
|00003190| 20 63 6f 6e 74 61 63 74 | 0a 61 6c 73 6f 20 7b 5c | contact|.also {\|
|000031a0| 74 74 20 61 62 63 40 62 | 61 6e 6a 6f 2e 63 6f 6e |tt abc@b|anjo.con|
|000031b0| 63 65 72 74 2e 6e 65 74 | 7d 20 68 65 20 6f 72 67 |cert.net|} he org|
|000031c0| 61 6e 69 7a 65 73 20 74 | 68 65 20 41 42 43 2d 52 |anizes t|he ABC-R|
|000031d0| 65 6c 65 61 73 65 2e 0a | 0a 5c 73 75 62 73 65 63 |elease..|.\subsec|
|000031e0| 74 69 6f 6e 7b 4d 61 6a | 6f 72 2f 4d 69 6e 6f 72 |tion{Maj|or/Minor|
|000031f0| 20 64 65 76 69 63 65 20 | 6e 75 6d 62 65 72 7d 5c | device |number}\|
|00003200| 6c 61 62 65 6c 7b 6d 61 | 6a 6f 72 6d 69 6e 6f 72 |label{ma|jorminor|
|00003210| 7d 0a 0a 5c 62 65 67 69 | 6e 7b 71 75 65 73 74 69 |}..\begi|n{questi|
|00003220| 6f 6e 7d 20 57 68 61 74 | 20 61 72 65 20 74 68 65 |on} What| are the|
|00003230| 20 64 65 76 69 63 65 20 | 6d 69 6e 6f 72 2f 6d 61 | device |minor/ma|
|00003240| 6a 6f 72 0a 6e 75 6d 62 | 65 72 73 3f 5c 65 6e 64 |jor.numb|ers?\end|
|00003250| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|00003260| 65 72 0a 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |er.\begi|n{center|
|00003270| 7d 4d 65 6d 6f 72 79 20 | 64 65 76 69 63 65 73 3a |}Memory |devices:|
|00003280| 20 4d 61 6a 6f 72 20 3d | 20 31 20 28 63 68 61 72 | Major =| 1 (char|
|00003290| 61 63 74 65 64 20 64 65 | 76 69 63 65 73 29 0a 6d |acted de|vices).m|
|000032a0| 69 6e 6f 72 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |inor\end|{center}|
|000032b0| 0a 5c 62 65 67 69 6e 7b | 74 61 62 62 69 6e 67 7d |.\begin{|tabbing}|
|000032c0| 0a 41 42 43 44 45 46 47 | 48 49 4a 4b 5c 3d 5c 6b |.ABCDEFG|HIJK\=\k|
|000032d0| 69 6c 6c 0a 30 20 20 20 | 20 20 20 20 5c 3e 2f 64 |ill.0 | \>/d|
|000032e0| 65 76 2f 72 61 6d 5c 5c | 0a 31 20 20 20 20 20 20 |ev/ram\\|.1 |
|000032f0| 20 5c 3e 2f 64 65 76 2f | 6d 65 6d 5c 5c 0a 32 20 | \>/dev/|mem\\.2 |
|00003300| 20 20 20 20 20 20 5c 3e | 2f 64 65 76 2f 6b 6d 65 | \>|/dev/kme|
|00003310| 6d 5c 5c 0a 33 20 20 20 | 20 20 20 20 5c 3e 2f 64 |m\\.3 | \>/d|
|00003320| 65 76 2f 6e 75 6c 6c 5c | 5c 0a 34 20 20 20 20 20 |ev/null\|\.4 |
|00003330| 20 20 5c 3e 2f 64 65 76 | 2f 70 6f 72 74 20 28 69 | \>/dev|/port (i|
|00003340| 6d 70 6c 65 6d 65 6e 74 | 65 64 2c 20 62 75 74 20 |mplement|ed, but |
|00003350| 75 6e 74 65 73 74 65 64 | 20 2d 20 64 6f 6e 27 74 |untested| - don't|
|00003360| 20 70 6c 61 79 20 77 69 | 74 68 20 69 74 29 0a 5c | play wi|th it).\|
|00003370| 65 6e 64 7b 74 61 62 62 | 69 6e 67 7d 0a 65 78 61 |end{tabb|ing}.exa|
|00003380| 6d 70 6c 65 3a 20 7b 5c | 74 74 20 6d 6b 6e 6f 64 |mple: {\|tt mknod|
|00003390| 7e 2f 64 65 76 2f 6e 75 | 6c 6c 7e 63 7e 31 7e 33 |~/dev/nu|ll~c~1~3|
|000033a0| 7d 0a 5c 62 65 67 69 6e | 7b 63 65 6e 74 65 72 7d |}.\begin|{center}|
|000033b0| 46 6c 6f 70 70 79 20 64 | 69 73 6b 73 3a 20 4d 61 |Floppy d|isks: Ma|
|000033c0| 6a 6f 72 20 3d 20 32 20 | 28 62 6c 6f 63 6b 20 64 |jor = 2 |(block d|
|000033d0| 65 76 69 63 65 73 29 5c | 65 6e 64 7b 63 65 6e 74 |evices)\|end{cent|
|000033e0| 65 72 7d 0a 24 6d 69 6e | 6f 72 7e 3d 7e 64 72 69 |er}.$min|or~=~dri|
|000033f0| 76 65 7e 2b 7e 34 5c 74 | 69 6d 65 73 20 74 79 70 |ve~+~4\t|imes typ|
|00003400| 65 24 2c 20 24 64 72 69 | 76 65 20 3d 20 30 2c 31 |e$, $dri|ve = 0,1|
|00003410| 2c 32 2c 33 24 20 66 6f | 72 20 41 2c 42 2c 43 20 |,2,3$ fo|r A,B,C |
|00003420| 6f 72 20 44 2d 64 69 73 | 6b 65 74 74 65 0a 5c 62 |or D-dis|kette.\b|
|00003430| 65 67 69 6e 7b 74 61 62 | 62 69 6e 67 7d 0a 41 42 |egin{tab|bing}.AB|
|00003440| 43 44 45 46 47 48 49 4a | 4b 5c 3d 4c 4d 4e 5c 3d |CDEFGHIJ|K\=LMN\=|
|00003450| 5c 6b 69 6c 6c 0a 74 79 | 70 65 20 20 20 20 5c 3e |\kill.ty|pe \>|
|00003460| 31 3a 20 5c 3e 33 36 30 | 6b 42 20 66 6c 6f 70 70 |1: \>360|kB flopp|
|00003470| 79 20 69 6e 20 33 36 30 | 6b 62 20 64 72 69 76 65 |y in 360|kb drive|
|00003480| 20 28 35 2e 32 35 27 27 | 29 5c 5c 0a 20 20 20 20 | (5.25''|)\\. |
|00003490| 20 20 20 20 5c 3e 32 3a | 20 5c 3e 31 2e 32 4d 62 | \>2:| \>1.2Mb|
|000034a0| 20 66 6c 6f 70 70 79 20 | 69 6e 20 31 2e 32 4d 62 | floppy |in 1.2Mb|
|000034b0| 20 64 72 69 76 65 20 28 | 35 2e 32 35 27 27 29 5c | drive (|5.25'')\|
|000034c0| 5c 0a 20 20 20 20 20 20 | 20 20 5c 3e 33 3a 20 5c |\. | \>3: \|
|000034d0| 3e 33 36 30 6b 62 20 66 | 6c 6f 70 70 79 20 69 6e |>360kb f|loppy in|
|000034e0| 20 37 32 30 6b 62 2f 31 | 2e 34 34 4d 62 20 64 72 | 720kb/1|.44Mb dr|
|000034f0| 69 76 65 20 28 33 2e 35 | 27 27 29 5c 5c 0a 20 20 |ive (3.5|'')\\. |
|00003500| 20 20 20 20 20 20 5c 3e | 34 3a 20 5c 3e 37 32 30 | \>|4: \>720|
|00003510| 6b 62 20 66 6c 6f 70 70 | 79 20 69 6e 20 37 32 30 |kb flopp|y in 720|
|00003520| 6b 62 2f 31 2e 34 34 4d | 62 20 64 72 69 76 65 20 |kb/1.44M|b drive |
|00003530| 28 33 2e 35 27 27 29 5c | 5c 0a 20 20 20 20 20 20 |(3.5'')\|\. |
|00003540| 20 20 5c 3e 35 3a 20 5c | 3e 33 36 30 6b 62 20 66 | \>5: \|>360kb f|
|00003550| 6c 6f 70 70 79 20 69 6e | 20 31 2e 32 4d 62 20 64 |loppy in| 1.2Mb d|
|00003560| 72 69 76 65 20 28 35 2e | 32 35 27 27 29 5c 5c 0a |rive (5.|25'')\\.|
|00003570| 20 20 20 20 20 20 20 20 | 5c 3e 36 3a 20 5c 3e 37 | |\>6: \>7|
|00003580| 32 30 6b 62 20 66 6c 6f | 70 70 79 20 69 6e 20 31 |20kb flo|ppy in 1|
|00003590| 2e 32 4d 62 20 64 72 69 | 76 65 20 28 35 2e 32 35 |.2Mb dri|ve (5.25|
|000035a0| 27 27 29 5c 5c 0a 20 20 | 20 20 20 20 20 20 5c 3e |'')\\. | \>|
|000035b0| 37 3a 20 5c 3e 31 2e 34 | 34 4d 62 20 66 6c 6f 70 |7: \>1.4|4Mb flop|
|000035c0| 70 79 20 69 6e 20 31 2e | 34 34 4d 62 20 64 72 69 |py in 1.|44Mb dri|
|000035d0| 76 65 20 28 33 2e 35 27 | 27 29 5c 5c 0a 5c 65 6e |ve (3.5'|')\\.\en|
|000035e0| 64 7b 74 61 62 62 69 6e | 67 7d 0a 54 68 75 73 20 |d{tabbin|g}.Thus |
|000035f0| 6d 69 6e 6f 72 20 6e 72 | 20 66 6f 72 20 61 20 31 |minor nr| for a 1|
|00003600| 2e 34 34 4d 62 20 66 6c | 6f 70 70 79 20 69 6e 20 |.44Mb fl|oppy in |
|00003610| 42 20 69 73 3a 20 24 31 | 20 2b 20 34 5c 74 69 6d |B is: $1| + 4\tim|
|00003620| 65 73 20 37 20 3d 20 32 | 39 24 2c 20 61 6e 64 0a |es 7 = 2|9$, and.|
|00003630| 74 6f 20 72 65 61 64 20 | 61 6e 20 6f 6c 64 20 33 |to read |an old 3|
|00003640| 36 30 6b 62 20 66 6c 6f | 70 70 79 20 69 6e 20 61 |60kb flo|ppy in a|
|00003650| 20 31 2e 32 4d 62 20 41 | 2d 64 72 69 76 65 20 79 | 1.2Mb A|-drive y|
|00003660| 6f 75 20 6e 65 65 64 20 | 74 6f 20 75 73 65 20 24 |ou need |to use $|
|00003670| 30 20 2b 0a 34 5c 74 69 | 6d 65 73 20 35 20 3d 20 |0 +.4\ti|mes 5 = |
|00003680| 32 30 24 2e 0a 0a 45 78 | 61 6d 70 6c 65 3a 20 7b |20$...Ex|ample: {|
|00003690| 5c 74 74 20 6d 6b 6e 6f | 64 7e 2f 64 65 76 2f 50 |\tt mkno|d~/dev/P|
|000036a0| 53 30 7e 62 7e 32 7e 32 | 38 7d 20 28 62 20 66 6f |S0~b~2~2|8} (b fo|
|000036b0| 72 20 62 6c 6f 63 6b 3a | 20 32 20 66 6f 72 20 66 |r block:| 2 for f|
|000036c0| 6c 6f 70 70 79 2c 20 32 | 38 0a 66 6f 72 20 31 2e |loppy, 2|8.for 1.|
|000036d0| 34 34 20 69 6e 20 41 29 | 0a 0a 5c 62 65 67 69 6e |44 in A)|..\begin|
|000036e0| 7b 63 65 6e 74 65 72 7d | 48 61 72 64 20 64 69 73 |{center}|Hard dis|
|000036f0| 6b 73 3a 20 4d 61 6a 6f | 72 20 3d 20 33 20 28 62 |ks: Majo|r = 3 (b|
|00003700| 6c 6f 63 6b 20 64 65 76 | 69 63 65 73 29 20 6d 69 |lock dev|ices) mi|
|00003710| 6e 6f 72 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0a |nor\end{|center}.|
|00003720| 5c 62 65 67 69 6e 7b 74 | 61 62 62 69 6e 67 7d 0a |\begin{t|abbing}.|
|00003730| 41 42 43 44 45 46 47 48 | 49 4a 4b 5c 3d 4c 4d 4e |ABCDEFGH|IJK\=LMN|
|00003740| 4f 50 51 52 53 54 55 5c | 3d 5c 6b 69 6c 6c 0a 30 |OPQRSTU\|=\kill.0|
|00003750| 20 20 20 20 20 20 20 5c | 3e 7b 5c 73 66 20 2f 64 | \|>{\sf /d|
|00003760| 65 76 2f 68 64 61 7d 20 | 20 5c 3e 2d 2d 20 54 68 |ev/hda} | \>-- Th|
|00003770| 65 20 77 68 6f 6c 65 20 | 68 64 30 2c 20 69 6e 63 |e whole |hd0, inc|
|00003780| 6c 75 64 69 6e 67 20 70 | 61 72 74 69 74 69 6f 6e |luding p|artition|
|00003790| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000037a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037b0| 74 61 62 6c 65 20 73 65 | 63 74 6f 72 73 20 65 74 |table se|ctors et|
|000037c0| 63 2e 5c 5c 0a 31 20 20 | 20 20 20 20 20 5c 3e 7b |c.\\.1 | \>{|
|000037d0| 5c 73 66 20 2f 64 65 76 | 2f 68 64 61 31 7d 20 5c |\sf /dev|/hda1} \|
|000037e0| 3e 2d 2d 20 66 69 72 73 | 74 20 70 61 72 74 69 74 |>-- firs|t partit|
|000037f0| 69 6f 6e 20 6f 6e 20 68 | 64 30 5c 5c 0a 2e 2e 2e |ion on h|d0\\....|
|00003800| 5c 5c 0a 34 20 20 20 20 | 20 20 20 5c 3e 7b 5c 73 |\\.4 | \>{\s|
|00003810| 66 20 2f 64 65 76 2f 68 | 64 61 34 7d 20 5c 3e 2d |f /dev/h|da4} \>-|
|00003820| 2d 20 66 6f 75 72 74 68 | 20 70 61 72 74 69 74 69 |- fourth| partiti|
|00003830| 6f 6e 20 6f 6e 20 68 64 | 30 5c 5c 0a 35 20 20 20 |on on hd|0\\.5 |
|00003840| 20 20 20 20 5c 3e 7b 5c | 73 66 20 2f 64 65 76 2f | \>{\|sf /dev/|
|00003850| 68 64 61 35 7d 20 5c 3e | 2d 2d 20 45 78 74 65 6e |hda5} \>|-- Exten|
|00003860| 64 65 64 20 70 61 72 74 | 69 74 69 6f 6e 5c 5c 0a |ded part|ition\\.|
|00003870| 36 34 20 20 20 20 20 20 | 5c 3e 7b 5c 73 66 20 2f |64 |\>{\sf /|
|00003880| 64 65 76 2f 68 64 62 7d | 20 20 5c 3e 2d 2d 20 54 |dev/hdb}| \>-- T|
|00003890| 68 65 20 77 68 6f 6c 65 | 20 68 64 31 2c 20 61 67 |he whole| hd1, ag|
|000038a0| 61 69 6e 20 69 6e 63 6c | 75 64 69 6e 67 0a 20 20 |ain incl|uding. |
|000038b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000038c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 61 72 | | par|
|000038d0| 74 69 74 69 6f 6e 20 74 | 61 62 6c 65 20 69 6e 66 |tition t|able inf|
|000038e0| 6f 5c 5c 0a 36 35 20 20 | 20 20 20 20 5c 3e 7b 5c |o\\.65 | \>{\|
|000038f0| 73 66 20 2f 64 65 76 2f | 68 64 62 31 7d 20 5c 3e |sf /dev/|hdb1} \>|
|00003900| 2d 2d 20 66 69 72 73 74 | 20 70 61 72 74 69 74 69 |-- first| partiti|
|00003910| 6f 6e 20 6f 6e 20 68 64 | 31 5c 5c 0a 2e 2e 2e 5c |on on hd|1\\....\|
|00003920| 5c 0a 36 38 20 20 20 20 | 20 20 5c 3e 7b 5c 73 66 |\.68 | \>{\sf|
|00003930| 20 2f 64 65 76 2f 68 64 | 62 34 7d 20 5c 3e 2d 2d | /dev/hd|b4} \>--|
|00003940| 20 66 6f 75 72 74 68 20 | 70 61 72 74 69 74 69 6f | fourth |partitio|
|00003950| 6e 20 6f 6e 20 68 64 31 | 5c 5c 0a 36 39 20 20 20 |n on hd1|\\.69 |
|00003960| 20 20 20 5c 3e 7b 5c 73 | 66 20 2f 64 65 76 2f 68 | \>{\s|f /dev/h|
|00003970| 64 62 35 7d 20 5c 3e 2d | 2d 20 65 78 74 65 6e 64 |db5} \>-|- extend|
|00003980| 65 64 20 70 61 72 74 69 | 74 69 6f 6e 20 6f 6e 20 |ed parti|tion on |
|00003990| 68 64 31 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 62 69 |hd1\\.\e|nd{tabbi|
|000039a0| 6e 67 7d 0a 0a 4e 4f 54 | 45 21 20 42 65 20 5c 65 |ng}..NOT|E! Be \e|
|000039b0| 6d 20 76 65 72 79 20 5c | 65 6d 20 63 61 72 65 66 |m very \|em caref|
|000039c0| 75 6c 20 77 69 74 68 20 | 7b 5c 73 66 20 2f 64 65 |ul with |{\sf /de|
|000039d0| 76 2f 68 64 61 7d 20 61 | 6e 64 20 7b 5c 73 66 20 |v/hda} a|nd {\sf |
|000039e0| 2f 64 65 76 2f 68 64 62 | 7d 0a 2d 2d 20 79 6f 75 |/dev/hdb|}.-- you|
|000039f0| 20 73 65 6c 64 6f 6d 20 | 6e 65 65 64 20 74 68 65 | seldom |need the|
|00003a00| 6d 2c 20 61 6e 64 20 69 | 66 20 79 6f 75 20 77 72 |m, and i|f you wr|
|00003a10| 69 74 65 20 74 6f 20 74 | 68 65 6d 20 79 6f 75 20 |ite to t|hem you |
|00003a20| 63 61 6e 20 64 65 73 74 | 72 6f 79 20 74 68 65 0a |can dest|roy the.|
|00003a30| 70 61 72 74 69 74 69 6f | 6e 20 74 61 62 6c 65 73 |partitio|n tables|
|00003a40| 3a 20 73 6f 6d 65 74 68 | 69 6e 67 20 79 6f 75 20 |: someth|ing you |
|00003a50| 70 72 6f 62 61 62 6c 79 | 20 64 6f 6e 27 74 20 77 |probably| don't w|
|00003a60| 61 6e 74 2e 20 20 54 68 | 65 20 6f 6e 6c 79 20 74 |ant. Th|e only t|
|00003a70| 68 69 6e 67 73 0a 74 68 | 61 74 20 75 73 65 20 7b |hings.th|at use {|
|00003a80| 5c 73 66 20 2f 64 65 76 | 2f 68 64 61 7d 20 61 72 |\sf /dev|/hda} ar|
|00003a90| 65 20 74 68 69 6e 67 73 | 20 6c 69 6b 65 20 7b 5c |e things| like {\|
|00003aa0| 74 74 20 66 64 69 73 6b | 7d 20 65 74 63 2e 2e 0a |tt fdisk|} etc...|
|00003ab0| 0a 4e 4f 54 45 20 32 21 | 21 20 54 68 65 20 6e 61 |.NOTE 2!|! The na|
|00003ac0| 6d 65 73 20 66 6f 72 20 | 68 64 27 73 20 61 72 65 |mes for |hd's are|
|00003ad0| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 74 68 65 20 73 | no long|er the s|
|00003ae0| 61 6d 65 20 61 73 20 75 | 6e 64 65 72 20 6d 69 6e |ame as u|nder min|
|00003af0| 69 78 2c 0a 74 68 65 72 | 65 20 69 73 20 61 20 73 |ix,.ther|e is a s|
|00003b00| 74 72 61 69 67 68 74 66 | 6f 72 77 61 72 64 20 63 |traightf|orward c|
|00003b10| 6f 72 72 65 73 70 6f 6e | 64 61 6e 63 65 2c 20 62 |orrespon|dance, b|
|00003b20| 75 74 20 49 20 74 68 69 | 6e 6b 20 6d 69 6e 69 78 |ut I thi|nk minix|
|00003b30| 20 6f 72 64 65 72 73 0a | 74 68 65 20 70 61 72 74 | orders.|the part|
|00003b40| 69 74 69 6f 6e 73 20 69 | 6e 20 73 6f 6d 65 20 77 |itions i|n some w|
|00003b50| 61 79 20 28 73 6f 20 74 | 68 61 74 20 74 68 65 20 |ay (so t|hat the |
|00003b60| 70 61 72 74 69 74 69 6f | 6e 20 6e 75 6d 62 65 72 |partitio|n number|
|00003b70| 73 20 77 69 6c 6c 20 62 | 65 20 69 6e 0a 74 68 65 |s will b|e in.the|
|00003b80| 20 73 61 6d 65 20 6f 72 | 64 65 72 20 61 73 20 74 | same or|der as t|
|00003b90| 68 65 20 70 61 72 74 69 | 74 69 6f 6e 73 20 61 72 |he parti|tions ar|
|00003ba0| 65 20 70 68 79 73 69 63 | 61 6c 6c 79 20 6f 6e 20 |e physic|ally on |
|00003bb0| 74 68 65 20 64 69 73 6b | 29 2e 20 20 4c 69 6e 75 |the disk|). Linu|
|00003bc0| 78 0a 64 6f 65 73 6e 27 | 74 20 6f 72 64 65 72 20 |x.doesn'|t order |
|00003bd0| 61 6e 79 74 68 69 6e 67 | 3a 20 69 74 20 68 61 73 |anything|: it has|
|00003be0| 20 74 68 65 20 70 61 72 | 74 69 74 69 6f 6e 73 20 | the par|titions |
|00003bf0| 69 6e 20 74 68 65 20 73 | 61 6d 65 20 6f 72 64 65 |in the s|ame orde|
|00003c00| 72 20 61 73 20 69 6e 0a | 74 68 65 20 70 61 72 74 |r as in.|the part|
|00003c10| 69 74 69 6f 6e 20 74 61 | 62 6c 65 20 28 69 2e 65 |ition ta|ble (i.e|
|00003c20| 2e 20 7b 5c 73 66 20 2f | 64 65 76 2f 68 64 3f 31 |. {\sf /|dev/hd?1|
|00003c30| 7d 20 6d 69 67 68 74 20 | 62 65 20 70 68 79 73 69 |} might |be physi|
|00003c40| 63 61 6c 6c 79 20 61 66 | 74 65 72 0a 7b 5c 73 66 |cally af|ter.{\sf|
|00003c50| 20 2f 64 65 76 2f 68 64 | 3f 32 7d 29 2e 0a 0a 4e | /dev/hd|?2})...N|
|00003c60| 4f 54 45 20 33 21 21 20 | 45 78 74 65 6e 64 65 64 |OTE 3!! |Extended|
|00003c70| 20 70 61 72 74 69 74 69 | 6f 6e 73 20 61 72 65 20 | partiti|ons are |
|00003c80| 72 65 63 65 6e 74 6c 79 | 20 64 65 74 65 63 74 65 |recently| detecte|
|00003c90| 64 2c 20 75 73 65 20 74 | 68 65 6d 20 56 45 52 59 |d, use t|hem VERY|
|00003ca0| 0a 63 61 72 65 66 75 6c | 6c 79 2c 20 74 68 65 79 |.careful|ly, they|
|00003cb0| 20 73 68 6f 75 6c 64 20 | 77 6f 72 6b 2c 20 62 75 | should |work, bu|
|00003cc0| 74 20 62 61 63 6b 75 70 | 20 65 76 65 72 79 74 68 |t backup| everyth|
|00003cd0| 69 6e 67 20 62 65 66 6f | 72 65 2e 0a 0a 5c 62 65 |ing befo|re...\be|
|00003ce0| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 54 74 79 27 73 |gin{cent|er}Tty's|
|00003cf0| 3a 20 4d 61 6a 6f 72 20 | 3d 20 34 20 28 63 68 61 |: Major |= 4 (cha|
|00003d00| 72 61 63 74 65 72 20 64 | 65 76 69 63 65 73 29 20 |racter d|evices) |
|00003d10| 6d 69 6e 6f 72 5c 65 6e | 64 7b 63 65 6e 74 65 72 |minor\en|d{center|
|00003d20| 7d 0a 5c 62 65 67 69 6e | 7b 74 61 62 62 69 6e 67 |}.\begin|{tabbing|
|00003d30| 7d 0a 41 42 43 44 45 46 | 47 48 49 4a 4b 5c 3d 4c |}.ABCDEF|GHIJK\=L|
|00003d40| 4d 4e 4f 50 51 52 53 54 | 55 5c 3d 5c 6b 69 6c 6c |MNOPQRST|U\=\kill|
|00003d50| 0a 30 20 20 20 20 20 20 | 20 20 5c 3e 7b 5c 73 66 |.0 | \>{\sf|
|00003d60| 20 2f 64 65 76 2f 74 74 | 79 30 7d 20 20 5c 3e 2d | /dev/tt|y0} \>-|
|00003d70| 2d 20 67 65 6e 65 72 61 | 6c 20 63 6f 6e 73 6f 6c |- genera|l consol|
|00003d80| 65 20 31 5c 5c 0a 36 33 | 20 20 20 20 20 20 20 5c |e 1\\.63| \|
|00003d90| 3e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |> | |
|00003da0| 20 20 5c 3e 2d 2d 20 72 | 65 73 65 72 76 65 64 20 | \>-- r|eserved |
|00003db0| 66 6f 72 20 76 69 72 74 | 75 61 6c 20 63 6f 6e 73 |for virt|ual cons|
|00003dc0| 6f 6c 65 5c 5c 0a 36 34 | 2d 2d 31 32 37 20 20 5c |ole\\.64|--127 \|
|00003dd0| 3e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |> | |
|00003de0| 20 20 5c 3e 2d 2d 20 72 | 65 73 65 72 76 65 64 20 | \>-- r|eserved |
|00003df0| 66 6f 72 20 73 65 72 69 | 61 6c 20 69 6f 5c 5c 0a |for seri|al io\\.|
|00003e00| 31 32 38 2d 2d 20 20 20 | 20 5c 3e 20 20 20 20 20 |128-- | \> |
|00003e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 3e 2d 2d | | \>--|
|00003e20| 20 72 65 73 65 72 76 65 | 64 20 66 6f 72 20 70 74 | reserve|d for pt|
|00003e30| 79 27 73 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 62 69 |y's\\.\e|nd{tabbi|
|00003e40| 6e 67 7d 0a 41 6e 64 20 | 6d 6f 72 65 20 70 61 72 |ng}.And |more par|
|00003e50| 74 69 63 75 6c 61 72 6c | 79 20 77 65 20 68 61 76 |ticularl|y we hav|
|00003e60| 65 3a 0a 5c 62 65 67 69 | 6e 7b 74 61 62 62 69 6e |e:.\begi|n{tabbin|
|00003e70| 67 7d 0a 41 42 43 44 45 | 46 47 48 49 4a 4b 5c 3d |g}.ABCDE|FGHIJK\=|
|00003e80| 4c 4d 4e 4f 50 51 52 53 | 54 55 5c 3d 5c 6b 69 6c |LMNOPQRS|TU\=\kil|
|00003e90| 6c 0a 36 34 20 20 20 20 | 20 20 5c 3e 7b 5c 73 66 |l.64 | \>{\sf|
|00003ea0| 20 2f 64 65 76 2f 74 74 | 79 73 31 7d 20 20 5c 3e | /dev/tt|ys1} \>|
|00003eb0| 2d 2d 20 63 6f 6d 31 5c | 5c 0a 36 35 20 20 20 20 |-- com1\|\.65 |
|00003ec0| 20 20 5c 3e 7b 5c 73 66 | 20 2f 64 65 76 2f 74 74 | \>{\sf| /dev/tt|
|00003ed0| 79 73 32 7d 20 20 5c 3e | 2d 2d 20 63 6f 6d 32 5c |ys2} \>|-- com2\|
|00003ee0| 5c 0a 36 36 20 20 20 20 | 20 20 5c 3e 7b 5c 73 66 |\.66 | \>{\sf|
|00003ef0| 20 2f 64 65 76 2f 74 74 | 79 73 33 7d 20 20 5c 3e | /dev/tt|ys3} \>|
|00003f00| 2d 2d 20 63 6f 6d 33 5c | 5c 0a 36 37 20 20 20 20 |-- com3\|\.67 |
|00003f10| 20 20 5c 3e 7b 5c 73 66 | 20 2f 64 65 76 2f 74 74 | \>{\sf| /dev/tt|
|00003f20| 79 73 34 7d 20 20 5c 3e | 2d 2d 20 63 6f 6d 34 5c |ys4} \>|-- com4\|
|00003f30| 5c 0a 5c 65 6e 64 7b 74 | 61 62 62 69 6e 67 7d 0a |\.\end{t|abbing}.|
|00003f40| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 6c 70 |\begin{c|enter}lp|
|00003f50| 3a 20 4d 61 6a 6f 72 3d | 36 20 28 63 68 61 72 61 |: Major=|6 (chara|
|00003f60| 63 74 65 72 20 64 65 76 | 69 63 65 73 29 20 6d 69 |cter dev|ices) mi|
|00003f70| 6e 6f 72 20 73 69 6e 63 | 65 0a 30 39 35 63 2b 5c |nor sinc|e.095c+\|
|00003f80| 65 6e 64 7b 63 65 6e 74 | 65 72 7d 0a 5c 62 65 67 |end{cent|er}.\beg|
|00003f90| 69 6e 7b 74 61 62 62 69 | 6e 67 7d 0a 41 42 43 44 |in{tabbi|ng}.ABCD|
|00003fa0| 45 46 47 48 49 4a 4b 5c | 3d 4c 4d 4e 4f 50 51 52 |EFGHIJK\|=LMNOPQR|
|00003fb0| 53 54 55 5c 3d 5c 6b 69 | 6c 6c 0a 30 20 20 20 20 |STU\=\ki|ll.0 |
|00003fc0| 20 20 20 5c 3e 7b 5c 73 | 66 20 2f 64 65 76 2f 6c | \>{\s|f /dev/l|
|00003fd0| 70 30 7d 5c 5c 0a 31 20 | 20 20 20 20 20 20 5c 3e |p0}\\.1 | \>|
|00003fe0| 7b 5c 73 66 20 2f 64 65 | 76 2f 6c 70 31 7d 5c 5c |{\sf /de|v/lp1}\\|
|00003ff0| 0a 32 20 20 20 20 20 20 | 20 5c 3e 7b 5c 73 66 20 |.2 | \>{\sf |
|00004000| 2f 64 65 76 2f 6c 70 32 | 7d 5c 5c 0a 5c 65 6e 64 |/dev/lp2|}\\.\end|
|00004010| 7b 74 61 62 62 69 6e 67 | 7d 0a 5c 62 65 67 69 6e |{tabbing|}.\begin|
|00004020| 7b 63 65 6e 74 65 72 7d | 53 63 73 69 3a 20 4d 61 |{center}|Scsi: Ma|
|00004030| 6a 6f 72 20 3d 20 38 20 | 28 62 6c 6f 63 6b 20 64 |jor = 8 |(block d|
|00004040| 65 76 69 63 65 73 29 5c | 65 6e 64 7b 63 65 6e 74 |evices)\|end{cent|
|00004050| 65 72 7d 0a 4d 69 6e 6f | 72 73 20 61 72 65 20 61 |er}.Mino|rs are a|
|00004060| 73 73 69 67 6e 65 64 20 | 69 6e 20 69 6e 63 72 65 |ssigned |in incre|
|00004070| 6d 65 6e 74 73 20 6f 66 | 20 31 36 20 74 6f 20 53 |ments of| 16 to S|
|00004080| 43 53 49 20 64 69 73 6b | 73 20 61 73 20 74 68 65 |CSI disk|s as the|
|00004090| 79 20 61 72 65 0a 66 6f | 75 6e 64 2c 20 73 63 61 |y are.fo|und, sca|
|000040a0| 6e 6e 69 6e 67 20 20 66 | 72 6f 6d 20 68 6f 73 74 |nning f|rom host|
|000040b0| 20 30 2c 20 49 44 20 30 | 20 74 6f 20 68 6f 73 74 | 0, ID 0| to host|
|000040c0| 20 6e 2c 20 49 44 20 60 | 37 2c 20 65 78 63 6c 75 | n, ID `|7, exclu|
|000040d0| 64 69 6e 67 20 74 68 65 | 0a 68 6f 73 74 20 49 44 |ding the|.host ID|
|000040e0| 2e 20 46 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |. For mo|re infor|
|000040f0| 6d 61 74 69 6f 6e 20 72 | 65 61 64 20 74 68 65 20 |mation r|ead the |
|00004100| 53 43 53 49 2e 6e 6f 74 | 65 20 66 69 6c 65 20 61 |SCSI.not|e file a|
|00004110| 76 61 69 6c 61 62 6c 65 | 20 77 69 74 68 0a 70 61 |vailable| with.pa|
|00004120| 74 63 68 65 73 20 66 6f | 72 20 53 43 53 49 20 28 |tches fo|r SCSI (|
|00004130| 73 65 65 20 61 6c 73 6f | 20 73 65 63 74 69 6f 6e |see also| section|
|00004140| 7e 5c 72 65 66 7b 73 63 | 73 69 69 6e 66 6f 7d 29 |~\ref{sc|siinfo})|
|00004150| 2e 0a 0a 4e 4f 54 45 20 | 34 21 21 20 61 6c 6c 20 |...NOTE |4!! all |
|00004160| 74 68 65 20 6e 75 6d 62 | 65 72 73 20 67 69 76 65 |the numb|ers give|
|00004170| 6e 20 61 72 65 20 69 6e | 20 64 65 63 69 6d 61 6c |n are in| decimal|
|00004180| 20 66 6f 72 6d 20 28 74 | 68 65 20 6f 6e 65 20 79 | form (t|he one y|
|00004190| 6f 75 20 63 61 6e 0a 73 | 65 65 20 69 66 20 79 6f |ou can.s|ee if yo|
|000041a0| 75 20 70 65 72 66 6f 72 | 6d 20 7b 5c 74 74 20 6c |u perfor|m {\tt l|
|000041b0| 73 7e 2d 6c 7d 20 6f 6e | 20 7b 5c 73 66 20 2f 64 |s~-l} on| {\sf /d|
|000041c0| 65 76 7d 29 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |ev})...\|begin{qu|
|000041d0| 65 73 74 69 6f 6e 7d 20 | 28 43 68 75 63 6b 20 42 |estion} |(Chuck B|
|000041e0| 6f 79 65 72 29 20 43 6f | 75 6c 64 20 73 6f 6d 65 |oyer) Co|uld some|
|000041f0| 20 6f 6e 65 20 63 6c 65 | 61 72 20 75 70 20 74 68 | one cle|ar up th|
|00004200| 65 20 64 65 76 69 63 65 | 73 0a 6d 65 61 6e 69 6e |e device|s.meanin|
|00004210| 67 3f 5c 65 6e 64 7b 71 | 75 65 73 74 69 6f 6e 7d |g?\end{q|uestion}|
|00004220| 0a 5c 61 6e 73 77 65 72 | 20 28 4a 69 6d 20 57 69 |.\answer| (Jim Wi|
|00004230| 6e 73 74 65 61 64 20 4a | 72 29 5c 5c 20 7b 5c 73 |nstead J|r)\\ {\s|
|00004240| 66 20 70 6f 72 74 7d 5c | 5c 20 54 68 69 73 20 61 |f port}\|\ This a|
|00004250| 6c 6c 6f 77 73 20 70 72 | 6f 67 72 61 6d 73 20 74 |llows pr|ograms t|
|00004260| 6f 0a 61 63 63 65 73 73 | 20 74 68 65 20 68 61 72 |o.access| the har|
|00004270| 64 77 61 72 65 20 70 6f | 72 74 73 20 64 69 72 65 |dware po|rts dire|
|00004280| 63 74 6c 79 2e 20 20 4e | 6f 74 20 73 6f 6d 65 74 |ctly. N|ot somet|
|00004290| 68 69 6e 67 20 79 6f 75 | 20 67 65 6e 65 72 61 6c |hing you| general|
|000042a0| 6c 79 20 6d 65 73 73 0a | 61 72 6f 75 6e 64 20 77 |ly mess.|around w|
|000042b0| 69 74 68 20 6d 75 63 68 | 2e 5c 5c 20 7b 5c 73 66 |ith much|.\\ {\sf|
|000042c0| 20 70 74 79 70 30 2d 33 | 5c 5c 20 70 74 79 70 61 | ptyp0-3|\\ ptypa|
|000042d0| 2e 2e 2e 74 74 79 7d 5c | 5c 20 54 68 65 73 65 20 |...tty}\|\ These |
|000042e0| 61 72 65 0a 74 68 65 20 | 70 73 65 75 64 6f 2d 74 |are.the |pseudo-t|
|000042f0| 74 79 20 60 6d 61 73 74 | 65 72 27 20 64 65 76 69 |ty `mast|er' devi|
|00004300| 63 65 73 2e 20 20 45 61 | 63 68 20 70 74 79 20 63 |ces. Ea|ch pty c|
|00004310| 6f 6e 6e 65 63 74 69 6f | 6e 20 75 73 65 73 20 61 |onnectio|n uses a|
|00004320| 0a 73 6c 61 76 65 2d 6d | 61 73 74 65 72 20 73 65 |.slave-m|aster se|
|00004330| 74 20 6f 66 20 74 74 79 | 20 64 65 76 69 63 65 73 |t of tty| devices|
|00004340| 2e 5c 5c 20 7b 5c 73 66 | 20 74 74 79 30 2e 2e 2e |.\\ {\sf| tty0...|
|00004350| 5c 5c 20 74 74 79 5b 31 | 2d 38 5d 7d 20 61 72 65 |\\ tty[1|-8]} are|
|00004360| 0a 74 68 65 20 76 69 72 | 74 75 61 6c 20 63 6f 6e |.the vir|tual con|
|00004370| 73 6f 6c 65 73 20 61 73 | 73 6f 63 69 61 74 65 64 |soles as|sociated|
|00004380| 20 77 69 74 68 20 41 6c | 74 2d 46 5b 31 2d 38 5d | with Al|t-F[1-8]|
|00004390| 2e 20 20 7b 5c 73 66 20 | 74 74 79 30 7d 20 69 73 |. {\sf |tty0} is|
|000043a0| 20 74 68 65 0a 63 75 72 | 72 65 6e 74 20 76 69 72 | the.cur|rent vir|
|000043b0| 74 75 61 6c 20 63 6f 6e | 73 6f 6c 65 20 28 73 6f |tual con|sole (so|
|000043c0| 20 77 72 69 74 69 6e 67 | 20 73 6f 6d 65 74 68 69 | writing| somethi|
|000043d0| 6e 67 20 74 6f 20 7b 5c | 73 66 20 74 74 79 30 7d |ng to {\|sf tty0}|
|000043e0| 20 67 6f 65 73 20 74 6f | 0a 74 68 65 20 63 75 72 | goes to|.the cur|
|000043f0| 72 65 6e 74 20 76 63 29 | 2e 5c 5c 20 7b 5c 73 66 |rent vc)|.\\ {\sf|
|00004400| 20 74 74 79 36 34 7d 20 | 5b 49 27 76 65 20 66 69 | tty64} |[I've fi|
|00004410| 67 75 72 65 64 20 6f 75 | 74 20 69 73 20 74 68 65 |gured ou|t is the|
|00004420| 20 6d 6f 64 65 6d 0a 63 | 6f 6e 6e 65 63 74 69 6f | modem.c|onnectio|
|00004430| 6e 5d 5c 5c 20 59 65 73 | 2c 20 74 68 61 74 20 77 |n]\\ Yes|, that w|
|00004440| 6f 75 6c 64 20 63 6f 72 | 72 65 73 70 6f 6e 64 20 |ould cor|respond |
|00004450| 74 6f 20 43 4f 4d 31 20 | 75 6e 64 65 72 20 44 4f |to COM1 |under DO|
|00004460| 53 2e 20 20 48 6f 77 65 | 76 65 72 2c 0a 74 68 65 |S. Howe|ver,.the|
|00004470| 20 74 74 79 36 34 20 6e | 61 6d 65 20 69 73 20 6f | tty64 n|ame is o|
|00004480| 62 73 6f 6c 65 74 65 20 | 2d 20 7b 5c 73 66 20 74 |bsolete |- {\sf t|
|00004490| 74 79 73 5b 31 2d 34 5d | 7d 20 73 68 6f 75 6c 64 |tys[1-4]|} should|
|000044a0| 20 62 65 20 75 73 65 64 | 20 69 6e 73 74 65 61 64 | be used| instead|
|000044b0| 2e 5c 5c 0a 7b 5c 73 66 | 20 74 74 79 70 30 2e 2e |.\\.{\sf| ttyp0..|
|000044c0| 2e 5c 5c 20 74 74 79 70 | 61 2e 2e 2e 7d 5c 5c 20 |.\\ ttyp|a...}\\ |
|000044d0| 54 68 65 73 65 20 61 72 | 65 20 74 68 65 20 70 73 |These ar|e the ps|
|000044e0| 65 75 64 6f 2d 74 74 79 | 20 60 73 6c 61 76 65 27 |eudo-tty| `slave'|
|000044f0| 0a 64 65 76 69 63 65 73 | 2e 5c 5c 20 7b 5c 73 66 |.devices|.\\ {\sf|
|00004500| 20 74 74 79 73 31 2e 2e | 2e 7d 5c 5c 20 54 68 65 | ttys1..|.}\\ The|
|00004510| 73 65 20 61 72 65 20 74 | 68 65 20 73 65 72 69 61 |se are t|he seria|
|00004520| 6c 20 64 65 76 69 63 65 | 73 2e 20 20 7b 5c 73 66 |l device|s. {\sf|
|00004530| 20 74 74 79 73 31 7d 0a | 63 6f 72 72 65 73 70 6f | ttys1}.|correspo|
|00004540| 6e 64 73 20 74 6f 20 43 | 4f 4d 31 20 75 6e 64 65 |nds to C|OM1 unde|
|00004550| 72 20 44 4f 53 2c 20 7b | 5c 73 66 20 74 74 79 73 |r DOS, {|\sf ttys|
|00004560| 32 7d 20 63 6f 72 72 65 | 73 70 6f 6e 64 73 20 74 |2} corre|sponds t|
|00004570| 6f 20 43 4f 4d 32 2c 20 | 65 74 63 2e 0a 0a 5c 73 |o COM2, |etc...\s|
|00004580| 75 62 73 65 63 74 69 6f | 6e 7b 53 70 65 63 69 61 |ubsectio|n{Specia|
|00004590| 6c 20 53 65 72 69 61 6c | 7d 0a 0a 44 6f 75 67 6c |l Serial|}..Dougl|
|000045a0| 61 73 20 45 2e 20 51 75 | 61 6c 65 3a 5c 5c 20 54 |as E. Qu|ale:\\ T|
|000045b0| 68 69 73 20 68 61 73 20 | 63 6f 6d 65 20 75 70 20 |his has |come up |
|000045c0| 61 20 63 6f 75 70 6c 65 | 20 6f 66 20 74 69 6d 65 |a couple| of time|
|000045d0| 73 20 61 6c 72 65 61 64 | 79 0a 28 69 6e 63 6c 75 |s alread|y.(inclu|
|000045e0| 64 69 6e 67 20 74 68 65 | 20 63 61 73 65 20 6f 66 |ding the| case of|
|000045f0| 20 73 65 72 69 61 6c 20 | 6d 69 63 65 20 61 73 20 | serial |mice as |
|00004600| 77 65 6c 6c 29 2c 20 62 | 75 74 20 66 6f 72 20 74 |well), b|ut for t|
|00004610| 68 65 20 72 65 63 6f 72 | 64 20 7b 5c 74 74 0a 73 |he recor|d {\tt.s|
|00004620| 74 74 79 7d 20 61 63 74 | 73 20 6f 6e 20 73 74 64 |tty} act|s on std|
|00004630| 69 6e 20 6e 6f 74 20 73 | 74 64 6f 75 74 2e 20 20 |in not s|tdout. |
|00004640| 4f 6c 64 20 73 74 74 79 | 27 73 20 28 66 72 6f 6d |Old stty|'s (from|
|00004650| 20 56 37 20 74 68 72 6f | 75 67 68 20 42 53 44 34 | V7 thro|ugh BSD4|
|00004660| 2e 33 29 0a 75 73 65 64 | 20 73 74 64 6f 75 74 2c |.3).used| stdout,|
|00004670| 20 62 75 74 20 74 68 69 | 73 20 69 73 20 73 75 62 | but thi|s is sub|
|00004680| 6f 70 74 69 6d 61 6c 20 | 61 6e 64 20 64 6f 65 73 |optimal |and does|
|00004690| 6e 27 74 20 63 6f 6e 66 | 6f 72 6d 20 74 6f 20 50 |n't conf|orm to P|
|000046a0| 4f 53 49 58 2e 20 20 54 | 68 65 0a 47 4e 55 20 73 |OSIX. T|he.GNU s|
|000046b0| 74 74 79 20 79 6f 75 20 | 61 72 65 20 6c 69 6b 65 |tty you |are like|
|000046c0| 6c 79 20 75 73 69 6e 67 | 20 6f 6e 20 4c 69 6e 75 |ly using| on Linu|
|000046d0| 78 20 75 73 65 73 20 73 | 74 64 69 6e 2c 20 61 73 |x uses s|tdin, as|
|000046e0| 20 64 6f 65 73 20 74 68 | 65 20 73 74 74 79 0a 64 | does th|e stty.d|
|000046f0| 69 73 74 72 69 62 75 74 | 65 64 20 77 69 74 68 20 |istribut|ed with |
|00004700| 42 53 44 20 4e 65 74 77 | 6f 72 6b 69 6e 67 20 52 |BSD Netw|orking R|
|00004710| 65 6c 65 61 73 65 20 32 | 2e 20 20 28 41 6c 73 6f |elease 2|. (Also|
|00004720| 2c 20 7b 5c 74 74 20 73 | 74 74 79 7e 2d 61 7d 20 |, {\tt s|tty~-a} |
|00004730| 69 73 0a 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |is.more |informat|
|00004740| 69 76 65 20 61 62 6f 75 | 74 20 70 6f 73 73 69 62 |ive abou|t possib|
|00004750| 6c 65 20 70 61 72 61 6d | 65 74 65 72 73 2c 20 61 |le param|eters, a|
|00004760| 6c 74 68 6f 75 67 68 20 | 69 74 27 73 20 70 72 65 |lthough |it's pre|
|00004770| 74 74 79 20 68 61 72 64 | 0a 66 6f 72 20 6d 65 20 |tty hard|.for me |
|00004780| 74 6f 20 72 65 6d 65 6d | 62 65 72 20 77 68 61 74 |to remem|ber what|
|00004790| 20 39 30 25 20 6f 66 20 | 74 68 61 74 20 73 74 75 | 90% of |that stu|
|000047a0| 66 66 20 64 6f 65 73 20 | 77 69 74 68 6f 75 74 20 |ff does |without |
|000047b0| 72 65 66 65 72 69 6e 67 | 20 74 6f 20 74 68 65 0a |refering| to the.|
|000047c0| 6d 61 6e 20 70 61 67 65 | 2e 29 0a 0a 5c 62 65 67 |man page|.)..\beg|
|000047d0| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 49 73 20 |in{quest|ion} Is |
|000047e0| 74 68 65 72 65 20 61 20 | 6c 69 73 74 20 73 6f 6d |there a |list som|
|000047f0| 65 77 68 65 72 65 20 77 | 68 65 72 65 20 49 20 63 |ewhere w|here I c|
|00004800| 61 6e 20 67 65 74 20 68 | 65 6c 70 20 77 69 74 68 |an get h|elp with|
|00004810| 0a 73 65 72 69 61 6c 20 | 63 6f 6d 6d 75 6e 69 63 |.serial |communic|
|00004820| 61 74 69 6f 6e 73 20 75 | 6e 64 65 72 20 4c 69 6e |ations u|nder Lin|
|00004830| 75 78 3f 5c 65 6e 64 7b | 71 75 65 73 74 69 6f 6e |ux?\end{|question|
|00004840| 7d 0a 5c 61 6e 73 77 65 | 72 20 28 4a 69 6d 20 47 |}.\answe|r (Jim G|
|00004850| 69 66 66 6f 72 64 20 2d | 2d 20 7b 5c 74 74 20 6a |ifford -|- {\tt j|
|00004860| 67 69 66 66 6f 72 64 40 | 61 74 74 6d 61 69 6c 2e |gifford@|attmail.|
|00004870| 63 6f 6d 7d 29 5c 5c 0a | 54 68 65 72 65 20 69 73 |com})\\.|There is|
|00004880| 20 61 20 6e 65 77 20 6c | 69 73 74 20 66 6f 72 20 | a new l|ist for |
|00004890| 74 68 65 20 64 69 73 63 | 75 73 73 69 6f 6e 20 6f |the disc|ussion o|
|000048a0| 66 20 73 65 72 69 61 6c | 20 63 6f 6d 6d 75 6e 69 |f serial| communi|
|000048b0| 63 61 74 69 6f 6e 73 20 | 75 6e 64 65 72 0a 4c 69 |cations |under.Li|
|000048c0| 6e 75 78 2e 20 20 49 74 | 20 69 73 20 66 6f 72 20 |nux. It| is for |
|000048d0| 70 72 6f 62 6c 65 6d 73 | 2c 20 64 72 69 76 65 72 |problems|, driver|
|000048e0| 73 2c 20 6e 65 77 20 64 | 65 76 65 6c 6f 70 6d 65 |s, new d|evelopme|
|000048f0| 6e 74 73 2c 20 65 74 63 | 2e 2e 2e 20 77 69 74 68 |nts, etc|... with|
|00004900| 20 74 68 65 0a 4c 69 6e | 75 78 20 73 65 72 69 61 | the.Lin|ux seria|
|00004910| 6c 20 64 65 76 69 63 65 | 73 2e 20 54 68 65 20 6c |l device|s. The l|
|00004920| 69 73 74 20 69 73 3a 20 | 7b 5c 74 74 20 6c 69 6e |ist is: |{\tt lin|
|00004930| 75 78 2d 73 65 72 69 61 | 6c 40 73 74 6f 6c 61 66 |ux-seria|l@stolaf|
|00004940| 2e 65 64 75 7d 20 54 6f | 20 6a 6f 69 6e 2c 0a 73 |.edu} To| join,.s|
|00004950| 65 6e 64 20 6d 61 69 6c | 20 74 6f 20 7b 5c 74 74 |end mail| to {\tt|
|00004960| 20 6c 69 6e 75 78 2d 73 | 65 72 69 61 6c 2d 72 65 | linux-s|erial-re|
|00004970| 71 75 65 73 74 40 73 74 | 6f 6c 61 66 2e 65 64 75 |quest@st|olaf.edu|
|00004980| 7d 20 49 20 68 6f 70 65 | 20 74 68 61 74 20 74 68 |} I hope| that th|
|00004990| 69 73 20 6c 69 73 74 0a | 77 69 6c 6c 20 70 72 6f |is list.|will pro|
|000049a0| 76 65 20 62 65 6e 65 66 | 69 63 69 61 6c 20 74 6f |ve benef|icial to|
|000049b0| 20 74 68 65 20 69 6d 70 | 72 6f 76 65 6d 65 6e 74 | the imp|rovement|
|000049c0| 20 6f 66 20 4c 69 6e 75 | 78 2e 20 54 68 69 73 20 | of Linu|x. This |
|000049d0| 6c 69 73 74 20 69 73 0a | 6d 61 69 6e 74 61 69 6e |list is.|maintain|
|000049e0| 65 64 20 62 79 20 4d 69 | 63 68 61 65 6c 20 4b 2e |ed by Mi|chael K.|
|000049f0| 20 4a 6f 68 6e 73 6f 6e | 20 61 73 20 7b 5c 74 74 | Johnson| as {\tt|
|00004a00| 20 2d 73 65 72 69 61 6c | 2d 72 65 71 75 65 73 74 | -serial|-request|
|00004a10| 40 73 74 6f 6c 61 66 2e | 65 64 75 7d 0a 0a 5c 62 |@stolaf.|edu}..\b|
|00004a20| 65 67 69 6e 7b 71 75 65 | 73 74 69 6f 6e 7d 20 57 |egin{que|stion} W|
|00004a30| 68 65 6e 20 49 20 72 75 | 6e 20 6b 65 72 6d 69 74 |hen I ru|n kermit|
|00004a40| 20 75 6e 64 65 72 20 4c | 69 6e 75 78 2c 20 49 20 | under L|inux, I |
|00004a50| 67 65 74 20 22 57 61 72 | 6e 69 6e 67 2c 20 52 65 |get "War|ning, Re|
|00004a60| 61 64 0a 61 63 63 65 73 | 73 20 74 6f 20 6c 6f 63 |ad.acces|s to loc|
|00004a70| 6b 20 64 69 72 65 63 74 | 6f 72 79 20 64 65 6e 69 |k direct|ory deni|
|00004a80| 65 64 22 2e 20 57 68 61 | 74 20 61 6d 20 49 20 64 |ed". Wha|t am I d|
|00004a90| 6f 69 6e 67 20 77 72 6f | 6e 67 3f 5c 65 6e 64 7b |oing wro|ng?\end{|
|00004aa0| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00004ab0| 72 20 4e 6f 74 68 69 6e | 67 2c 20 79 6f 75 20 6a |r Nothin|g, you j|
|00004ac0| 75 73 74 20 6e 65 65 64 | 20 74 6f 20 63 72 65 61 |ust need| to crea|
|00004ad0| 74 65 20 7b 5c 73 66 20 | 2f 75 73 72 2f 73 70 6f |te {\sf |/usr/spo|
|00004ae0| 6f 6c 2f 75 75 63 70 7d | 20 28 6b 65 72 6d 69 74 |ol/uucp}| (kermit|
|00004af0| 0a 34 2e 36 3f 29 20 6f | 72 20 7b 5c 73 66 20 2f |.4.6?) o|r {\sf /|
|00004b00| 75 73 72 2f 73 70 6f 6f | 6c 2f 6c 6f 63 6b 73 7d |usr/spoo|l/locks}|
|00004b10| 20 28 74 68 69 73 20 69 | 73 20 66 6f 72 20 74 68 | (this i|s for th|
|00004b20| 65 20 6b 65 72 6d 69 74 | 35 41 29 2c 20 77 68 69 |e kermit|5A), whi|
|00004b30| 63 68 20 69 73 0a 77 68 | 65 72 65 20 6b 65 72 6d |ch is.wh|ere kerm|
|00004b40| 69 74 20 6c 69 6b 65 20 | 74 6f 20 6c 6f 63 6b 20 |it like |to lock |
|00004b50| 66 69 6c 65 73 2e 0a 0a | 5c 62 65 67 69 6e 7b 71 |files...|\begin{q|
|00004b60| 75 65 73 74 69 6f 6e 7d | 20 57 68 61 74 20 61 72 |uestion}| What ar|
|00004b70| 65 20 74 68 65 20 6d 61 | 6a 6f 72 2c 20 6d 69 6e |e the ma|jor, min|
|00004b80| 6f 72 20 6e 75 6d 62 65 | 72 73 20 66 6f 72 20 74 |or numbe|rs for t|
|00004b90| 68 65 20 73 65 72 69 61 | 6c 0a 70 6f 72 74 73 20 |he seria|l.ports |
|00004ba0| 75 6e 64 65 72 20 4c 69 | 6e 75 78 3f 5c 65 6e 64 |under Li|nux?\end|
|00004bb0| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|00004bc0| 65 72 20 53 65 65 20 73 | 65 63 74 69 6f 6e 7e 5c |er See s|ection~\|
|00004bd0| 72 65 66 7b 6d 61 6a 6f | 72 6d 69 6e 6f 72 7d 0a |ref{majo|rminor}.|
|00004be0| 0a 5c 62 65 67 69 6e 7b | 71 75 65 73 74 69 6f 6e |.\begin{|question|
|00004bf0| 7d 20 63 61 6e 20 61 6e | 79 6f 6e 65 20 67 69 76 |} can an|yone giv|
|00004c00| 65 20 6d 65 20 61 20 73 | 61 6d 70 6c 65 20 2f 65 |e me a s|ample /e|
|00004c10| 74 63 2f 69 6e 69 74 74 | 61 62 20 65 6e 74 72 79 |tc/initt|ab entry|
|00004c20| 20 66 6f 72 0a 6c 6f 67 | 69 6e 20 66 72 6f 6d 20 | for.log|in from |
|00004c30| 61 20 70 63 20 61 74 74 | 61 63 68 65 64 20 74 6f |a pc att|ached to|
|00004c40| 20 73 65 72 69 61 6c 20 | 6c 69 6e 65 20 2f 64 65 | serial |line /de|
|00004c50| 76 2f 74 74 79 73 32 3f | 5c 65 6e 64 7b 71 75 65 |v/ttys2?|\end{que|
|00004c60| 73 74 69 6f 6e 7d 0a 5c | 61 6e 73 77 65 72 20 28 |stion}.\|answer (|
|00004c70| 48 75 6d 62 65 72 74 6f | 29 5c 5c 20 46 69 72 73 |Humberto|)\\ Firs|
|00004c80| 74 20 73 65 74 20 75 70 | 20 74 68 65 20 6d 6f 64 |t set up| the mod|
|00004c90| 65 6d 20 74 6f 20 74 75 | 72 6e 20 6f 66 66 20 65 |em to tu|rn off e|
|00004ca0| 63 68 6f 20 61 6e 64 0a | 65 6e 61 62 6c 65 20 61 |cho and.|enable a|
|00004cb0| 75 74 6f 20 61 6e 73 77 | 65 72 2c 20 49 20 64 6f |uto answ|er, I do|
|00004cc0| 20 74 68 69 73 20 69 6e | 20 6b 65 72 6d 69 74 20 | this in| kermit |
|00004cd0| 62 79 20 63 6f 6e 6e 65 | 63 74 69 6e 67 20 74 6f |by conne|cting to|
|00004ce0| 20 74 68 65 20 6d 6f 64 | 65 6d 20 61 6e 64 0a 74 | the mod|em and.t|
|00004cf0| 79 70 69 6e 67 20 7b 5c | 74 74 20 61 74 65 30 73 |yping {\|tt ate0s|
|00004d00| 30 3d 31 7d 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |0=1} fol|lowed by|
|00004d10| 20 65 6e 74 65 72 2e 20 | 54 68 65 6e 20 73 65 74 | enter. |Then set|
|00004d20| 75 70 20 7b 5c 73 66 20 | 69 6e 69 74 74 61 62 7d |up {\sf |inittab}|
|00004d30| 20 74 6f 0a 73 70 61 77 | 6e 20 67 65 74 74 79 20 | to.spaw|n getty |
|00004d40| 6f 6e 20 74 68 65 20 6d | 6f 64 65 6d 20 74 74 79 |on the m|odem tty|
|00004d50| 73 32 3a 63 6f 6e 73 6f | 6c 65 3a 2f 65 74 63 2f |s2:conso|le:/etc/|
|00004d60| 67 65 74 74 79 20 2d 6d | 20 31 32 30 30 20 74 74 |getty -m| 1200 tt|
|00004d70| 79 73 32 0a 0a 54 68 65 | 6e 20 69 74 20 73 68 6f |ys2..The|n it sho|
|00004d80| 75 6c 64 20 77 6f 72 6b | 2e 20 53 6f 6d 65 20 6d |uld work|. Some m|
|00004d90| 6f 64 65 6d 73 20 63 61 | 6e 20 62 65 20 70 65 72 |odems ca|n be per|
|00004da0| 6d 61 6e 65 6e 74 6c 79 | 20 73 65 74 20 74 6f 20 |manently| set to |
|00004db0| 64 69 73 61 62 6c 65 0a | 65 63 68 6f 20 61 6e 64 |disable.|echo and|
|00004dc0| 20 73 65 74 20 61 75 74 | 6f 20 61 6e 73 77 65 72 | set aut|o answer|
|00004dd0| 2c 20 73 65 65 20 79 6f | 75 72 20 6d 61 6e 75 61 |, see yo|ur manua|
|00004de0| 6c 2e 0a 0a 28 4a 69 6d | 20 57 65 69 67 61 6e 64 |l...(Jim| Weigand|
|00004df0| 29 5c 5c 20 64 69 73 61 | 62 6c 65 20 61 6c 6c 20 |)\\ disa|ble all |
|00004e00| 6d 65 73 73 61 67 65 73 | 2e 20 54 68 69 73 20 77 |messages|. This w|
|00004e10| 69 6c 6c 20 70 72 65 76 | 65 6e 74 20 67 65 74 74 |ill prev|ent gett|
|00004e20| 79 20 66 72 6f 6d 0a 68 | 61 6e 67 69 6e 67 20 75 |y from.h|anging u|
|00004e30| 70 20 79 6f 75 72 20 6d | 6f 64 65 6d 2e 0a 5c 62 |p your m|odem..\b|
|00004e40| 65 67 69 6e 7b 74 61 62 | 62 69 6e 67 7d 0a 41 42 |egin{tab|bing}.AB|
|00004e50| 43 44 45 46 47 48 49 4a | 4b 5c 3d 4c 4d 4e 4f 50 |CDEFGHIJ|K\=LMNOP|
|00004e60| 51 52 53 54 55 5c 3d 5c | 6b 69 6c 6c 0a 53 65 74 |QRSTU\=\|kill.Set|
|00004e70| 20 20 20 20 20 20 20 5c | 3e 46 6f 72 3a 5c 5c 0a | \|>For:\\.|
|00004e80| 41 54 45 30 20 20 20 20 | 20 20 5c 3e 4e 6f 20 65 |ATE0 | \>No e|
|00004e90| 63 68 6f 5c 5c 0a 41 54 | 51 31 20 20 20 20 20 20 |cho\\.AT|Q1 |
|00004ea0| 5c 3e 4e 6f 20 6d 65 73 | 73 61 67 65 73 5c 5c 0a |\>No mes|sages\\.|
|00004eb0| 41 54 53 30 3d 32 20 20 | 20 20 5c 3e 41 6e 73 77 |ATS0=2 | \>Answ|
|00004ec0| 65 72 20 32 6e 64 20 72 | 69 6e 67 5c 5c 0a 41 54 |er 2nd r|ing\\.AT|
|00004ed0| 53 37 3d 36 30 20 20 20 | 5c 3e 31 20 6d 69 6e 75 |S7=60 |\>1 minu|
|00004ee0| 74 65 20 74 6f 20 61 6e | 73 77 65 72 20 28 73 68 |te to an|swer (sh|
|00004ef0| 6f 72 74 65 72 20 69 66 | 20 32 34 30 30 20 62 61 |orter if| 2400 ba|
|00004f00| 75 64 29 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 62 69 |ud)\\.\e|nd{tabbi|
|00004f10| 6e 67 7d 0a 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |ng}.You |can use |
|00004f20| 6b 65 72 6d 69 74 20 74 | 6f 20 73 65 74 20 74 68 |kermit t|o set th|
|00004f30| 65 73 65 2e 20 44 6f 20 | 61 6e 20 41 54 5c 26 57 |ese. Do |an AT\&W|
|00004f40| 20 74 6f 20 73 61 76 65 | 20 66 6f 72 20 70 6f 77 | to save| for pow|
|00004f50| 65 72 2d 75 70 2e 0a 0a | 28 4d 69 63 68 61 65 6c |er-up...|(Michael|
|00004f60| 20 4b 2e 20 4a 6f 68 6e | 73 6f 6e 29 5c 5c 0a 49 | K. John|son)\\.I|
|00004f70| 66 20 79 6f 75 20 77 6f | 75 6c 64 20 72 61 74 68 |f you wo|uld rath|
|00004f80| 65 72 20 6e 6f 74 20 73 | 61 76 65 20 74 68 65 73 |er not s|ave thes|
|00004f90| 65 20 63 6f 6d 6d 61 6e | 64 73 20 61 73 20 64 65 |e comman|ds as de|
|00004fa0| 66 61 75 6c 74 73 20 74 | 6f 20 63 6f 6d 65 20 75 |faults t|o come u|
|00004fb0| 70 20 6f 6e 0a 70 6f 77 | 65 72 2d 75 70 2c 20 70 |p on.pow|er-up, p|
|00004fc0| 65 72 68 61 70 73 20 62 | 65 63 61 75 73 65 20 79 |erhaps b|ecause y|
|00004fd0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 75 73 65 20 79 |ou want |to use y|
|00004fe0| 6f 75 72 20 63 75 72 72 | 65 6e 74 20 6d 6f 64 65 |our curr|ent mode|
|00004ff0| 6d 20 73 65 74 74 69 6e | 67 73 0a 75 6e 64 65 72 |m settin|gs.under|
|00005000| 20 61 20 44 4f 53 20 63 | 6f 6d 6d 75 6e 69 63 61 | a DOS c|ommunica|
|00005010| 74 69 6f 6e 73 20 70 61 | 63 6b 61 67 65 2c 20 79 |tions pa|ckage, y|
|00005020| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 73 68 6f 76 |ou can a|lso shov|
|00005030| 65 20 74 68 65 73 65 20 | 63 6f 6d 6d 61 6e 64 0a |e these |command.|
|00005040| 6f 75 74 20 7b 5c 73 66 | 20 74 74 79 73 3f 7d 20 |out {\sf| ttys?} |
|00005050| 66 72 6f 6d 20 7b 5c 73 | 66 20 2f 65 74 63 2f 72 |from {\s|f /etc/r|
|00005060| 63 7d 20 28 6f 72 20 7b | 5c 73 66 20 2f 65 74 63 |c} (or {|\sf /etc|
|00005070| 2f 72 63 2e 6c 6f 63 61 | 6c 7d 29 20 75 73 69 6e |/rc.loca|l}) usin|
|00005080| 67 20 74 68 65 0a 63 6f | 6d 6d 61 6e 64 3a 5c 5c |g the.co|mmand:\\|
|00005090| 20 7b 5c 74 74 20 65 63 | 68 6f 7e 22 24 3c 24 6d | {\tt ec|ho~"$<$m|
|000050a0| 6f 64 65 6d 5c 5f 73 65 | 74 74 69 6e 67 73 24 3e |odem\_se|ttings$>|
|000050b0| 24 22 7e 24 3e 24 7e 2f | 64 65 76 2f 74 74 79 73 |$"~$>$~/|dev/ttys|
|000050c0| 3f 7d 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |?}..\beg|in{quest|
|000050d0| 69 6f 6e 7d 20 48 6f 77 | 20 64 6f 20 49 20 73 65 |ion} How| do I se|
|000050e0| 74 20 70 61 72 61 6d 65 | 74 65 72 73 20 6c 69 6b |t parame|ters lik|
|000050f0| 65 20 70 61 72 69 74 79 | 20 66 6f 72 20 73 65 72 |e parity| for ser|
|00005100| 69 61 6c 0a 6c 6f 67 69 | 6e 3f 5c 65 6e 64 7b 71 |ial.logi|n?\end{q|
|00005110| 75 65 73 74 69 6f 6e 7d | 0a 5c 61 6e 73 77 65 72 |uestion}|.\answer|
|00005120| 20 55 73 65 20 7b 5c 74 | 74 20 73 74 74 79 7d 20 | Use {\t|t stty} |
|00005130| 61 6e 64 20 72 65 64 69 | 72 65 63 74 20 6f 75 74 |and redi|rect out|
|00005140| 70 75 74 20 74 6f 20 73 | 65 72 69 61 6c 20 6c 69 |put to s|erial li|
|00005150| 6e 65 2e 20 65 78 3a 5c | 5c 20 7b 5c 74 74 0a 73 |ne. ex:\|\ {\tt.s|
|00005160| 74 74 79 7e 70 61 72 6f | 64 64 7e 24 3e 24 7e 2f |tty~paro|dd~$>$~/|
|00005170| 64 65 76 2f 74 74 79 73 | 32 7d 5c 5c 20 77 68 69 |dev/ttys|2}\\ whi|
|00005180| 63 68 20 67 69 76 65 73 | 20 74 74 79 73 32 20 6f |ch gives| ttys2 o|
|00005190| 64 64 20 70 61 72 69 74 | 79 2e 20 74 79 70 65 20 |dd parit|y. type |
|000051a0| 7b 5c 74 74 0a 73 74 74 | 79 7d 20 62 79 20 69 74 |{\tt.stt|y} by it|
|000051b0| 73 65 6c 66 20 74 6f 20 | 67 65 74 20 61 6e 20 69 |self to |get an i|
|000051c0| 64 65 61 20 6f 66 20 70 | 6f 73 73 69 62 6c 65 20 |dea of p|ossible |
|000051d0| 70 61 72 61 6d 65 74 65 | 72 73 2e 20 4f 72 20 7b |paramete|rs. Or {|
|000051e0| 5c 74 74 20 6d 61 6e 7e | 73 74 74 79 7d 20 61 73 |\tt man~|stty} as|
|000051f0| 0a 77 65 6c 6c 20 3a 29 | 0a 0a 25 2d 2d 2d 2d 2d |.well :)|..%-----|
|00005200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005240| 0a 5c 73 65 63 74 69 6f | 6e 7b 4d 6f 72 65 20 68 |.\sectio|n{More h|
|00005250| 69 6e 74 73 7d 5c 6c 61 | 62 65 6c 7b 6d 6f 72 65 |ints}\la|bel{more|
|00005260| 68 69 6e 74 73 7d 0a 0a | 54 68 69 73 20 70 61 72 |hints}..|This par|
|00005270| 74 20 69 73 20 72 65 63 | 65 6e 74 20 61 6e 64 20 |t is rec|ent and |
|00005280| 74 72 79 20 74 6f 20 6b | 65 65 70 20 74 72 61 63 |try to k|eep trac|
|00005290| 6b 20 6f 66 20 74 68 65 | 20 64 69 66 66 65 72 65 |k of the| differe|
|000052a0| 6e 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 74 |nt infor|mation.t|
|000052b0| 68 61 74 20 61 70 70 65 | 61 72 65 64 20 69 6e 20 |hat appe|ared in |
|000052c0| 7b 5c 74 74 20 63 6f 6d | 70 2e 6f 73 2e 6c 69 6e |{\tt com|p.os.lin|
|000052d0| 75 78 7d 20 61 6e 64 20 | 6f 6e 20 74 68 65 20 6c |ux} and |on the l|
|000052e0| 69 73 74 20 73 69 6e 63 | 65 20 62 65 67 69 6e 6e |ist sinc|e beginn|
|000052f0| 69 6e 67 20 6f 66 0a 4d | 61 72 63 68 2e 20 49 20 |ing of.M|arch. I |
|00005300| 74 72 69 65 64 20 74 6f | 20 75 70 64 61 74 65 20 |tried to| update |
|00005310| 69 74 20 66 6f 72 20 76 | 30 2e 39 36 2c 20 73 6f |it for v|0.96, so|
|00005320| 20 74 68 65 72 65 20 6d | 69 67 68 74 20 62 65 20 | there m|ight be |
|00005330| 73 6f 6d 65 0a 6d 69 73 | 74 61 6b 65 73 2e 20 4d |some.mis|takes. M|
|00005340| 6f 72 65 6f 76 65 72 20 | 74 61 6b 65 20 63 61 72 |oreover |take car|
|00005350| 65 20 74 6f 20 75 73 65 | 20 74 68 65 20 63 6f 72 |e to use| the cor|
|00005360| 72 65 63 74 20 6c 69 62 | 72 61 72 79 20 61 6e 64 |rect lib|rary and|
|00005370| 20 69 6e 63 6c 75 64 65 | 0a 73 74 75 66 66 2c 20 | include|.stuff, |
|00005380| 61 6e 64 20 74 68 65 20 | 61 64 2d 68 6f 63 20 67 |and the |ad-hoc g|
|00005390| 63 63 20 79 6f 75 20 75 | 73 65 20 21 21 21 0a 0a |cc you u|se !!!..|
|000053a0| 5c 62 65 67 69 6e 7b 71 | 75 65 73 74 69 6f 6e 7d |\begin{q|uestion}|
|000053b0| 20 48 6f 77 20 63 61 6e | 20 49 20 62 61 63 6b 75 | How can| I backu|
|000053c0| 70 20 6d 79 20 48 64 20 | 75 6e 64 65 72 20 4c 69 |p my Hd |under Li|
|000053d0| 6e 75 78 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |nux?\end|{questio|
|000053e0| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 49 20 6b 6e 6f |n}.\answ|er I kno|
|000053f0| 77 20 61 74 20 6c 65 61 | 73 74 20 74 77 6f 20 77 |w at lea|st two w|
|00005400| 61 79 73 2e 20 4f 6e 65 | 20 70 6f 73 73 69 62 69 |ays. One| possibi|
|00005410| 6c 69 74 79 20 69 73 20 | 7b 5c 74 74 20 74 61 72 |lity is |{\tt tar|
|00005420| 7d 20 61 6e 64 0a 7b 5c | 74 74 20 6d 74 6f 6f 6c |} and.{\|tt mtool|
|00005430| 73 7d 2c 20 61 6e 6f 74 | 68 65 72 20 70 6f 73 73 |s}, anot|her poss|
|00005440| 69 62 69 6c 69 74 79 20 | 69 73 20 74 68 65 20 64 |ibility |is the d|
|00005450| 69 73 6b 62 61 63 6b 75 | 70 2f 64 69 73 6b 72 65 |iskbacku|p/diskre|
|00005460| 73 74 6f 72 65 20 6f 66 | 0a 44 69 61 6d 61 6e 6f |store of|.Diamano|
|00005470| 20 42 6f 6c 6c 61 20 28 | 64 69 67 65 73 74 33 37 | Bolla (|digest37|
|00005480| 20 76 6f 6c 2e 5c 23 32 | 29 20 77 68 69 63 68 20 | vol.\#2|) which |
|00005490| 73 61 76 65 73 20 62 69 | 67 20 68 64 20 74 6f 20 |saves bi|g hd to |
|000054a0| 66 6c 6f 70 70 69 65 73 | 20 75 73 69 6e 67 0a 74 |floppies| using.t|
|000054b0| 68 65 20 73 74 64 69 6e | 2f 73 74 64 6f 75 74 2e |he stdin|/stdout.|
|000054c0| 20 54 68 65 73 65 20 75 | 74 69 6c 69 74 69 65 73 | These u|tilities|
|000054d0| 20 68 61 76 65 20 62 65 | 65 6e 20 75 70 6c 6f 61 | have be|en uploa|
|000054e0| 64 65 64 20 74 6f 20 74 | 68 65 20 6d 61 6a 6f 72 |ded to t|he major|
|000054f0| 0a 73 69 74 65 73 20 69 | 6e 20 66 69 6c 65 20 7b |.sites i|n file {|
|00005500| 5c 73 66 20 64 69 73 6b | 73 70 6c 69 74 2e 74 61 |\sf disk|split.ta|
|00005510| 72 2e 5a 7d 2e 20 41 6e | 20 65 78 61 6d 70 6c 65 |r.Z}. An| example|
|00005520| 20 75 73 61 67 65 20 28 | 52 6f 67 65 72 20 42 69 | usage (|Roger Bi|
|00005530| 6e 6e 73 29 0a 69 73 3a | 5c 5c 20 7b 5c 74 74 20 |nns).is:|\\ {\tt |
|00005540| 74 61 72 7e 63 76 66 7e | 2d 7e 62 69 6e 7e 64 65 |tar~cvf~|-~bin~de|
|00005550| 76 7e 75 73 72 7e 65 74 | 63 7e 2e 2e 7e 7c 7e 63 |v~usr~et|c~..~|~c|
|00005560| 6f 6d 70 72 65 73 73 7e | 7c 7e 64 69 73 6b 62 61 |ompress~||~diskba|
|00005570| 63 6b 75 70 7d 5c 5c 20 | 61 6e 64 0a 74 6f 20 72 |ckup}\\ |and.to r|
|00005580| 65 73 74 6f 72 65 3a 5c | 5c 20 7b 5c 74 74 20 64 |estore:\|\ {\tt d|
|00005590| 69 73 6b 72 65 73 74 6f | 72 65 7e 7c 7e 75 6e 63 |iskresto|re~|~unc|
|000055a0| 6f 6d 70 72 65 73 73 7e | 7c 7e 74 61 72 7e 78 76 |ompress~||~tar~xv|
|000055b0| 66 7e 2d 7d 0a 0a 42 54 | 57 3a 20 44 6f 6e 27 74 |f~-}..BT|W: Don't|
|000055c0| 20 75 73 65 20 74 68 65 | 20 70 72 65 76 69 6f 75 | use the| previou|
|000055d0| 73 20 76 65 72 73 69 6f | 6e 20 28 64 69 67 65 73 |s versio|n (diges|
|000055e0| 74 34 34 20 76 6f 6c 2e | 5c 23 31 29 20 77 69 74 |t44 vol.|\#1) wit|
|000055f0| 68 20 30 2e 39 35 61 0a | 0a 5c 62 65 67 69 6e 7b |h 0.95a.|.\begin{|
|00005600| 71 75 65 73 74 69 6f 6e | 7d 20 57 68 65 72 65 20 |question|} Where |
|00005610| 69 73 20 60 77 68 69 63 | 68 27 3f 5c 65 6e 64 7b |is `whic|h'?\end{|
|00005620| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00005630| 72 20 49 74 20 64 65 70 | 65 6e 64 73 20 6f 6e 20 |r It dep|ends on |
|00005640| 74 68 65 20 7b 5c 73 66 | 20 73 68 7d 20 79 6f 75 |the {\sf| sh} you|
|00005650| 20 61 72 65 20 72 75 6e | 6e 69 6e 67 3a 20 69 6e | are run|ning: in|
|00005660| 20 7b 5c 73 66 20 62 61 | 73 68 7d 3a 0a 7b 5c 74 | {\sf ba|sh}:.{\t|
|00005670| 74 20 74 79 70 65 7e 2d | 70 61 74 68 7d 2c 20 69 |t type~-|path}, i|
|00005680| 6e 20 7b 5c 73 66 20 74 | 63 73 68 7d 20 69 74 27 |n {\sf t|csh} it'|
|00005690| 73 20 61 20 62 75 69 6c | 74 69 6e 5c 5c 0a 66 6f |s a buil|tin\\.fo|
|000056a0| 72 20 7b 5c 73 66 20 61 | 73 68 7d 20 61 6e 64 20 |r {\sf a|sh} and |
|000056b0| 7b 5c 73 66 20 72 63 7d | 20 79 6f 75 20 63 61 6e |{\sf rc}| you can|
|000056c0| 20 74 72 79 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | try the| followi|
|000056d0| 6e 67 20 28 75 6e 74 65 | 73 74 65 64 20 62 79 20 |ng (unte|sted by |
|000056e0| 6d 65 29 0a 73 63 72 69 | 70 74 20 66 72 6f 6d 20 |me).scri|pt from |
|000056f0| 4b 65 76 69 6e 20 42 72 | 6f 77 6e 3a 0a 5c 62 65 |Kevin Br|own:.\be|
|00005700| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 5c 23 |gin{verb|atim}.\#|
|00005710| 21 2f 62 69 6e 2f 73 68 | 0a 66 6f 72 20 69 20 69 |!/bin/sh|.for i i|
|00005720| 6e 20 60 65 63 68 6f 20 | 24 50 41 54 48 20 7c 20 |n `echo |$PATH | |
|00005730| 73 65 64 20 27 73 2f 3a | 2f 20 2f 67 27 60 20 3b |sed 's/:|/ /g'` ;|
|00005740| 20 64 6f 0a 20 20 66 6f | 72 20 6a 20 69 6e 20 22 | do. fo|r j in "|
|00005750| 22 24 40 22 20 3b 20 64 | 6f 0a 20 20 20 20 20 20 |"$@" ; d|o. |
|00005760| 20 20 69 66 20 74 65 73 | 74 20 2d 78 20 22 24 69 | if tes|t -x "$i|
|00005770| 2f 24 6a 22 20 3b 20 74 | 68 65 6e 0a 20 20 20 20 |/$j" ; t|hen. |
|00005780| 20 20 20 20 20 20 20 65 | 63 68 6f 20 22 24 69 2f | e|cho "$i/|
|00005790| 24 6a 22 0a 20 20 20 20 | 20 20 20 20 20 66 69 0a |$j". | fi.|
|000057a0| 20 20 64 6f 6e 65 0a 64 | 6f 6e 65 0a 5c 65 6e 64 | done.d|one.\end|
|000057b0| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 0a 5c 62 65 67 |{verbati|m}..\beg|
|000057c0| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 48 6f 77 |in{quest|ion} How|
|000057d0| 20 74 6f 20 75 73 65 20 | 73 65 74 74 65 72 6d 3a | to use |setterm:|
|000057e0| 20 66 6f 72 20 74 68 65 | 20 6e 6f 76 69 63 65 3f | for the| novice?|
|000057f0| 5c 65 6e 64 7b 71 75 65 | 73 74 69 6f 6e 7d 0a 5c |\end{que|stion}.\|
|00005800| 61 6e 73 77 65 72 20 54 | 68 65 20 7b 5c 74 74 20 |answer T|he {\tt |
|00005810| 73 65 74 74 65 72 6d 7d | 20 75 74 69 6c 69 74 79 |setterm}| utility|
|00005820| 20 70 72 6f 76 69 64 65 | 73 20 61 63 63 65 73 73 | provide|s access|
|00005830| 20 74 6f 20 6d 6f 73 74 | 20 6f 66 20 56 69 72 74 | to most| of Virt|
|00005840| 75 61 6c 0a 43 6f 6e 73 | 6f 6c 65 73 20 28 56 43 |ual.Cons|oles (VC|
|00005850| 73 29 20 66 75 6e 63 74 | 69 6f 6e 61 6c 69 74 79 |s) funct|ionality|
|00005860| 2e 20 20 59 6f 75 20 63 | 61 6e 20 73 65 74 20 79 |. You c|an set y|
|00005870| 6f 75 72 20 73 63 72 65 | 65 6e 20 75 70 20 74 6f |our scre|en up to|
|00005880| 20 62 6c 61 6e 6b 20 61 | 74 0a 31 30 20 6d 69 6e | blank a|t.10 min|
|00005890| 75 74 65 73 20 75 73 69 | 6e 67 3a 5c 5c 20 7b 5c |utes usi|ng:\\ {\|
|000058a0| 74 74 20 73 65 74 74 65 | 72 6d 7e 2d 62 6c 61 6e |tt sette|rm~-blan|
|000058b0| 6b 7e 31 30 7d 5c 5c 20 | 59 6f 75 20 63 61 6e 20 |k~10}\\ |You can |
|000058c0| 73 65 74 20 63 6f 6c 6f | 72 73 2c 20 61 6e 64 0a |set colo|rs, and.|
|000058d0| 63 6c 65 61 72 20 74 68 | 65 20 73 63 72 65 65 6e |clear th|e screen|
|000058e0| 2e 20 46 6f 72 20 61 20 | 66 75 6c 6c 20 6c 69 73 |. For a |full lis|
|000058f0| 74 20 6f 66 20 63 6f 6d | 6d 61 6e 64 73 2c 20 6a |t of com|mands, j|
|00005900| 75 73 74 20 74 79 70 65 | 20 7b 5c 74 74 20 73 65 |ust type| {\tt se|
|00005910| 74 74 65 72 6d 7d 0a 77 | 69 74 68 20 6e 6f 20 61 |tterm}.w|ith no a|
|00005920| 72 67 75 6d 65 6e 74 73 | 2e 5c 5c 20 54 68 65 72 |rguments|.\\ Ther|
|00005930| 65 20 61 72 65 20 61 20 | 66 65 77 20 74 72 69 63 |e are a |few tric|
|00005940| 6b 73 20 77 69 74 68 20 | 74 68 65 20 73 63 72 65 |ks with |the scre|
|00005950| 65 6e 20 64 75 6d 70 65 | 72 20 63 61 6e 0a 72 65 |en dumpe|r can.re|
|00005960| 61 6c 6c 79 20 6d 61 6b | 65 20 56 43 73 20 67 6f |ally mak|e VCs go|
|00005970| 20 61 20 6c 6f 6e 67 20 | 77 61 79 2e 20 20 48 65 | a long |way. He|
|00005980| 72 65 20 61 72 65 20 61 | 20 66 65 77 20 6f 66 20 |re are a| few of |
|00005990| 74 68 65 20 63 6f 6d 6d | 6f 6e 20 6f 6e 65 73 20 |the comm|on ones |
|000059a0| 74 68 61 74 0a 49 20 75 | 73 65 3a 5c 5c 20 7b 5c |that.I u|se:\\ {\|
|000059b0| 74 74 20 73 65 74 74 65 | 72 6d 7e 64 75 6d 70 7d |tt sette|rm~dump}|
|000059c0| 5c 5c 20 44 75 6d 70 73 | 20 74 68 65 20 63 6f 6e |\\ Dumps| the con|
|000059d0| 74 65 6e 74 73 20 6f 66 | 20 74 68 65 20 63 75 72 |tents of| the cur|
|000059e0| 72 65 6e 74 20 56 43 20 | 74 6f 0a 7b 5c 73 66 20 |rent VC |to.{\sf |
|000059f0| 73 63 72 65 65 6e 2e 64 | 75 6d 70 7d 20 28 69 6e |screen.d|ump} (in|
|00005a00| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 72 | the cur|rent dir|
|00005a10| 29 2e 5c 5c 20 7b 5c 74 | 74 20 73 65 74 74 65 72 |).\\ {\t|t setter|
|00005a20| 6d 20 64 75 6d 70 20 34 | 7d 5c 5c 20 44 75 6d 70 |m dump 4|}\\ Dump|
|00005a30| 73 0a 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |s.the co|ntents o|
|00005a40| 66 20 56 43 20 34 20 74 | 6f 20 7b 5c 73 66 20 73 |f VC 4 t|o {\sf s|
|00005a50| 63 72 65 65 6e 2e 64 75 | 6d 70 7d 5c 5c 20 7b 5c |creen.du|mp}\\ {\|
|00005a60| 74 74 0a 73 65 74 74 65 | 72 6d 7e 2d 66 69 6c 65 |tt.sette|rm~-file|
|00005a70| 7e 6d 79 64 75 6d 70 66 | 69 6c 65 7e 2d 64 75 6d |~mydumpf|ile~-dum|
|00005a80| 70 7e 34 7d 5c 5c 20 44 | 75 6d 70 20 74 68 65 20 |p~4}\\ D|ump the |
|00005a90| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 56 43 20 34 |contents| of VC 4|
|00005aa0| 20 74 6f 20 74 68 65 0a | 66 69 6c 65 20 7b 5c 73 | to the.|file {\s|
|00005ab0| 66 20 6d 79 64 75 6d 70 | 66 69 6c 65 7d 5c 5c 20 |f mydump|file}\\ |
|00005ac0| 7b 5c 74 74 20 73 65 74 | 74 65 72 6d 7e 2d 66 69 |{\tt set|term~-fi|
|00005ad0| 6c 65 7e 2f 64 65 76 2f | 74 74 79 30 7e 2d 64 75 |le~/dev/|tty0~-du|
|00005ae0| 6d 70 7e 34 7d 5c 5c 20 | 44 75 6d 70 73 0a 74 68 |mp~4}\\ |Dumps.th|
|00005af0| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 56 43 |e conten|ts of VC|
|00005b00| 20 34 20 74 6f 20 74 68 | 65 20 63 75 72 72 65 6e | 4 to th|e curren|
|00005b10| 74 20 56 43 2e 5c 5c 7b | 5c 74 74 0a 73 65 74 74 |t VC.\\{|\tt.sett|
|00005b20| 65 72 6d 7e 2d 66 69 6c | 65 7e 2f 64 65 76 2f 74 |erm~-fil|e~/dev/t|
|00005b30| 74 79 34 7e 2d 64 75 6d | 70 7d 5c 5c 20 44 75 6d |ty4~-dum|p}\\ Dum|
|00005b40| 70 73 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |ps the c|ontents |
|00005b50| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 56 |of the c|urrent V|
|00005b60| 43 0a 74 6f 20 56 43 20 | 34 2e 5c 5c 20 7b 5c 74 |C.to VC |4.\\ {\t|
|00005b70| 74 20 73 65 74 74 65 72 | 6d 7e 2d 66 69 6c 65 7e |t setter|m~-file~|
|00005b80| 2f 64 65 76 2f 74 74 79 | 73 31 7e 2d 64 75 6d 70 |/dev/tty|s1~-dump|
|00005b90| 7d 5c 5c 20 44 75 6d 70 | 73 20 74 68 65 20 63 6f |}\\ Dump|s the co|
|00005ba0| 6e 74 65 6e 74 73 0a 6f | 66 20 74 68 65 20 63 75 |ntents.o|f the cu|
|00005bb0| 72 72 65 6e 74 20 56 43 | 20 74 6f 20 74 68 65 20 |rrent VC| to the |
|00005bc0| 73 65 72 69 61 6c 20 70 | 6f 72 74 2e 20 48 61 6e |serial p|ort. Han|
|00005bd0| 64 79 20 69 66 20 79 6f | 75 20 61 72 65 20 6c 6f |dy if yo|u are lo|
|00005be0| 67 67 65 64 20 6f 6e 20 | 61 6e 64 0a 77 61 6e 74 |gged on |and.want|
|00005bf0| 20 74 6f 20 70 61 73 74 | 65 20 61 20 73 63 72 65 | to past|e a scre|
|00005c00| 65 6e 20 66 75 6c 6c 20 | 77 69 74 68 6f 75 74 20 |en full |without |
|00005c10| 68 61 76 69 6e 67 20 74 | 6f 20 72 65 73 6f 72 74 |having t|o resort|
|00005c20| 20 74 6f 20 64 6f 69 6e | 67 20 61 20 66 69 6c 65 | to doin|g a file|
|00005c30| 0a 74 72 61 6e 73 66 65 | 72 2e 5c 5c 20 7b 5c 74 |.transfe|r.\\ {\t|
|00005c40| 74 20 73 65 74 74 65 72 | 6d 7e 2d 66 69 6c 65 7e |t setter|m~-file~|
|00005c50| 6d 79 64 75 6d 70 66 69 | 6c 65 7e 2d 61 70 70 65 |mydumpfi|le~-appe|
|00005c60| 6e 64 7e 34 7d 5c 5c 20 | 41 70 70 65 6e 64 73 20 |nd~4}\\ |Appends |
|00005c70| 74 6f 0a 69 6e 73 74 65 | 61 64 20 6f 66 20 6f 76 |to.inste|ad of ov|
|00005c80| 65 72 77 72 69 74 69 6e | 67 20 74 68 65 20 64 75 |erwritin|g the du|
|00005c90| 6d 70 20 66 69 6c 65 2e | 20 20 55 73 65 66 75 6c |mp file.| Useful|
|00005ca0| 20 69 66 20 79 6f 75 20 | 68 61 76 65 20 73 65 76 | if you |have sev|
|00005cb0| 65 72 61 6c 0a 73 63 72 | 65 65 6e 73 20 79 6f 75 |eral.scr|eens you|
|00005cc0| 20 77 69 73 68 20 74 6f | 20 63 6f 6e 63 61 74 65 | wish to| concate|
|00005cd0| 6e 61 74 65 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |nate...\|begin{qu|
|00005ce0| 65 73 74 69 6f 6e 7d 20 | 49 27 76 65 20 74 72 69 |estion} |I've tri|
|00005cf0| 65 64 20 63 6c 65 61 72 | 2f 72 65 73 65 74 20 77 |ed clear|/reset w|
|00005d00| 68 69 63 68 20 65 78 69 | 73 74 20 6f 6e 20 6d 6f |hich exi|st on mo|
|00005d10| 73 74 20 6f 66 20 75 6e | 69 78 0a 62 75 74 20 69 |st of un|ix.but i|
|00005d20| 74 20 64 6f 65 73 6e 27 | 74 20 77 6f 72 6b 2c 20 |t doesn'|t work, |
|00005d30| 68 61 76 65 20 49 20 6d | 69 73 73 65 64 20 73 6f |have I m|issed so|
|00005d40| 6d 65 74 68 69 6e 67 3f | 5c 65 6e 64 7b 71 75 65 |mething?|\end{que|
|00005d50| 73 74 69 6f 6e 7d 0a 5c | 61 6e 73 77 65 72 20 7b |stion}.\|answer {|
|00005d60| 5c 74 74 20 73 65 74 74 | 65 72 6d 7e 2d 63 6c 65 |\tt sett|erm~-cle|
|00005d70| 61 72 7d 20 6f 72 20 7b | 5c 74 74 20 73 65 74 74 |ar} or {|\tt sett|
|00005d80| 65 72 6d 7e 2d 72 65 73 | 65 74 7d 20 77 69 6c 6c |erm~-res|et} will|
|00005d90| 20 73 6f 6c 76 65 20 79 | 6f 75 72 0a 6d 69 73 73 | solve y|our.miss|
|00005da0| 69 6e 67 2e 20 20 46 6f | 72 20 63 6c 65 61 72 2c |ing. Fo|r clear,|
|00005db0| 20 79 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 77 72 | you can| also wr|
|00005dc0| 69 74 65 20 61 20 73 6d | 61 6c 6c 20 73 63 72 69 |ite a sm|all scri|
|00005dd0| 70 74 20 28 77 68 69 63 | 68 20 75 73 65 20 74 68 |pt (whic|h use th|
|00005de0| 65 0a 63 6c 3a 20 70 61 | 72 74 20 6f 66 20 7b 5c |e.cl: pa|rt of {\|
|00005df0| 73 66 20 2f 65 74 63 2f | 74 65 72 6d 63 61 70 7d |sf /etc/|termcap}|
|00005e00| 20 77 72 74 20 79 6f 75 | 72 20 54 45 52 4d 29 2c | wrt you|r TERM),|
|00005e10| 20 6f 72 20 75 73 65 20 | 7b 5c 73 66 20 62 61 73 | or use |{\sf bas|
|00005e20| 68 7d 20 77 68 65 72 65 | 0a 63 74 72 6c 2d 6c 20 |h} where|.ctrl-l |
|00005e30| 77 69 6c 6c 20 64 6f 20 | 69 74 20 66 6f 72 20 79 |will do |it for y|
|00005e40| 6f 75 2e 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 65 73 |ou...\be|gin{ques|
|00005e50| 74 69 6f 6e 7d 20 49 20 | 6b 6e 6f 77 20 74 68 65 |tion} I |know the|
|00005e60| 72 65 20 61 72 65 20 56 | 43 2c 20 62 75 74 20 77 |re are V|C, but w|
|00005e70| 68 65 72 65 20 69 73 20 | 74 68 65 20 73 65 74 74 |here is |the sett|
|00005e80| 65 72 6d 0a 73 74 75 66 | 66 3f 5c 65 6e 64 7b 71 |erm.stuf|f?\end{q|
|00005e90| 75 65 73 74 69 6f 6e 7d | 0a 5c 61 6e 73 77 65 72 |uestion}|.\answer|
|00005ea0| 20 49 74 27 73 20 69 6e | 20 74 68 65 20 63 75 72 | It's in| the cur|
|00005eb0| 72 65 6e 74 20 64 69 73 | 74 72 69 62 75 74 69 6f |rent dis|tributio|
|00005ec0| 6e 20 28 69 2e 65 2e 20 | 6f 6e 20 74 68 65 20 69 |n (i.e. |on the i|
|00005ed0| 6d 61 67 65 73 29 2c 20 | 74 68 65 0a 73 6f 75 72 |mages), |the.sour|
|00005ee0| 63 65 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |ce can b|e found |
|00005ef0| 69 6e 20 7b 5c 73 66 20 | 76 69 72 74 63 6f 6e 73 |in {\sf |virtcons|
|00005f00| 2e 74 61 72 2e 5a 7d 20 | 61 74 20 7b 5c 74 74 20 |.tar.Z} |at {\tt |
|00005f10| 6e 69 63 7d 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |nic}...\|begin{qu|
|00005f20| 65 73 74 69 6f 6e 7d 20 | 49 20 6b 6e 6f 77 20 74 |estion} |I know t|
|00005f30| 68 65 72 65 20 61 72 65 | 20 73 68 61 72 65 64 20 |here are| shared |
|00005f40| 6c 69 62 72 61 72 69 65 | 73 3b 20 64 6f 65 73 20 |librarie|s; does |
|00005f50| 74 68 65 72 65 20 65 78 | 69 73 74 0a 61 6e 20 65 |there ex|ist.an e|
|00005f60| 61 73 79 20 77 61 79 20 | 74 6f 20 63 68 65 63 6b |asy way |to check|
|00005f70| 20 61 6e 20 65 78 65 63 | 75 74 61 62 6c 65 20 66 | an exec|utable f|
|00005f80| 6f 72 20 73 68 61 72 69 | 6e 67 3f 5c 65 6e 64 7b |or shari|ng?\end{|
|00005f90| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00005fa0| 72 20 28 4a 6f 73 68 20 | 59 65 6c 6f 6e 20 5c 26 |r (Josh |Yelon \&|
|00005fb0| 20 48 4a 20 4c 75 29 5c | 5c 0a 28 4a 2e 59 2e 29 | HJ Lu)\|\.(J.Y.)|
|00005fc0| 20 41 6e 20 65 78 65 63 | 75 74 61 62 6c 65 20 77 | An exec|utable w|
|00005fd0| 68 69 63 68 20 73 68 61 | 72 65 73 20 61 20 6c 69 |hich sha|res a li|
|00005fe0| 62 72 61 72 79 20 69 73 | 20 6c 69 6e 6b 65 64 20 |brary is| linked |
|00005ff0| 77 69 74 68 20 61 6e 0a | 28 6f 72 64 69 6e 61 72 |with an.|(ordinar|
|00006000| 79 2c 20 6e 6f 6e 2d 73 | 68 61 72 65 64 29 20 60 |y, non-s|hared) `|
|00006010| 60 73 74 75 62 27 27 20 | 76 65 72 73 69 6f 6e 20 |`stub'' |version |
|00006020| 6f 66 20 74 68 65 20 6c | 69 62 72 61 72 79 2e 20 |of the l|ibrary. |
|00006030| 4f 6e 65 20 6f 66 20 74 | 68 65 0a 66 69 72 73 74 |One of t|he.first|
|00006040| 20 74 68 69 6e 67 20 74 | 68 69 73 20 73 74 75 62 | thing t|his stub|
|00006050| 20 64 6f 65 73 20 28 77 | 68 65 6e 20 74 68 65 20 | does (w|hen the |
|00006060| 65 78 65 63 75 74 61 62 | 6c 65 20 69 73 20 72 75 |executab|le is ru|
|00006070| 6e 29 20 69 73 20 74 6f | 20 61 73 6b 20 74 68 65 |n) is to| ask the|
|00006080| 0a 6b 65 72 6e 65 6c 20 | 74 6f 20 6c 6f 61 64 20 |.kernel |to load |
|00006090| 74 68 65 20 28 62 69 67 | 29 20 60 60 73 68 61 72 |the (big|) ``shar|
|000060a0| 65 64 20 76 65 72 73 69 | 6f 6e 27 27 20 6f 66 20 |ed versi|on'' of |
|000060b0| 74 68 65 20 6c 69 62 72 | 61 72 79 20 28 77 68 69 |the libr|ary (whi|
|000060c0| 63 68 20 69 73 0a 75 73 | 75 61 6c 6c 79 20 6e 61 |ch is.us|ually na|
|000060d0| 6d 65 64 20 7b 5c 73 66 | 20 2f 6c 69 62 2f 6c 69 |med {\sf| /lib/li|
|000060e0| 62 2e 58 58 2e 58 58 7d | 29 2e 20 54 68 65 20 75 |b.XX.XX}|). The u|
|000060f0| 70 73 68 6f 74 20 6f 66 | 20 74 68 69 73 20 69 73 |pshot of| this is|
|00006100| 20 74 68 61 74 20 69 6e | 20 74 68 65 0a 63 6f 64 | that in| the.cod|
|00006110| 65 20 66 6f 72 20 74 68 | 65 20 73 74 75 62 20 28 |e for th|e stub (|
|00006120| 70 61 72 74 20 6f 66 20 | 74 68 65 20 65 78 65 63 |part of |the exec|
|00006130| 75 74 61 62 6c 65 29 2c | 20 69 73 20 74 68 65 20 |utable),| is the |
|00006140| 73 74 72 69 6e 67 0a 60 | 60 2f 6c 69 62 2f 6c 69 |string.`|`/lib/li|
|00006150| 62 2e 58 58 2e 58 58 27 | 27 3b 20 77 68 69 63 68 |b.XX.XX'|'; which|
|00006160| 20 63 61 6e 20 62 65 20 | 73 65 61 72 63 68 65 64 | can be |searched|
|00006170| 20 62 79 20 75 73 69 6e | 67 20 7b 5c 74 74 20 73 | by usin|g {\tt s|
|00006180| 74 72 69 6e 67 73 7d 20 | 6f 72 0a 7b 5c 74 74 20 |trings} |or.{\tt |
|00006190| 67 72 65 70 7d 2e 5c 5c | 0a 28 48 4a 2e 20 4c 2e |grep}.\\|.(HJ. L.|
|000061a0| 29 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 67 63 |) if you| have gc|
|000061b0| 63 32 2e 31 31 61 20 6f | 72 20 6c 61 74 65 72 20 |c2.11a o|r later |
|000061c0| 74 68 65 20 73 68 61 72 | 65 64 20 69 6d 61 67 65 |the shar|ed image|
|000061d0| 20 69 73 20 63 68 61 6e | 67 65 64 20 74 6f 0a 7b | is chan|ged to.{|
|000061e0| 5c 73 66 20 2f 6c 69 62 | 2f 6c 69 62 78 78 78 78 |\sf /lib|/libxxxx|
|000061f0| 5c 5f 76 79 79 5c 5f 7a | 7a 7a 7d 2e 20 41 6e 64 |\_vyy\_z|zz}. And|
|00006200| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 62 65 74 74 | you sho|uld bett|
|00006210| 65 72 20 75 73 65 20 7b | 5c 74 74 20 6e 6d 7d 20 |er use {|\tt nm} |
|00006220| 74 6f 0a 66 69 6e 64 20 | 7b 5c 73 66 20 5c 5f 5c |to.find |{\sf \_\|
|00006230| 5f 73 68 61 72 65 64 5c | 5f 6c 69 62 7d 20 28 6e |_shared\|_lib} (n|
|00006240| 6d 20 66 61 69 6c 65 64 | 20 6f 6e 20 73 74 72 69 |m failed| on stri|
|00006250| 70 70 65 64 20 65 78 65 | 63 75 74 61 62 6c 65 29 |pped exe|cutable)|
|00006260| 2e 20 59 6f 75 20 63 61 | 6e 0a 61 6c 73 6f 20 77 |. You ca|n.also w|
|00006270| 72 69 74 65 20 61 20 66 | 75 6e 63 74 69 6f 6e 20 |rite a f|unction |
|00006280| 66 6f 72 20 60 60 66 69 | 6c 65 27 27 2c 20 77 68 |for ``fi|le'', wh|
|00006290| 69 63 68 20 63 61 6e 20 | 65 76 65 6e 20 63 68 65 |ich can |even che|
|000062a0| 63 6b 20 74 68 65 20 76 | 65 72 73 69 6f 6e 0a 6e |ck the v|ersion.n|
|000062b0| 75 6d 62 65 72 20 2e 2e | 2e 2e 5c 5c 0a 28 43 6c |umber ..|..\\.(Cl|
|000062c0| 61 75 64 65 20 4d 6f 72 | 69 6e 29 20 46 69 6e 61 |aude Mor|in) Fina|
|000062d0| 6c 6c 79 2c 20 74 68 65 | 72 65 20 65 78 69 73 74 |lly, the|re exist|
|000062e0| 73 20 61 74 20 7b 5c 74 | 74 20 74 73 78 2d 31 31 |s at {\t|t tsx-11|
|000062f0| 7d 20 7b 5c 73 66 20 6c | 64 64 2e 74 61 72 2e 5a |} {\sf l|dd.tar.Z|
|00006300| 7d 20 49 66 20 79 6f 75 | 0a 66 6f 6c 6c 6f 77 20 |} If you|.follow |
|00006310| 74 68 65 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |the inst|ructions|
|00006320| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 62 65 20 61 62 |, you wi|ll be ab|
|00006330| 6c 65 20 74 6f 20 74 79 | 70 65 20 7b 5c 74 74 0a |le to ty|pe {\tt.|
|00006340| 6c 64 64 7e 24 3c 24 65 | 78 65 63 75 74 61 62 6c |ldd~$<$e|xecutabl|
|00006350| 65 24 3e 24 7d 20 74 6f | 20 4c 69 73 74 20 74 68 |e$>$} to| List th|
|00006360| 65 20 44 79 6e 61 6d 69 | 63 20 44 65 70 65 6e 64 |e Dynami|c Depend|
|00006370| 65 6e 63 69 65 73 20 6f | 66 20 74 68 65 0a 65 78 |encies o|f the.ex|
|00006380| 65 63 75 74 61 62 6c 65 | 73 2e 20 49 6e 20 6f 74 |ecutable|s. In ot|
|00006390| 68 65 72 20 77 6f 72 64 | 73 20 7b 5c 74 74 20 6c |her word|s {\tt l|
|000063a0| 64 64 7d 20 70 72 69 6e | 74 73 20 74 68 65 20 6e |dd} prin|ts the n|
|000063b0| 61 6d 65 20 6f 66 20 74 | 68 65 20 73 68 61 72 65 |ame of t|he share|
|000063c0| 64 0a 6c 69 62 72 61 72 | 69 65 73 20 6e 65 65 64 |d.librar|ies need|
|000063d0| 65 64 20 62 79 20 74 68 | 65 20 65 78 65 63 75 74 |ed by th|e execut|
|000063e0| 61 62 6c 65 2c 20 6e 6f | 74 68 69 6e 67 20 61 70 |able, no|thing ap|
|000063f0| 70 65 61 72 73 20 66 6f | 72 20 73 74 61 74 69 63 |pears fo|r static|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.