home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6501 < prev    next >
LaTeX Document  |  1992-07-22  |  50.5 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 C++ source text default
98% file LaTeX document text default
97% 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 33 29 0a 4d |Q.TEX (p|art 3).M|
|000000b0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 33 37 32 30 |essage-I|D: <3720|
|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 34 3a 32 |3 Jul 92| 07:54:2|
|000000f0| 31 20 47 4d 54 0a 53 65 | 6e 64 65 72 3a 20 6e 65 |1 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 31 30 31 38 0a |.nl.Line|s: 1018.|
|00000140| 0a 0a 25 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..%-----|--------|
|00000150| 2d 2d 2d 74 68 69 72 64 | 20 70 61 72 74 20 6f 66 |---third| part of|
|00000160| 20 66 61 71 2e 74 65 78 | 20 66 6f 6c 6c 6f 77 73 | 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 2d | 0a 0a 25 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 2d |--------|--------|
|000001d0| 0a 0a 5c 73 65 63 74 69 | 6f 6e 7b 46 65 61 74 75 |..\secti|on{Featu|
|000001e0| 72 65 73 7d 5c 6c 61 62 | 65 6c 7b 66 65 61 74 75 |res}\lab|el{featu|
|000001f0| 72 65 73 7d 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |res}..\b|egin{que|
|00000200| 73 74 69 6f 6e 7d 20 49 | 27 76 65 20 72 65 61 64 |stion} I|'ve read|
|00000210| 20 74 68 61 74 20 4c 69 | 6e 75 78 20 68 61 73 20 | that Li|nux has |
|00000220| 76 69 72 74 75 61 6c 20 | 63 6f 6e 73 6f 6c 65 73 |virtual |consoles|
|00000230| 2c 20 77 68 61 74 20 6d | 75 73 74 0a 49 20 64 6f |, what m|ust.I do|
|00000240| 20 74 6f 20 67 65 74 20 | 74 68 65 6d 3f 5c 65 6e | to get |them?\en|
|00000250| 64 7b 71 75 65 73 74 69 | 6f 6e 7d 0a 5c 61 6e 73 |d{questi|on}.\ans|
|00000260| 77 65 72 20 59 65 73 20 | 74 68 65 72 65 20 61 72 |wer Yes |there ar|
|00000270| 65 2c 20 79 6f 75 20 63 | 61 6e 20 61 63 63 65 73 |e, you c|an acces|
|00000280| 73 20 74 68 65 6d 20 77 | 69 74 68 20 74 68 65 20 |s them w|ith the |
|00000290| 6c 65 66 74 20 24 3c 24 | 61 6c 74 24 3e 24 2d 6b |left $<$|alt$>$-k|
|000002a0| 65 79 0a 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |ey.toget|her with|
|000002b0| 20 24 3c 24 46 6e 24 3e | 24 2d 6b 65 79 2e 20 57 | $<$Fn$>|$-key. W|
|000002c0| 69 74 68 20 74 68 65 20 | 4c 69 6e 75 78 20 30 2e |ith the |Linux 0.|
|000002d0| 39 35 61 20 49 6d 61 67 | 65 73 20 64 69 73 74 72 |95a Imag|es distr|
|000002e0| 69 62 75 74 69 6f 6e 2c | 20 34 0a 63 6f 6e 73 6f |ibution,| 4.conso|
|000002f0| 6c 65 73 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |les are |availabl|
|00000300| 65 2c 20 67 65 74 74 79 | 20 72 75 6e 73 20 6f 6e |e, getty| runs on|
|00000310| 20 74 68 65 6d 2e 0a 0a | 42 54 57 3a 20 74 68 65 | them...|BTW: the|
|00000320| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 73 20 61 72 | serial |ports ar|
|00000330| 65 20 6e 6f 77 20 7b 5c | 73 66 20 2f 64 65 76 2f |e now {\|sf /dev/|
|00000340| 74 74 79 73 30 7d 2c 20 | 7b 5c 73 66 20 2f 64 65 |ttys0}, |{\sf /de|
|00000350| 76 2f 74 74 79 73 31 7d | 2c 20 7b 5c 73 66 0a 2f |v/ttys1}|, {\sf./|
|00000360| 64 65 76 2f 74 74 79 73 | 32 7d 20 61 6e 64 20 7b |dev/ttys|2} and {|
|00000370| 5c 73 66 20 2f 64 65 76 | 2f 74 74 79 73 33 7d 2e |\sf /dev|/ttys3}.|
|00000380| 20 7b 5c 73 66 20 74 74 | 79 30 7d 20 69 73 20 74 | {\sf tt|y0} is t|
|00000390| 68 65 20 67 65 6e 65 72 | 61 6c 20 63 6f 6e 73 6f |he gener|al conso|
|000003a0| 6c 65 2e 0a 7b 5c 73 66 | 20 74 74 79 31 32 38 2d |le..{\sf| tty128-|
|000003b0| 2d 7d 20 61 72 65 20 72 | 65 73 65 72 76 65 64 20 |-} are r|eserved |
|000003c0| 74 6f 20 70 74 79 27 73 | 0a 0a 5c 62 65 67 69 6e |to pty's|..\begin|
|000003d0| 7b 71 75 65 73 74 69 6f | 6e 7d 20 57 68 65 6e 20 |{questio|n} When |
|000003e0| 4c 69 6e 75 78 20 62 6f | 6f 74 73 2c 20 49 20 67 |Linux bo|ots, I g|
|000003f0| 65 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |et the f|ollowing|
|00000400| 20 6d 65 73 73 61 67 65 | 20 60 60 38 0a 76 69 72 | message| ``8.vir|
|00000410| 74 75 61 6c 20 63 6f 6e | 73 6f 6c 65 73 27 27 3b |tual con|soles'';|
|00000420| 20 68 6f 77 20 63 61 6e | 20 49 20 61 63 65 73 73 | how can| I acess|
|00000430| 20 74 6f 20 74 68 65 20 | 35 2d 38 20 76 63 27 73 | to the |5-8 vc's|
|00000440| 3f 5c 65 6e 64 7b 71 75 | 65 73 74 69 6f 6e 7d 0a |?\end{qu|estion}.|
|00000450| 5c 61 6e 73 77 65 72 20 | 49 66 20 79 6f 75 20 77 |\answer |If you w|
|00000460| 61 6e 74 20 74 68 65 20 | 67 65 74 74 79 20 74 6f |ant the |getty to|
|00000470| 20 72 75 6e 20 6f 6e 20 | 74 68 65 20 35 2d 38 2c | run on |the 5-8,|
|00000480| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 61 64 64 20 | you sho|uld add |
|00000490| 74 68 65 0a 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the.corr|espondin|
|000004a0| 67 20 65 6e 74 72 69 65 | 73 20 69 6e 20 7b 5c 73 |g entrie|s in {\s|
|000004b0| 66 20 2f 65 74 63 2f 69 | 6e 69 74 74 61 62 7d 2e |f /etc/i|nittab}.|
|000004c0| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 6a 75 | You can| also ju|
|000004d0| 73 74 20 72 75 6e 0a 7b | 5c 73 66 20 73 68 7d 20 |st run.{|\sf sh} |
|000004e0| 6f 6e 20 74 68 65 6d 20 | 62 79 20 75 73 69 6e 67 |on them |by using|
|000004f0| 20 74 68 65 20 64 6f 73 | 68 65 6c 6c 20 73 6f 66 | the dos|hell sof|
|00000500| 74 2e 20 41 6e 64 20 74 | 68 65 6e 20 69 6e 20 65 |t. And t|hen in e|
|00000510| 69 74 68 65 72 20 63 61 | 73 65 2c 0a 74 68 65 20 |ither ca|se,.the |
|00000520| 41 4c 54 2d 46 5b 35 2d | 38 5d 20 77 69 6c 6c 20 |ALT-F[5-|8] will |
|00000530| 61 63 63 65 73 73 20 74 | 68 65 20 63 6f 72 72 65 |access t|he corre|
|00000540| 73 70 6f 6e 64 69 6e 67 | 20 76 63 2e 0a 0a 5c 62 |sponding| vc...\b|
|00000550| 65 67 69 6e 7b 71 75 65 | 73 74 69 6f 6e 7d 20 57 |egin{que|stion} W|
|00000560| 68 61 74 20 6b 69 6e 64 | 20 6f 66 20 73 68 65 6c |hat kind| of shel|
|00000570| 6c 20 69 73 20 2f 62 69 | 6e 2f 73 68 3f 5c 65 6e |l is /bi|n/sh?\en|
|00000580| 64 7b 71 75 65 73 74 69 | 6f 6e 7d 0a 5c 61 6e 73 |d{questi|on}.\ans|
|00000590| 77 65 72 20 55 6e 74 69 | 6c 20 76 30 2e 39 35 20 |wer Unti|l v0.95 |
|000005a0| 69 74 27 73 20 74 68 65 | 20 42 6f 75 72 6e 65 20 |it's the| Bourne |
|000005b0| 41 67 61 69 6e 20 53 68 | 65 6c 6c 2c 20 62 61 73 |Again Sh|ell, bas|
|000005c0| 68 2d 31 2e 31 31 20 61 | 6e 64 0a 63 6f 6d 70 69 |h-1.11 a|nd.compi|
|000005d0| 6c 61 74 69 6f 6e 20 77 | 61 73 20 73 74 72 61 69 |lation w|as strai|
|000005e0| 67 68 74 66 6f 72 77 61 | 72 64 20 28 4c 69 6e 75 |ghtforwa|rd (Linu|
|000005f0| 73 20 64 69 78 69 74 29 | 2c 20 6a 75 73 74 20 60 |s dixit)|, just `|
|00000600| 60 6d 61 6b 65 27 27 20 | 74 68 61 74 27 73 0a 61 |`make'' |that's.a|
|00000610| 6c 6c 20 6f 72 20 6e 65 | 61 72 6c 79 2e 20 42 75 |ll or ne|arly. Bu|
|00000620| 74 20 61 73 20 74 68 65 | 20 73 68 65 6c 6c 20 63 |t as the| shell c|
|00000630| 6f 6d 65 73 20 62 69 67 | 67 65 72 20 61 6e 64 20 |omes big|ger and |
|00000640| 62 69 67 67 65 72 20 74 | 68 65 20 76 30 2e 39 35 |bigger t|he v0.95|
|00000650| 61 0a 7b 5c 73 66 20 2f | 62 69 6e 2f 73 68 7d 20 |a.{\sf /|bin/sh} |
|00000660| 69 73 20 7b 5c 73 66 20 | 61 73 68 7d 20 74 68 65 |is {\sf |ash} the|
|00000670| 20 42 53 44 20 34 2e 33 | 20 73 68 2e 5c 5c 20 42 | BSD 4.3| sh.\\ B|
|00000680| 54 57 20 49 20 74 68 69 | 6e 6b 20 74 68 61 74 20 |TW I thi|nk that |
|00000690| 6e 65 78 74 0a 74 69 6d | 65 2c 20 69 74 20 77 69 |next.tim|e, it wi|
|000006a0| 6c 6c 20 62 65 20 72 63 | 20 77 68 69 63 68 20 69 |ll be rc| which i|
|000006b0| 73 20 6d 75 63 68 20 6d | 6f 72 65 20 62 65 74 74 |s much m|ore bett|
|000006c0| 65 72 20 74 68 61 6e 20 | 7b 5c 73 66 20 61 73 68 |er than |{\sf ash|
|000006d0| 7d 20 61 6e 64 20 74 69 | 6e 79 0a 77 72 74 20 62 |} and ti|ny.wrt b|
|000006e0| 61 73 68 2e 20 49 66 20 | 79 6f 75 20 77 61 6e 74 |ash. If |you want|
|000006f0| 20 74 6f 20 74 65 73 74 | 20 69 74 2c 20 69 74 27 | to test| it, it'|
|00000700| 73 20 28 61 74 20 6c 65 | 61 73 74 29 20 61 74 20 |s (at le|ast) at |
|00000710| 7b 5c 74 74 20 6e 69 63 | 7d 20 69 6e 20 7b 5c 73 |{\tt nic|} in {\s|
|00000720| 66 0a 2f 70 75 62 2f 75 | 6e 69 78 2f 73 68 65 6c |f./pub/u|nix/shel|
|00000730| 6c 73 7d 20 61 6e 64 20 | 74 68 65 20 66 69 6c 65 |ls} and |the file|
|00000740| 20 69 73 20 7b 5c 73 66 | 20 72 63 2d 31 2e 32 2e | is {\sf| rc-1.2.|
|00000750| 74 61 72 2e 5a 7d 20 54 | 68 65 20 63 6f 6d 70 69 |tar.Z} T|he compi|
|00000760| 6c 61 74 69 6f 6e 0a 69 | 73 20 73 74 72 61 69 67 |lation.i|s straig|
|00000770| 68 74 66 6f 72 77 61 72 | 64 20 28 6a 75 73 74 20 |htforwar|d (just |
|00000780| 61 20 66 65 77 20 74 68 | 69 6e 67 73 20 74 6f 20 |a few th|ings to |
|00000790| 6d 6f 64 69 66 79 20 69 | 6e 20 7b 5c 73 66 20 4d |modify i|n {\sf M|
|000007a0| 61 6b 65 66 69 6c 65 7d | 20 61 6e 64 0a 7b 5c 73 |akefile}| and.{\s|
|000007b0| 66 20 6d 6b 73 69 67 6e | 61 6c 7d 29 2e 20 41 6c |f mksign|al}). Al|
|000007c0| 73 6f 20 61 20 70 6f 72 | 74 20 6f 66 20 74 63 73 |so a por|t of tcs|
|000007d0| 68 36 2e 31 20 68 61 73 | 20 62 65 65 6e 20 64 6f |h6.1 has| been do|
|000007e0| 6e 65 20 72 65 63 65 6e | 74 6c 79 0a 28 62 65 67 |ne recen|tly.(beg|
|000007f0| 69 6e 6e 69 6e 67 20 6f | 66 20 41 70 72 69 6c 29 |inning o|f April)|
|00000800| 0a 0a 5c 62 65 67 69 6e | 7b 71 75 65 73 74 69 6f |..\begin|{questio|
|00000810| 6e 7d 20 49 27 76 65 20 | 62 65 65 6e 20 61 62 6c |n} I've |been abl|
|00000820| 65 20 74 6f 20 69 6e 73 | 74 61 6c 6c 20 4c 69 6e |e to ins|tall Lin|
|00000830| 75 78 20 6f 6e 20 6d 79 | 20 62 6f 78 2c 20 62 75 |ux on my| box, bu|
|00000840| 74 20 43 74 72 6c 2d 5a | 0a 6e 6f 72 20 73 77 69 |t Ctrl-Z|.nor swi|
|00000850| 74 63 68 69 6e 67 20 6a | 6f 62 73 20 66 72 6f 6d |tching j|obs from|
|00000860| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 74 6f 20 66 | backgro|und to f|
|00000870| 6f 72 65 67 72 6f 75 6e | 64 20 73 65 65 6d 20 74 |oregroun|d seem t|
|00000880| 6f 20 77 6f 72 6b 2c 0a | 77 68 79 3f 5c 65 6e 64 |o work,.|why?\end|
|00000890| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|000008a0| 65 72 20 54 68 65 73 65 | 20 66 65 61 74 75 72 65 |er These| feature|
|000008b0| 20 61 72 65 20 6e 6f 74 | 20 70 72 6f 76 69 64 65 | are not| provide|
|000008c0| 64 20 77 69 74 68 20 74 | 68 65 20 7b 5c 73 66 20 |d with t|he {\sf |
|000008d0| 62 69 6e 2f 73 68 7d 20 | 28 61 73 68 29 20 6f 66 |bin/sh} |(ash) of|
|000008e0| 0a 74 68 65 20 49 6d 61 | 67 65 73 20 79 6f 75 20 |.the Ima|ges you |
|000008f0| 73 68 6f 75 6c 64 20 64 | 6f 77 6e 6c 6f 61 64 20 |should d|ownload |
|00000900| 7b 5c 73 66 20 62 61 73 | 68 7d 20 74 6f 20 67 65 |{\sf bas|h} to ge|
|00000910| 74 20 6a 6f 62 73 20 70 | 6f 73 73 69 62 69 6c 69 |t jobs p|ossibili|
|00000920| 74 69 65 73 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |ties...\|begin{qu|
|00000930| 65 73 74 69 6f 6e 7d 20 | 44 6f 65 73 20 74 68 65 |estion} |Does the|
|00000940| 72 65 20 65 78 69 73 74 | 20 61 20 6d 61 6e 20 70 |re exist| a man p|
|00000950| 61 67 65 20 66 6f 72 20 | 58 58 58 58 3f 5c 65 6e |age for |XXXX?\en|
|00000960| 64 7b 71 75 65 73 74 69 | 6f 6e 7d 0a 5c 61 6e 73 |d{questi|on}.\ans|
|00000970| 77 65 72 20 44 6f 77 6e | 6c 6f 61 64 20 7b 5c 73 |wer Down|load {\s|
|00000980| 66 20 6d 61 6e 2e 74 61 | 72 2e 5a 7d 20 66 72 6f |f man.ta|r.Z} fro|
|00000990| 6d 20 79 6f 75 72 20 66 | 61 76 6f 72 69 74 65 20 |m your f|avorite |
|000009a0| 4c 69 6e 75 78 20 66 74 | 70 20 73 69 74 65 2c 0a |Linux ft|p site,.|
|000009b0| 74 68 65 72 65 20 69 73 | 20 6d 6f 73 74 20 6f 66 |there is| most of|
|000009c0| 20 74 68 65 20 66 69 6c | 65 75 74 69 6c 73 20 6d | the fil|eutils m|
|000009d0| 61 6e 20 70 61 67 65 20 | 2d 2d 20 65 69 74 68 65 |an page |-- eithe|
|000009e0| 72 20 58 58 58 58 20 6f | 72 20 67 58 58 58 58 2c |r XXXX o|r gXXXX,|
|000009f0| 0a 65 78 61 6d 70 6c 65 | 20 74 68 65 72 65 20 69 |.example| there i|
|00000a00| 73 20 6e 6f 74 68 69 6e | 67 20 6f 6e 20 6c 64 2c |s nothin|g on ld,|
|00000a10| 20 62 75 74 20 74 68 65 | 72 65 20 69 73 20 66 6f | but the|re is fo|
|00000a20| 72 20 67 6c 64 20 3a 29 | 20 2d 2d 2c 20 63 68 65 |r gld :)| --, che|
|00000a30| 63 6b 20 74 68 65 0a 77 | 68 61 74 69 73 20 64 61 |ck the.w|hatis da|
|00000a40| 74 61 62 61 73 65 20 70 | 72 6f 76 69 64 65 64 2e |tabase p|rovided.|
|00000a50| 20 54 68 65 20 66 69 6c | 65 73 20 69 6e 20 74 68 | The fil|es in th|
|00000a60| 65 20 63 61 74 31 20 64 | 69 72 20 61 72 65 20 70 |e cat1 d|ir are p|
|00000a70| 72 65 2d 66 6f 72 6d 61 | 74 74 65 64 0a 6d 61 6e |re-forma|tted.man|
|00000a80| 20 70 61 67 65 73 20 74 | 68 61 74 20 74 68 65 20 | pages t|hat the |
|00000a90| 7b 5c 74 74 20 6d 61 6e | 7d 20 70 72 6f 67 72 61 |{\tt man|} progra|
|00000aa0| 6d 20 63 61 6e 20 75 73 | 65 2e 20 51 75 69 74 65 |m can us|e. Quite|
|00000ab0| 20 72 65 63 65 6e 74 6c | 79 20 74 68 65 20 6d 61 | recentl|y the ma|
|00000ac0| 6e 0a 70 61 67 65 73 20 | 66 6f 72 20 73 65 63 74 |n.pages |for sect|
|00000ad0| 69 6f 6e 20 32 20 68 61 | 76 65 20 62 65 65 6e 20 |ion 2 ha|ve been |
|00000ae0| 77 72 69 74 74 65 6e 20 | 28 74 68 61 6e 6b 73 20 |written |(thanks |
|00000af0| 44 72 65 77 29 20 61 6e | 64 20 63 61 6e 20 62 65 |Drew) an|d can be|
|00000b00| 20 66 6f 75 6e 64 2c 0a | 61 74 20 6c 65 61 73 74 | found,.|at least|
|00000b10| 20 61 74 20 7b 5c 74 74 | 20 74 73 78 2d 31 31 7d | at {\tt| tsx-11}|
|00000b20| 20 69 6e 20 7b 5c 73 66 | 20 2f 70 75 62 2f 6c 69 | in {\sf| /pub/li|
|00000b30| 6e 75 78 2f 64 6f 63 73 | 2f 6d 61 6e 2f 6d 61 6e |nux/docs|/man/man|
|00000b40| 32 2e 74 61 72 2e 5a 7d | 5c 5c 20 42 54 57 20 74 |2.tar.Z}|\\ BTW t|
|00000b50| 68 65 72 65 0a 69 73 20 | 6e 6f 20 72 6f 66 66 2c |here.is |no roff,|
|00000b60| 20 74 72 6f 66 66 20 6e | 6f 72 20 6e 72 6f 66 66 | troff n|or nroff|
|00000b70| 20 66 6f 72 20 4c 69 6e | 75 78 2e 20 43 61 77 66 | for Lin|ux. Cawf|
|00000b80| 20 32 2e 30 20 77 6f 72 | 6b 73 20 6a 75 73 74 20 | 2.0 wor|ks just |
|00000b90| 66 69 6e 65 20 66 6f 72 | 0a 73 69 6d 70 6c 65 20 |fine for|.simple |
|00000ba0| 6d 61 6e 20 70 61 67 65 | 73 2c 20 61 6e 64 20 61 |man page|s, and a|
|00000bb0| 20 70 61 72 74 69 61 6c | 20 6d 73 20 73 75 70 70 | partial| ms supp|
|00000bc0| 6f 72 74 20 74 6f 6f 2e | 20 51 75 69 74 65 20 72 |ort too.| Quite r|
|00000bd0| 65 63 65 6e 74 6c 79 20 | 74 68 65 0a 70 6f 72 74 |ecently |the.port|
|00000be0| 20 6f 66 20 67 72 6f 66 | 66 20 68 61 73 20 62 65 | of grof|f has be|
|00000bf0| 65 6e 20 64 6f 6e 65 20 | 28 64 75 65 20 74 6f 20 |en done |(due to |
|00000c00| 67 63 63 32 2e 78 20 70 | 6f 72 74 29 2c 20 79 6f |gcc2.x p|ort), yo|
|00000c10| 75 20 63 61 6e 20 66 69 | 6e 64 20 69 74 20 28 61 |u can fi|nd it (a|
|00000c20| 74 0a 6c 65 61 73 74 20 | 6f 6e 20 7b 5c 74 74 20 |t.least |on {\tt |
|00000c30| 74 73 78 2d 31 31 7d 29 | 20 69 6e 20 7b 5c 73 66 |tsx-11})| in {\sf|
|00000c40| 20 70 75 62 2f 6c 69 6e | 75 78 2f 62 69 6e 61 72 | pub/lin|ux/binar|
|00000c50| 69 65 73 2f 75 73 72 2e | 62 69 6e 2f 67 72 6f 66 |ies/usr.|bin/grof|
|00000c60| 66 7d 2e 5c 5c 20 4d 6f | 72 65 6f 76 65 72 0a 4d |f}.\\ Mo|reover.M|
|00000c70| 69 63 68 61 65 6c 20 4a | 6f 68 6e 73 6f 6e 20 69 |ichael J|ohnson i|
|00000c80| 73 20 74 68 65 20 63 6f | 6f 72 64 69 6e 61 74 6f |s the co|ordinato|
|00000c90| 72 20 66 6f 72 20 6d 61 | 6e 20 70 61 67 65 73 20 |r for ma|n pages |
|00000ca0| 75 6e 64 65 72 20 4c 69 | 6e 75 78 2c 20 68 65 20 |under Li|nux, he |
|00000cb0| 69 73 0a 6c 6f 6f 6b 69 | 6e 67 20 66 6f 72 20 76 |is.looki|ng for v|
|00000cc0| 6f 6c 75 6e 74 65 65 72 | 73 2c 20 73 6f 20 63 6f |olunteer|s, so co|
|00000cd0| 6e 74 61 63 74 20 7b 5c | 74 74 20 6c 69 6e 75 78 |ntact {\|tt linux|
|00000ce0| 2d 6d 61 6e 2d 72 65 71 | 75 65 73 74 40 73 74 6f |-man-req|uest@sto|
|00000cf0| 6c 61 66 2e 65 64 75 7d | 2e 0a 0a 5c 62 65 67 69 |laf.edu}|...\begi|
|00000d00| 6e 7b 71 75 65 73 74 69 | 6f 6e 7d 20 57 68 61 74 |n{questi|on} What|
|00000d10| 20 61 72 65 20 74 68 65 | 20 65 64 69 74 6f 72 73 | are the| editors|
|00000d20| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 0a 4c 69 | availab|le in.Li|
|00000d30| 6e 75 78 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |nux?\end|{questio|
|00000d40| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 52 69 67 68 74 |n}.\answ|er Right|
|00000d50| 20 6e 6f 77 20 74 68 65 | 72 65 20 61 72 65 20 75 | now the|re are u|
|00000d60| 65 6d 61 63 73 2c 20 65 | 6c 76 69 73 2d 31 2e 34 |emacs, e|lvis-1.4|
|00000d70| 20 28 31 2e 35 29 2e 20 | 54 68 65 20 70 6f 72 74 | (1.5). |The port|
|00000d80| 20 6f 66 20 65 6d 61 63 | 73 0a 31 38 2e 35 37 20 | of emac|s.18.57 |
|00000d90| 68 61 73 20 62 65 65 6e | 20 64 6f 6e 65 20 62 79 |has been| done by|
|00000da0| 20 4a 6f 68 6e 20 54 20 | 4b 6f 68 6c 2c 20 66 69 | John T |Kohl, fi|
|00000db0| 6c 65 73 20 63 61 6e 20 | 62 65 20 66 6f 75 6e 64 |les can |be found|
|00000dc0| 20 61 74 20 74 68 65 0a | 64 69 66 66 65 72 65 6e | at the.|differen|
|00000dd0| 74 20 73 69 74 65 73 3a | 20 61 74 20 7b 5c 74 74 |t sites:| at {\tt|
|00000de0| 20 6e 69 63 7d 20 69 6e | 20 74 68 65 20 64 69 72 | nic} in| the dir|
|00000df0| 65 63 74 6f 72 79 20 7b | 5c 73 66 20 78 74 72 61 |ectory {|\sf xtra|
|00000e00| 7d 20 61 6e 64 20 61 74 | 20 7b 5c 74 74 0a 74 73 |} and at| {\tt.ts|
|00000e10| 78 2d 31 31 7d 20 69 6e | 0a 74 68 65 20 64 69 72 |x-11} in|.the dir|
|00000e20| 65 63 74 6f 72 79 20 7b | 5c 73 66 20 70 6f 72 74 |ectory {|\sf port|
|00000e30| 73 2f 65 6d 61 63 73 2d | 31 38 2e 35 37 7d 2e 20 |s/emacs-|18.57}. |
|00000e40| 41 6e 64 20 72 65 63 65 | 6e 74 6c 79 20 74 68 65 |And rece|ntly the|
|00000e50| 20 70 6f 72 74 20 6f 66 | 0a 65 6d 61 63 73 2d 31 | port of|.emacs-1|
|00000e60| 38 2e 35 38 20 68 61 73 | 20 62 65 65 6e 20 64 6f |8.58 has| been do|
|00000e70| 6e 65 20 62 79 20 42 65 | 72 6e 64 20 57 69 65 67 |ne by Be|rnd Wieg|
|00000e80| 6d 61 6e 6e 20 77 68 69 | 63 68 20 63 6f 72 72 65 |mann whi|ch corre|
|00000e90| 63 74 73 20 73 6f 6d 65 | 20 70 74 79 27 73 0a 70 |cts some| pty's.p|
|00000ea0| 72 6f 62 6c 65 6d 73 20 | 28 74 68 61 74 20 6f 6e |roblems |(that on|
|00000eb0| 65 20 63 61 6e 20 62 65 | 20 66 6f 75 6e 64 20 69 |e can be| found i|
|00000ec0| 6e 20 7b 5c 73 66 20 62 | 69 6e 61 72 69 65 73 2f |n {\sf b|inaries/|
|00000ed0| 65 6d 61 63 73 2d 31 38 | 2e 35 38 7d 20 61 74 0a |emacs-18|.58} at.|
|00000ee0| 7b 5c 74 74 20 74 73 78 | 2d 31 31 7d 29 2e 20 41 |{\tt tsx|-11}). A|
|00000ef0| 6c 73 6f 20 74 68 65 20 | 70 6f 72 74 20 6f 66 20 |lso the |port of |
|00000f00| 7b 5c 74 74 20 6d 67 7d | 20 28 6d 69 63 72 6f 20 |{\tt mg}| (micro |
|00000f10| 67 6e 75 29 20 68 61 73 | 20 62 65 65 6e 20 64 6f |gnu) has| been do|
|00000f20| 6e 65 20 61 6e 64 20 63 | 61 6e 0a 62 65 20 66 6f |ne and c|an.be fo|
|00000f30| 75 6e 64 20 61 74 20 6c | 65 61 73 74 20 61 74 20 |und at l|east at |
|00000f40| 7b 5c 74 74 20 61 74 68 | 6f 73 2e 72 75 74 67 65 |{\tt ath|os.rutge|
|00000f50| 72 73 2e 65 64 75 7d 20 | 28 31 32 38 2e 36 2e 34 |rs.edu} |(128.6.4|
|00000f60| 2e 34 29 20 69 6e 20 7b | 5c 73 66 20 70 75 62 2f |.4) in {|\sf pub/|
|00000f70| 6c 69 6e 75 78 7d 2c 0a | 6d 67 20 69 73 20 74 68 |linux},.|mg is th|
|00000f80| 65 20 62 69 6e 61 72 79 | 20 61 6e 64 20 7b 5c 73 |e binary| and {\s|
|00000f90| 66 20 6d 67 2e 74 61 72 | 2e 5a 7d 20 69 73 20 74 |f mg.tar|.Z} is t|
|00000fa0| 68 65 20 73 6f 75 72 63 | 65 73 20 66 69 6c 65 2e |he sourc|es file.|
|00000fb0| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 0a 66 69 | You can| also.fi|
|00000fc0| 6e 64 20 61 20 50 44 20 | 65 64 2c 20 61 6e 64 20 |nd a PD |ed, and |
|00000fd0| 7b 5c 74 74 20 65 6c 76 | 69 73 7d 20 68 61 73 20 |{\tt elv|is} has |
|00000fe0| 61 6e 20 65 78 20 6d 6f | 64 65 2e 20 46 69 6e 6e |an ex mo|de. Finn|
|00000ff0| 61 6c 6c 79 20 74 68 65 | 72 65 20 61 72 65 20 7b |ally the|re are {|
|00001000| 5c 74 74 0a 6a 6f 65 7d | 2c 20 7b 5c 74 74 20 76 |\tt.joe}|, {\tt v|
|00001010| 69 6c 65 7d 2d 33 2e 31 | 31 20 61 6e 64 20 72 65 |ile}-3.1|1 and re|
|00001020| 63 65 6e 74 6c 79 20 7b | 5c 74 74 20 65 6c 6c 65 |cently {|\tt elle|
|00001030| 7d 20 28 45 6c 6c 65 20 | 4c 6f 6f 6b 73 20 4c 69 |} (Elle |Looks Li|
|00001040| 6b 65 20 45 6d 61 63 73 | 29 2e 0a 0a 5c 62 65 67 |ke Emacs|)...\beg|
|00001050| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 44 6f 65 |in{quest|ion} Doe|
|00001060| 73 20 74 68 65 72 65 20 | 65 78 69 73 74 20 61 20 |s there |exist a |
|00001070| 70 72 69 6e 74 65 72 20 | 70 61 63 6b 61 67 65 20 |printer |package |
|00001080| 66 6f 72 0a 4c 69 6e 75 | 78 3f 5c 65 6e 64 7b 71 |for.Linu|x?\end{q|
|00001090| 75 65 73 74 69 6f 6e 7d | 0a 5c 61 6e 73 77 65 72 |uestion}|.\answer|
|000010a0| 20 54 68 65 20 6c 70 20 | 70 61 74 63 68 65 73 20 | The lp |patches |
|000010b0| 77 68 69 63 68 20 69 6d | 70 6c 65 6d 65 6e 74 20 |which im|plement |
|000010c0| 61 20 70 61 72 61 6c 6c | 65 6c 20 70 72 69 6e 74 |a parall|el print|
|000010d0| 65 72 20 69 6e 74 65 72 | 66 61 63 65 0a 61 6e 64 |er inter|face.and|
|000010e0| 20 66 65 61 74 75 72 65 | 20 61 20 67 72 65 61 74 | feature| a great|
|000010f0| 6c 79 20 69 6d 70 72 6f | 76 65 64 20 64 72 69 76 |ly impro|ved driv|
|00001100| 65 72 20 64 65 73 69 67 | 6e 2c 20 68 61 76 65 20 |er desig|n, have |
|00001110| 62 65 65 6e 20 61 70 70 | 6c 69 65 64 20 69 6e 0a |been app|lied in.|
|00001120| 4c 69 6e 75 78 30 2e 39 | 35 63 2b 2e 20 20 54 68 |Linux0.9|5c+. Th|
|00001130| 65 20 6f 72 69 67 69 6e | 61 6c 20 70 61 74 63 68 |e origin|al patch|
|00001140| 65 73 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |es can b|e found |
|00001150| 69 6e 20 7b 5c 73 66 20 | 6c 70 30 39 35 2e 74 61 |in {\sf |lp095.ta|
|00001160| 72 2e 5a 7d 0a 4f 6e 63 | 65 20 79 6f 75 20 68 61 |r.Z}.Onc|e you ha|
|00001170| 76 65 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |ve succe|ssfully |
|00001180| 72 65 63 6f 6d 70 69 6c | 65 64 20 74 68 65 20 6b |recompil|ed the k|
|00001190| 65 72 6e 65 6c 20 76 30 | 2e 39 36 2c 20 79 6f 75 |ernel v0|.96, you|
|000011a0| 20 6e 65 65 64 20 74 6f | 0a 63 72 65 61 74 65 20 | need to|.create |
|000011b0| 6e 65 77 20 64 65 76 69 | 63 65 73 20 69 6e 20 74 |new devi|ces in t|
|000011c0| 68 65 20 7b 5c 73 66 20 | 2f 64 65 76 7d 20 64 69 |he {\sf |/dev} di|
|000011d0| 72 65 63 74 6f 72 79 20 | 28 73 65 65 0a 73 65 63 |rectory |(see.sec|
|000011e0| 74 69 6f 6e 7b 6d 61 6a | 6f 72 6d 69 6e 6f 72 7d |tion{maj|orminor}|
|000011f0| 29 2e 20 50 72 69 6e 74 | 69 6e 67 2c 20 74 68 65 |). Print|ing, the|
|00001200| 6e 2c 20 63 61 6e 20 62 | 65 20 61 63 68 69 65 76 |n, can b|e achiev|
|00001210| 65 64 20 62 79 3a 5c 5c | 20 7b 5c 74 74 0a 63 61 |ed by:\\| {\tt.ca|
|00001220| 74 7e 66 69 6c 65 6e 61 | 6d 65 7e 24 3e 24 7e 2f |t~filena|me~$>$~/|
|00001230| 64 65 76 2f 6c 70 31 7d | 0a 0a 5c 62 65 67 69 6e |dev/lp1}|..\begin|
|00001240| 7b 71 75 65 73 74 69 6f | 6e 7d 20 44 6f 65 73 20 |{questio|n} Does |
|00001250| 74 68 65 72 65 20 65 78 | 69 73 74 20 61 20 70 73 |there ex|ist a ps|
|00001260| 20 66 6f 72 20 4c 69 6e | 75 78 3f 5c 65 6e 64 7b | for Lin|ux?\end{|
|00001270| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00001280| 72 20 59 65 73 2c 20 61 | 20 76 65 72 79 20 73 69 |r Yes, a| very si|
|00001290| 6d 70 6c 65 20 6f 6e 65 | 20 69 73 20 69 6d 70 6c |mple one| is impl|
|000012a0| 65 6d 65 6e 74 65 64 20 | 62 79 20 64 65 66 61 75 |emented |by defau|
|000012b0| 6c 74 2c 20 6a 75 73 74 | 20 70 72 65 73 73 0a 74 |lt, just| press.t|
|000012c0| 68 65 20 73 63 72 6f 6c | 6c 2d 6c 6f 63 6b 20 6b |he scrol|l-lock k|
|000012d0| 65 79 3b 20 63 74 72 6c | 2d 73 68 69 66 74 2d 73 |ey; ctrl|-shift-s|
|000012e0| 63 72 6f 6c 6c 6f 63 6b | 20 67 69 76 65 73 20 61 |crollock| gives a|
|000012f0| 20 6b 69 6e 64 20 6f 66 | 20 6d 65 6d 6f 72 79 0a | kind of| memory.|
|00001300| 73 74 61 74 75 73 2e 20 | 54 68 65 72 65 20 69 73 |status. |There is|
|00001310| 20 61 6c 73 6f 20 61 20 | 6d 75 63 68 20 6d 6f 72 | also a |much mor|
|00001320| 65 20 63 6f 6d 70 6c 65 | 74 65 20 70 73 2f 6d 65 |e comple|te ps/me|
|00001330| 6d 6f 72 79 20 70 61 63 | 6b 61 67 65 20 69 74 27 |mory pac|kage it'|
|00001340| 73 0a 7b 5c 73 66 20 70 | 73 30 39 36 62 2e 74 61 |s.{\sf p|s096b.ta|
|00001350| 72 2e 5a 7d 2e 0a 20 20 | 20 20 20 20 20 20 20 20 |r.Z}.. | |
|00001360| 20 20 20 20 20 20 20 20 | 0a 5c 62 65 67 69 6e 7b | |.\begin{|
|00001370| 71 75 65 73 74 69 6f 6e | 7d 20 49 74 27 73 20 6e |question|} It's n|
|00001380| 69 63 65 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 |ice to h|ave the |
|00001390| 64 66 20 75 74 69 6c 69 | 74 79 2c 20 62 75 74 20 |df utili|ty, but |
|000013a0| 69 74 20 77 6f 75 6c 64 | 20 62 65 0a 6e 69 63 65 |it would| be.nice|
|000013b0| 72 20 69 66 20 69 74 20 | 77 6f 75 6c 64 20 67 69 |r if it |would gi|
|000013c0| 76 65 20 73 74 61 74 69 | 73 74 69 63 73 20 6f 66 |ve stati|stics of|
|000013d0| 20 74 68 65 20 72 6f 6f | 74 20 66 69 6c 65 20 73 | the roo|t file s|
|000013e0| 79 73 74 65 6d 2e 20 57 | 6f 75 6c 64 20 69 74 20 |ystem. W|ould it |
|000013f0| 62 65 0a 64 69 66 66 69 | 63 75 6c 74 20 74 6f 20 |be.diffi|cult to |
|00001400| 64 6f 3f 5c 65 6e 64 7b | 71 75 65 73 74 69 6f 6e |do?\end{|question|
|00001410| 7d 0a 5c 61 6e 73 77 65 | 72 20 73 75 72 65 6c 79 |}.\answe|r surely|
|00001420| 20 6e 6f 74 2c 20 69 6e | 20 79 6f 75 72 20 66 69 | not, in| your fi|
|00001430| 6c 65 20 7b 5c 73 66 20 | 2f 65 74 63 2f 72 63 7d |le {\sf |/etc/rc}|
|00001440| 2c 20 69 6e 73 74 65 61 | 64 20 6f 66 20 74 68 65 |, instea|d of the|
|00001450| 20 6c 69 6e 65 5c 5c 0a | 7b 5c 74 74 20 24 3e 24 | line\\.|{\tt $>$|
|00001460| 7e 2f 65 74 63 2f 6d 74 | 61 62 7d 5c 5c 0a 70 75 |~/etc/mt|ab}\\.pu|
|00001470| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 5c |t the fo|llowing\|
|00001480| 5c 0a 7b 5c 74 74 20 65 | 63 68 6f 7e 22 2f 64 65 |\.{\tt e|cho~"/de|
|00001490| 76 2f 68 64 58 7e 28 72 | 6f 6f 74 29 22 7e 24 3e |v/hdX~(r|oot)"~$>|
|000014a0| 24 7e 2f 65 74 63 2f 6d | 74 61 62 7d 5c 5c 0a 77 |$~/etc/m|tab}\\.w|
|000014b0| 68 65 72 65 20 74 68 65 | 20 7b 5c 74 74 20 58 7d |here the| {\tt X}|
|000014c0| 20 69 73 20 74 68 65 20 | 68 61 72 64 20 64 72 69 | is the |hard dri|
|000014d0| 76 65 20 79 6f 75 20 75 | 73 65 20 61 73 20 72 6f |ve you u|se as ro|
|000014e0| 6f 74 20 70 61 72 74 69 | 74 69 6f 6e 2e 0a 0a 5c |ot parti|tion...\|
|000014f0| 62 65 67 69 6e 7b 71 75 | 65 73 74 69 6f 6e 7d 20 |begin{qu|estion} |
|00001500| 48 6f 77 20 64 6f 20 49 | 20 6d 61 6b 65 20 73 77 |How do I| make sw|
|00001510| 61 70 70 69 6e 67 20 77 | 6f 72 6b 3f 5c 65 6e 64 |apping w|ork?\end|
|00001520| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|00001530| 65 72 20 51 75 69 74 65 | 20 73 69 6d 70 6c 79 2c |er Quite| simply,|
|00001540| 20 79 6f 75 20 6e 65 65 | 64 20 74 68 65 20 7b 5c | you nee|d the {\|
|00001550| 74 74 20 73 77 61 70 6f | 6e 7d 20 61 6e 64 20 74 |tt swapo|n} and t|
|00001560| 68 65 20 7b 5c 74 74 20 | 6d 6b 73 77 61 70 7d 0a |he {\tt |mkswap}.|
|00001570| 62 69 6e 61 72 69 65 73 | 2e 20 54 68 65 6e 20 79 |binaries|. Then y|
|00001580| 6f 75 20 63 61 6e 20 63 | 68 6f 6f 73 65 20 62 65 |ou can c|hoose be|
|00001590| 74 77 65 65 6e 20 61 20 | 73 77 61 70 20 70 61 72 |tween a |swap par|
|000015a0| 74 69 74 69 6f 6e 20 6f | 72 20 61 20 73 77 61 70 |tition o|r a swap|
|000015b0| 20 66 69 6c 65 2e 0a 54 | 68 65 20 7b 5c 74 74 20 | file..T|he {\tt |
|000015c0| 6d 6b 73 77 61 70 7d 20 | 69 73 20 75 73 65 64 20 |mkswap} |is used |
|000015d0| 74 6f 20 77 72 69 74 65 | 20 74 68 65 20 60 60 73 |to write| the ``s|
|000015e0| 77 61 70 20 73 69 67 6e | 61 74 75 72 65 27 27 2c |wap sign|ature'',|
|000015f0| 20 77 68 69 6c 73 74 20 | 74 68 65 0a 7b 5c 74 74 | whilst |the.{\tt|
|00001600| 20 73 77 61 70 6f 6e 7d | 20 62 69 6e 61 72 79 20 | swapon}| binary |
|00001610| 69 73 20 74 6f 20 61 63 | 74 69 76 61 74 65 20 74 |is to ac|tivate t|
|00001620| 68 65 20 73 77 61 70 70 | 69 6e 67 2e 5c 5c 0a 46 |he swapp|ing.\\.F|
|00001630| 69 72 73 74 20 6f 66 20 | 61 6c 6c 20 79 6f 75 20 |irst of |all you |
|00001640| 6e 65 65 64 20 61 20 70 | 61 72 74 69 74 69 6f 6e |need a p|artition|
|00001650| 20 3a 29 2c 20 49 20 61 | 73 73 75 6d 65 20 69 74 | :), I a|ssume it|
|00001660| 27 73 20 74 68 65 20 73 | 65 63 6f 6e 64 20 6f 66 |'s the s|econd of|
|00001670| 20 79 6f 75 72 0a 66 69 | 72 73 74 20 64 69 73 6b | your.fi|rst disk|
|00001680| 20 6e 61 6d 65 6c 79 20 | 7b 5c 73 66 20 2f 64 65 | namely |{\sf /de|
|00001690| 76 2f 68 64 61 32 7d 2c | 20 61 6e 64 20 69 74 27 |v/hda2},| and it'|
|000016a0| 73 20 31 30 4d 42 20 62 | 69 67 0a 5c 62 65 67 69 |s 10MB b|ig.\begi|
|000016b0| 6e 7b 65 6e 75 6d 65 72 | 61 74 65 7d 0a 5c 69 74 |n{enumer|ate}.\it|
|000016c0| 65 6d 20 73 77 61 70 20 | 70 61 72 74 69 74 69 6f |em swap |partitio|
|000016d0| 6e 3a 20 79 6f 75 20 68 | 61 76 65 20 74 6f 20 69 |n: you h|ave to i|
|000016e0| 6e 64 69 63 61 74 65 20 | 69 74 27 73 20 61 20 73 |ndicate |it's a s|
|000016f0| 77 61 70 20 61 72 65 61 | 2c 20 74 68 69 73 20 69 |wap area|, this i|
|00001700| 73 0a 64 6f 6e 65 20 76 | 69 61 20 7b 5c 74 74 20 |s.done v|ia {\tt |
|00001710| 6d 6b 73 77 61 70 7d 20 | 28 69 6e 73 74 65 61 64 |mkswap} |(instead|
|00001720| 20 6f 66 20 7b 5c 74 74 | 20 6d 6b 66 73 7d 29 20 | of {\tt| mkfs}) |
|00001730| 77 68 69 63 68 20 6e 65 | 65 64 73 20 74 68 65 20 |which ne|eds the |
|00001740| 6e 61 6d 65 20 6f 66 0a | 74 68 65 20 70 61 72 74 |name of.|the part|
|00001750| 69 74 69 6f 6e 20 61 6e | 64 20 74 68 65 20 73 69 |ition an|d the si|
|00001760| 7a 65 20 69 6e 20 62 6c | 6f 63 6b 73 20 28 61 20 |ze in bl|ocks (a |
|00001770| 62 6c 6f 63 6b 20 69 73 | 20 31 6b 62 20 62 69 67 |block is| 1kb big|
|00001780| 29 3b 20 74 68 65 0a 6f | 70 74 69 6f 6e 61 6c 20 |); the.o|ptional |
|00001790| 7b 5c 74 74 20 2d 63 7d | 20 66 6c 61 67 20 69 73 |{\tt -c}| flag is|
|000017a0| 20 66 6f 72 20 62 61 64 | 20 62 6c 6f 63 6b 20 63 | for bad| block c|
|000017b0| 68 65 63 6b 69 6e 67 2e | 20 53 6f 20 66 6f 72 20 |hecking.| So for |
|000017c0| 6f 75 72 20 65 78 61 6d | 70 6c 65 0a 79 6f 75 20 |our exam|ple.you |
|000017d0| 73 68 6f 75 6c 64 20 70 | 65 72 66 6f 72 6d 3a 5c |should p|erform:\|
|000017e0| 5c 20 7b 5c 74 74 20 6d | 6b 73 77 61 70 7e 5b 2d |\ {\tt m|kswap~[-|
|000017f0| 63 5d 7e 2f 64 65 76 2f | 68 64 61 32 7e 31 30 30 |c]~/dev/|hda2~100|
|00001800| 30 30 7d 5c 5c 20 54 68 | 65 6e 20 79 6f 75 0a 6e |00}\\ Th|en you.n|
|00001810| 65 65 64 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |eed to i|ndicate |
|00001820| 74 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 4c 69 |that you| want Li|
|00001830| 6e 75 78 20 74 6f 20 75 | 73 65 20 74 68 65 20 73 |nux to u|se the s|
|00001840| 77 61 70 20 61 72 65 61 | 2c 20 74 68 69 73 20 69 |wap area|, this i|
|00001850| 73 0a 64 6f 6e 65 20 76 | 69 61 20 7b 5c 74 74 20 |s.done v|ia {\tt |
|00001860| 73 77 61 70 6f 6e 7d 2e | 20 49 6e 20 67 65 6e 65 |swapon}.| In gene|
|00001870| 72 61 6c 20 69 74 20 69 | 73 20 73 65 74 20 69 6e |ral it i|s set in|
|00001880| 20 74 68 65 20 7b 5c 73 | 66 20 2f 65 74 63 2f 72 | the {\s|f /etc/r|
|00001890| 63 7d 20 66 69 6c 65 2c | 0a 6a 75 73 74 20 70 75 |c} file,|.just pu|
|000018a0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000018b0| 65 6e 74 72 79 3a 20 7b | 5c 74 74 20 2f 62 69 6e |entry: {|\tt /bin|
|000018c0| 2f 73 77 61 70 6f 6e 7e | 2f 64 65 76 2f 68 64 61 |/swapon~|/dev/hda|
|000018d0| 32 7d 0a 5c 69 74 65 6d | 20 73 77 61 70 20 66 69 |2}.\item| swap fi|
|000018e0| 6c 65 3a 0a 54 68 65 20 | 70 72 6f 63 65 73 73 20 |le:.The |process |
|000018f0| 69 73 20 71 75 69 74 65 | 20 63 6c 6f 73 65 3b 20 |is quite| close; |
|00001900| 79 6f 75 20 6e 65 65 64 | 20 61 20 70 61 72 74 69 |you need| a parti|
|00001910| 74 69 6f 6e 2c 20 61 6e | 64 20 61 20 73 77 61 70 |tion, an|d a swap|
|00001920| 20 66 69 6c 65 2e 0a 41 | 73 73 75 6d 65 20 74 68 | file..A|ssume th|
|00001930| 61 74 20 49 20 70 72 65 | 66 65 72 20 61 20 73 77 |at I pre|fer a sw|
|00001940| 61 70 20 61 72 65 61 20 | 6f 66 20 34 4d 42 20 28 |ap area |of 4MB (|
|00001950| 49 20 77 61 6e 74 20 74 | 6f 20 6b 65 65 70 20 73 |I want t|o keep s|
|00001960| 6f 6d 65 20 70 6c 61 63 | 65 20 69 6e 0a 7b 5c 73 |ome plac|e in.{\s|
|00001970| 66 20 2f 64 65 76 2f 68 | 64 61 32 7d 29 2e 20 49 |f /dev/h|da2}). I|
|00001980| 20 6e 65 65 64 20 66 69 | 72 73 74 20 74 6f 20 7b | need fi|rst to {|
|00001990| 5c 74 74 20 64 64 7d 20 | 74 68 65 20 66 69 6c 65 |\tt dd} |the file|
|000019a0| 2e 5c 5c 20 7b 5c 74 74 | 0a 64 64 7e 69 66 3d 2f |.\\ {\tt|.dd~if=/|
|000019b0| 64 65 76 2f 68 64 61 32 | 7e 6f 66 3d 2f 73 77 61 |dev/hda2|~of=/swa|
|000019c0| 70 5c 5f 66 69 6c 65 7e | 62 73 3d 31 30 32 34 7e |p\_file~|bs=1024~|
|000019d0| 63 6f 75 6e 74 3d 34 30 | 39 36 7d 5c 5c 20 7b 5c |count=40|96}\\ {\|
|000019e0| 74 74 20 62 73 7d 20 73 | 74 61 6e 64 73 20 66 6f |tt bs} s|tands fo|
|000019f0| 72 0a 62 6c 6f 63 6b 20 | 73 69 7a 65 2c 20 61 6e |r.block |size, an|
|00001a00| 64 20 7b 5c 74 74 20 63 | 6f 75 6e 74 7d 20 69 73 |d {\tt c|ount} is|
|00001a10| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00001a20| 6c 6f 63 6b 73 20 74 68 | 65 6e 20 49 20 68 61 76 |locks th|en I hav|
|00001a30| 65 20 74 6f 20 70 75 74 | 0a 74 68 65 20 60 60 73 |e to put|.the ``s|
|00001a40| 77 61 70 20 73 69 67 6e | 61 74 75 72 65 27 27 20 |wap sign|ature'' |
|00001a50| 6f 6e 20 74 68 61 74 20 | 66 69 6c 65 3a 5c 5c 20 |on that |file:\\ |
|00001a60| 7b 5c 74 74 20 6d 6b 73 | 77 61 70 7e 2f 73 77 61 |{\tt mks|wap~/swa|
|00001a70| 70 5c 5f 66 69 6c 65 7e | 34 30 39 36 7d 5c 5c 0a |p\_file~|4096}\\.|
|00001a80| 41 74 20 74 68 69 73 20 | 70 6f 69 6e 74 2c 20 79 |At this |point, y|
|00001a90| 6f 75 20 73 68 6f 75 6c | 64 20 7b 5c 74 74 20 73 |ou shoul|d {\tt s|
|00001aa0| 79 6e 63 7d 2c 20 6a 75 | 73 74 20 74 6f 20 62 65 |ync}, ju|st to be|
|00001ab0| 20 73 75 72 65 20 74 68 | 65 20 73 69 67 6e 61 74 | sure th|e signat|
|00001ac0| 75 72 65 20 69 73 0a 65 | 66 66 65 63 74 69 76 65 |ure is.e|ffective|
|00001ad0| 2e 20 41 6e 64 20 66 69 | 6e 61 6c 6c 79 20 61 64 |. And fi|nally ad|
|00001ae0| 64 20 61 6e 20 65 6e 74 | 72 79 20 69 6e 20 74 68 |d an ent|ry in th|
|00001af0| 65 20 72 63 20 66 69 6c | 65 3a 5c 5c 20 7b 5c 74 |e rc fil|e:\\ {\t|
|00001b00| 74 0a 2f 62 69 6e 2f 73 | 77 61 70 6f 6e 7e 2f 73 |t./bin/s|wapon~/s|
|00001b10| 77 61 70 5c 5f 66 69 6c | 65 7d 0a 5c 65 6e 64 7b |wap\_fil|e}.\end{|
|00001b20| 65 6e 75 6d 65 72 61 74 | 65 7d 0a 0a 5c 62 65 67 |enumerat|e}..\beg|
|00001b30| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 57 68 65 |in{quest|ion} Whe|
|00001b40| 6e 20 49 20 62 6f 6f 74 | 20 49 20 67 65 74 20 6f |n I boot| I get o|
|00001b50| 6e 65 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ne of th|e follow|
|00001b60| 69 6e 67 20 6d 65 73 73 | 61 67 65 73 3a 0a 60 60 |ing mess|ages:.``|
|00001b70| 55 6e 61 62 6c 65 20 74 | 6f 20 66 69 6e 64 20 73 |Unable t|o find s|
|00001b80| 77 61 70 20 73 69 67 6e | 61 74 75 72 65 27 27 20 |wap sign|ature'' |
|00001b90| 6f 72 20 60 60 42 61 64 | 20 73 77 61 70 2d 73 70 |or ``Bad| swap-sp|
|00001ba0| 61 63 65 20 62 69 74 6d | 61 70 27 27 0a 5c 65 6e |ace bitm|ap''.\en|
|00001bb0| 64 7b 71 75 65 73 74 69 | 6f 6e 7d 0a 5c 61 6e 73 |d{questi|on}.\ans|
|00001bc0| 77 65 72 20 59 6f 75 20 | 70 72 6f 62 61 62 6c 79 |wer You |probably|
|00001bd0| 20 66 6f 72 67 6f 74 20 | 74 6f 20 6d 61 6b 65 20 | forgot |to make |
|00001be0| 79 6f 75 72 20 73 77 61 | 70 2d 64 65 76 69 63 65 |your swa|p-device|
|00001bf0| 2c 20 75 73 65 20 74 68 | 65 20 7b 5c 74 74 0a 6d |, use th|e {\tt.m|
|00001c00| 6b 73 77 61 70 7d 20 63 | 6f 6d 6d 61 6e 64 2e 0a |kswap} c|ommand..|
|00001c10| 0a 5c 62 65 67 69 6e 7b | 71 75 65 73 74 69 6f 6e |.\begin{|question|
|00001c20| 7d 20 48 6f 77 20 64 6f | 20 49 20 6b 6e 6f 77 20 |} How do| I know |
|00001c30| 69 66 20 69 74 20 69 73 | 20 73 77 61 70 70 69 6e |if it is| swappin|
|00001c40| 67 3f 5c 65 6e 64 7b 71 | 75 65 73 74 69 6f 6e 7d |g?\end{q|uestion}|
|00001c50| 0a 5c 61 6e 73 77 65 72 | 20 59 6f 75 20 77 69 6c |.\answer| You wil|
|00001c60| 6c 20 6e 6f 74 69 63 65 | 20 69 74 20 3a 29 29 20 |l notice| it :)) |
|00001c70| 46 69 72 73 74 20 6f 66 | 20 61 6c 6c 2c 20 4c 69 |First of| all, Li|
|00001c80| 6e 75 78 20 74 65 6c 6c | 73 20 79 6f 75 20 61 74 |nux tell|s you at|
|00001c90| 20 62 6f 6f 74 0a 74 69 | 6d 65 2c 20 60 60 41 64 | boot.ti|me, ``Ad|
|00001ca0| 64 69 6e 67 20 73 77 61 | 70 3a 20 58 58 58 20 70 |ding swa|p: XXX p|
|00001cb0| 61 67 65 73 20 6f 66 20 | 73 77 61 70 20 73 70 61 |ages of |swap spa|
|00001cc0| 63 65 27 27 2c 20 61 6e | 64 20 69 66 20 79 6f 75 |ce'', an|d if you|
|00001cd0| 20 73 74 61 72 74 0a 72 | 75 6e 6e 69 6e 67 20 6f | start.r|unning o|
|00001ce0| 75 74 20 6f 66 20 6d 65 | 6d 6f 72 79 2c 20 79 6f |ut of me|mory, yo|
|00001cf0| 75 20 77 69 6c 6c 20 6e | 6f 74 69 63 65 20 74 68 |u will n|otice th|
|00001d00| 61 74 20 74 68 65 20 64 | 69 73 6b 20 77 69 6c 6c |at the d|isk will|
|00001d10| 20 77 6f 72 6b 0a 6f 76 | 65 72 74 69 6d 65 2c 20 | work.ov|ertime, |
|00001d20| 61 6e 64 20 74 68 69 6e | 67 73 20 73 6c 6f 77 20 |and thin|gs slow |
|00001d30| 64 6f 77 6e 2e 20 47 65 | 6e 65 72 61 6c 6c 79 20 |down. Ge|nerally |
|00001d40| 32 4d 62 20 52 41 4d 20 | 77 69 6c 6c 20 6d 61 6b |2Mb RAM |will mak|
|00001d50| 65 20 74 68 65 20 73 79 | 73 74 65 6d 0a 73 77 61 |e the sy|stem.swa|
|00001d60| 70 20 63 6f 6e 73 74 61 | 6e 74 6c 79 20 77 68 69 |p consta|ntly whi|
|00001d70| 6c 65 20 72 75 6e 6e 69 | 6e 67 20 7b 5c 74 74 20 |le runni|ng {\tt |
|00001d80| 67 63 63 7d 2c 20 34 20 | 4d 62 20 77 69 6c 6c 20 |gcc}, 4 |Mb will |
|00001d90| 73 77 61 70 20 6f 63 63 | 61 73 69 6f 6e 61 6c 6c |swap occ|asionall|
|00001da0| 79 0a 77 68 65 6e 20 6f | 70 74 69 6d 69 7a 69 6e |y.when o|ptimizin|
|00001db0| 67 20 62 69 67 20 66 69 | 6c 65 73 20 28 61 6e 64 |g big fi|les (and|
|00001dc0| 20 68 61 76 69 6e 67 20 | 6f 74 68 65 72 20 74 68 | having |other th|
|00001dd0| 69 6e 67 73 20 61 63 74 | 69 76 65 2c 20 73 75 63 |ings act|ive, suc|
|00001de0| 68 20 61 73 0a 7b 5c 74 | 74 20 6d 61 6b 65 7d 29 |h as.{\t|t make})|
|00001df0| 2e 20 41 6c 73 6f 2c 20 | 74 68 65 20 63 6f 6d 6d |. Also, |the comm|
|00001e00| 61 6e 64 20 7b 5c 74 74 | 20 66 72 65 65 7d 20 28 |and {\tt| free} (|
|00001e10| 66 72 6f 6d 20 74 68 65 | 20 7b 5c 73 66 20 70 73 |from the| {\sf ps|
|00001e20| 7d 20 70 61 63 6b 61 67 | 65 29 0a 72 65 70 6f 72 |} packag|e).repor|
|00001e30| 74 73 20 74 6f 74 61 6c | 20 65 6e 61 62 6c 65 64 |ts total| enabled|
|00001e40| 20 73 77 61 70 20 73 70 | 61 63 65 20 61 6e 64 20 | swap sp|ace and |
|00001e50| 63 75 72 72 65 6e 74 20 | 73 77 61 70 20 75 73 65 |current |swap use|
|00001e60| 2e 0a 0a 5c 62 65 67 69 | 6e 7b 71 75 65 73 74 69 |...\begi|n{questi|
|00001e70| 6f 6e 7d 20 48 6f 77 20 | 69 73 20 69 74 20 70 6f |on} How |is it po|
|00001e80| 73 73 69 62 6c 65 20 74 | 6f 20 72 65 6d 6f 76 65 |ssible t|o remove|
|00001e90| 20 61 20 73 77 61 70 0a | 66 69 6c 65 3f 5c 65 6e | a swap.|file?\en|
|00001ea0| 64 7b 71 75 65 73 74 69 | 6f 6e 7d 0a 5c 61 6e 73 |d{questi|on}.\ans|
|00001eb0| 77 65 72 20 53 69 6d 70 | 6c 79 20 70 65 72 66 6f |wer Simp|ly perfo|
|00001ec0| 72 6d 20 61 20 7b 5c 74 | 74 20 72 6d 7d 20 6f 6e |rm a {\t|t rm} on|
|00001ed0| 20 74 68 61 74 20 66 69 | 6c 65 2c 20 61 6e 64 20 | that fi|le, and |
|00001ee0| 72 65 6d 6f 76 65 20 74 | 68 65 20 73 77 61 70 6f |remove t|he swapo|
|00001ef0| 6e 20 6f 66 0a 79 6f 75 | 72 20 7b 5c 73 66 20 2f |n of.you|r {\sf /|
|00001f00| 65 74 63 2f 72 63 7d 20 | 66 69 6c 65 2e 0a 0a 5c |etc/rc} |file...\|
|00001f10| 62 65 67 69 6e 7b 71 75 | 65 73 74 69 6f 6e 7d 20 |begin{qu|estion} |
|00001f20| 48 6f 77 20 69 73 20 69 | 74 20 70 6f 73 73 69 62 |How is i|t possib|
|00001f30| 6c 65 20 74 6f 20 72 65 | 6d 6f 76 65 20 61 20 73 |le to re|move a s|
|00001f40| 77 61 70 0a 64 65 76 69 | 63 65 3f 5c 65 6e 64 7b |wap.devi|ce?\end{|
|00001f50| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00001f60| 72 20 7b 5c 74 74 20 6d | 6b 66 73 7d 20 74 68 65 |r {\tt m|kfs} the|
|00001f70| 20 64 65 76 69 63 65 2c | 20 61 6e 64 20 72 65 6d | device,| and rem|
|00001f80| 6f 76 65 20 74 68 65 20 | 73 77 61 70 6f 6e 20 6f |ove the |swapon o|
|00001f90| 66 20 79 6f 75 72 20 7b | 5c 73 66 0a 2f 65 74 63 |f your {|\sf./etc|
|00001fa0| 2f 72 63 7d 20 66 69 6c | 65 2e 0a 0a 5c 62 65 67 |/rc} fil|e...\beg|
|00001fb0| 69 6e 7b 71 75 65 73 74 | 69 6f 6e 7d 20 49 73 20 |in{quest|ion} Is |
|00001fc0| 74 68 65 72 65 20 61 6e | 79 20 77 61 79 20 74 6f |there an|y way to|
|00001fd0| 20 74 65 6c 6c 20 68 6f | 77 20 6d 75 63 68 20 73 | tell ho|w much s|
|00001fe0| 77 61 70 20 73 70 61 63 | 65 20 79 6f 75 20 61 72 |wap spac|e you ar|
|00001ff0| 65 0a 75 73 69 6e 67 20 | 6f 72 20 68 61 76 65 20 |e.using |or have |
|00002000| 6c 65 66 74 3f 5c 65 6e | 64 7b 71 75 65 73 74 69 |left?\en|d{questi|
|00002010| 6f 6e 7d 0a 5c 61 6e 73 | 77 65 72 20 54 68 65 20 |on}.\ans|wer The |
|00002020| 7b 5c 74 74 20 66 72 65 | 65 7d 20 70 72 6f 67 72 |{\tt fre|e} progr|
|00002030| 61 6d 20 70 72 6f 76 69 | 64 65 64 20 77 69 74 68 |am provi|ded with|
|00002040| 20 74 68 65 20 7b 5c 73 | 66 20 70 73 7d 20 70 61 | the {\s|f ps} pa|
|00002050| 63 6b 61 67 65 0a 68 61 | 6e 64 6c 65 73 20 74 68 |ckage.ha|ndles th|
|00002060| 69 73 2e 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 65 73 |is...\be|gin{ques|
|00002070| 74 69 6f 6e 7d 20 49 20 | 68 61 76 65 20 61 20 32 |tion} I |have a 2|
|00002080| 4d 62 20 62 6f 78 2c 20 | 62 75 74 20 7b 5c 74 74 |Mb box, |but {\tt|
|00002090| 20 66 72 65 65 7d 20 72 | 65 70 6f 72 74 73 20 6f | free} r|eports o|
|000020a0| 6e 6c 79 20 31 4d 62 0a | 77 68 79 3f 5c 65 6e 64 |nly 1Mb.|why?\end|
|000020b0| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|000020c0| 65 72 20 28 4c 69 6e 75 | 73 29 5c 5c 20 7b 5c 74 |er (Linu|s)\\ {\t|
|000020d0| 74 20 66 72 65 65 7d 20 | 64 6f 65 73 6e 27 74 20 |t free} |doesn't |
|000020e0| 63 6f 6e 63 65 72 6e 20 | 77 69 74 68 20 74 68 65 |concern |with the|
|000020f0| 20 6d 65 6d 6f 72 79 20 | 74 68 65 0a 6b 65 72 6e | memory |the.kern|
|00002100| 65 6c 20 68 61 73 20 61 | 6c 6c 6f 63 61 74 65 64 |el has a|llocated|
|00002110| 20 66 6f 72 20 69 74 73 | 65 6c 66 2e 20 49 6e 20 | for its|elf. In |
|00002120| 6f 74 68 65 72 20 77 6f | 72 64 73 20 77 68 61 74 |other wo|rds what|
|00002130| 20 79 6f 75 20 73 65 65 | 20 69 73 20 74 68 65 0a | you see| is the.|
|00002140| 5c 65 6d 20 75 73 65 72 | 20 5c 65 6d 20 6d 65 6d |\em user| \em mem|
|00002150| 6f 72 79 20 61 76 61 69 | 6c 61 62 6c 65 2e 20 54 |ory avai|lable. T|
|00002160| 68 65 20 6b 65 72 6e 65 | 6c 20 68 61 73 20 74 61 |he kerne|l has ta|
|00002170| 6b 65 6e 20 74 68 65 20 | 6c 6f 77 20 31 4d 62 20 |ken the |low 1Mb |
|00002180| 66 6f 72 0a 69 74 27 73 | 20 75 73 65 20 28 24 5c |for.it's| use ($\|
|00002190| 61 70 70 72 6f 78 24 32 | 35 30 4b 62 20 66 6f 72 |approx$2|50Kb for|
|000021a0| 20 69 74 20 61 6e 64 20 | 74 68 65 20 72 65 73 74 | it and |the rest|
|000021b0| 20 66 6f 72 20 62 75 66 | 66 65 72 20 63 61 63 68 | for buf|fer cach|
|000021c0| 65 20 61 6e 64 0a 6b 65 | 72 6e 65 6c 20 64 61 74 |e and.ke|rnel dat|
|000021d0| 61 20 73 74 72 75 63 74 | 75 72 65 73 29 3b 20 66 |a struct|ures); f|
|000021e0| 6f 72 20 62 69 67 20 6d | 65 6d 6f 72 79 20 6d 61 |or big m|emory ma|
|000021f0| 63 68 69 6e 65 20 69 74 | 20 63 6f 75 6c 64 20 62 |chine it| could b|
|00002200| 65 20 65 76 65 6e 20 32 | 4d 62 2e 0a 0a 5c 62 65 |e even 2|Mb...\be|
|00002210| 67 69 6e 7b 71 75 65 73 | 74 69 6f 6e 7d 20 49 73 |gin{ques|tion} Is|
|00002220| 20 74 68 65 72 65 20 6f | 6e 6c 79 20 74 68 65 20 | there o|nly the |
|00002230| 5c 25 5c 24 5c 23 40 20 | 6b 65 79 62 6f 61 72 64 |\%\$\#@ |keyboard|
|00002240| 3f 5c 65 6e 64 7b 71 75 | 65 73 74 69 6f 6e 7d 0a |?\end{qu|estion}.|
|00002250| 5c 61 6e 73 77 65 72 20 | 54 68 65 72 65 20 61 72 |\answer |There ar|
|00002260| 65 20 44 61 6e 6e 69 73 | 68 2c 20 46 69 6e 6e 69 |e Dannis|h, Finni|
|00002270| 73 68 2c 20 46 72 65 6e | 63 68 2c 20 47 65 72 6d |sh, Fren|ch, Germ|
|00002280| 61 6e 2c 20 55 6b 20 61 | 6e 64 20 55 53 0a 6b 65 |an, Uk a|nd US.ke|
|00002290| 79 62 6f 61 72 64 73 2e | 20 53 65 74 20 69 74 20 |yboards.| Set it |
|000022a0| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 7b 5c 73 66 |in the m|ain {\sf|
|000022b0| 20 4d 61 6b 65 66 69 6c | 65 7d 20 6f 66 20 74 68 | Makefil|e} of th|
|000022c0| 65 20 6b 65 72 6e 65 6c | 20 73 6f 75 72 63 65 73 |e kernel| sources|
|000022d0| 2c 0a 74 68 65 6e 20 28 | 72 65 29 63 6f 6d 70 69 |,.then (|re)compi|
|000022e0| 6c 65 20 74 68 65 20 6b | 65 72 6e 65 6c 20 61 67 |le the k|ernel ag|
|000022f0| 61 69 6e 2e 20 4d 61 6b | 65 20 73 75 72 65 20 74 |ain. Mak|e sure t|
|00002300| 68 65 20 66 69 6c 65 73 | 20 69 6e 20 7b 5c 73 66 |he files| in {\sf|
|00002310| 0a 6b 65 72 6e 65 6c 2f | 63 68 72 5c 5f 64 72 76 |.kernel/|chr\_drv|
|00002320| 7d 20 64 69 72 65 63 74 | 6f 72 79 20 61 72 65 20 |} direct|ory are |
|00002330| 72 65 63 6f 6d 70 69 6c | 65 64 2e 0a 0a 5c 62 65 |recompil|ed...\be|
|00002340| 67 69 6e 7b 71 75 65 73 | 74 69 6f 6e 7d 20 28 73 |gin{ques|tion} (s|
|00002350| 70 65 63 69 61 6c 20 46 | 49 4e 4e 49 53 48 2f 55 |pecial F|INNISH/U|
|00002360| 53 29 20 49 20 62 6f 6f | 74 65 64 20 75 70 20 77 |S) I boo|ted up w|
|00002370| 69 74 68 20 74 68 65 20 | 6e 65 77 20 69 6d 61 67 |ith the |new imag|
|00002380| 65 0a 61 6e 64 20 65 76 | 65 72 79 74 68 69 6e 67 |e.and ev|erything|
|00002390| 20 77 6f 72 6b 20 65 78 | 63 65 70 74 20 74 68 61 | work ex|cept tha|
|000023a0| 74 20 73 6f 6d 65 20 6b | 65 79 62 6f 61 72 64 20 |t some k|eyboard |
|000023b0| 6b 65 79 73 20 70 72 6f | 64 75 63 65 20 77 72 6f |keys pro|duce wro|
|000023c0| 6e 67 0a 63 68 61 72 61 | 63 74 65 72 73 2e 20 44 |ng.chara|cters. D|
|000023d0| 6f 65 73 20 61 6e 79 6f | 6e 65 20 6b 6e 6f 77 20 |oes anyo|ne know |
|000023e0| 77 68 61 74 20 69 73 20 | 68 61 70 70 65 6e 69 6e |what is |happenin|
|000023f0| 67 3f 5c 65 6e 64 7b 71 | 75 65 73 74 69 6f 6e 7d |g?\end{q|uestion}|
|00002400| 0a 5c 61 6e 73 77 65 72 | 20 53 69 6e 63 65 20 30 |.\answer| Since 0|
|00002410| 2e 39 35 61 20 69 6d 61 | 67 65 73 20 61 72 65 20 |.95a ima|ges are |
|00002420| 55 53 20 70 72 6f 64 75 | 63 74 20 28 61 6e 64 20 |US produ|ct (and |
|00002430| 73 6f 20 61 72 65 20 55 | 53 2d 6b 65 79 62 6f 61 |so are U|S-keyboa|
|00002440| 72 64 0a 6f 72 69 65 6e | 74 65 64 29 2c 20 42 55 |rd.orien|ted), BU|
|00002450| 54 20 4c 69 6e 75 78 20 | 73 6f 75 72 63 65 73 20 |T Linux |sources |
|00002460| 61 72 65 20 46 49 4e 4e | 49 53 48 20 70 72 6f 64 |are FINN|ISH prod|
|00002470| 75 63 74 2c 20 61 6e 64 | 20 73 6f 20 74 68 65 20 |uct, and| so the |
|00002480| 64 65 66 61 75 6c 74 0a | 6b 65 79 62 6f 61 72 64 |default.|keyboard|
|00002490| 20 69 73 20 73 65 74 20 | 74 6f 20 62 65 20 46 49 | is set |to be FI|
|000024a0| 4e 4e 49 53 48 2e 20 54 | 68 65 20 73 6f 6c 75 74 |NNISH. T|he solut|
|000024b0| 69 6f 6e 20 69 73 20 69 | 6e 20 74 68 65 20 70 72 |ion is i|n the pr|
|000024c0| 65 76 69 6f 75 73 20 51 | 2f 41 2e 0a 0a 5c 62 65 |evious Q|/A...\be|
|000024d0| 67 69 6e 7b 71 75 65 73 | 74 69 6f 6e 7d 20 44 6f |gin{ques|tion} Do|
|000024e0| 65 73 20 74 68 65 72 65 | 20 65 78 69 73 74 20 73 |es there| exist s|
|000024f0| 68 61 72 65 64 20 6c 69 | 62 73 3f 5c 65 6e 64 7b |hared li|bs?\end{|
|00002500| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00002510| 72 20 54 68 65 79 20 73 | 65 65 6d 20 74 6f 20 77 |r They s|eem to w|
|00002520| 6f 72 6b 2e 20 54 68 65 | 20 6b 65 72 6e 65 6c 20 |ork. The| kernel |
|00002530| 66 65 61 74 75 72 65 73 | 20 61 72 65 20 69 6e 20 |features| are in |
|00002540| 4c 69 6e 75 78 20 30 2e | 31 32 0a 61 6c 72 65 61 |Linux 0.|12.alrea|
|00002550| 64 79 2e 20 54 68 65 79 | 20 77 6f 72 6b 20 66 6f |dy. They| work fo|
|00002560| 72 20 67 63 63 2d 32 2e | 31 2e 20 61 6e 64 20 6c |r gcc-2.|1. and l|
|00002570| 61 74 65 72 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |ater..\b|egin{que|
|00002580| 73 74 69 6f 6e 7d 20 44 | 6f 65 73 20 4c 69 6e 75 |stion} D|oes Linu|
|00002590| 78 20 77 6f 72 6b 20 66 | 6f 72 20 53 43 53 49 20 |x work f|or SCSI |
|000025a0| 64 72 69 76 65 73 3f 5c | 65 6e 64 7b 71 75 65 73 |drives?\|end{ques|
|000025b0| 74 69 6f 6e 7d 0a 5c 61 | 6e 73 77 65 72 20 59 65 |tion}.\a|nswer Ye|
|000025c0| 73 20 73 69 6e 63 65 20 | 76 30 2e 39 36 2e 20 41 |s since |v0.96. A|
|000025d0| 74 20 7b 5c 74 74 20 68 | 65 61 64 72 65 73 74 2e |t {\tt h|eadrest.|
|000025e0| 63 6f 6c 6f 72 61 64 6f | 2e 65 64 75 7d 20 69 6e |colorado|.edu} in|
|000025f0| 20 7b 5c 73 66 20 2f 70 | 75 62 2f 73 63 73 69 7d | {\sf /p|ub/scsi}|
|00002600| 2c 0a 79 6f 75 20 77 69 | 6c 6c 20 66 69 6e 64 20 |,.you wi|ll find |
|00002610| 74 68 65 20 6c 61 73 74 | 20 53 43 53 49 20 61 6c |the last| SCSI al|
|00002620| 70 68 61 2f 62 65 74 61 | 20 76 65 72 73 69 6f 6e |pha/beta| version|
|00002630| 20 61 6e 64 20 61 6c 73 | 6f 20 61 20 73 70 65 63 | and als|o a spec|
|00002640| 69 61 6c 20 53 43 53 49 | 0a 46 41 51 2c 20 72 65 |ial SCSI|.FAQ, re|
|00002650| 61 64 20 69 74 2c 20 69 | 74 20 20 63 6f 6e 74 61 |ad it, i|t conta|
|00002660| 69 6e 73 20 6d 75 63 68 | 20 6d 6f 72 65 20 69 6e |ins much| more in|
|00002670| 66 6f 72 6d 61 74 69 6f | 6e 20 74 68 61 6e 20 74 |formatio|n than t|
|00002680| 68 65 20 6f 6e 65 20 70 | 72 6f 76 69 64 65 64 0a |he one p|rovided.|
|00002690| 69 6e 20 74 68 65 20 53 | 43 53 49 20 73 65 63 74 |in the S|CSI sect|
|000026a0| 69 6f 6e 2e 20 59 6f 75 | 20 73 68 6f 75 6c 64 2c |ion. You| should,|
|000026b0| 20 61 6c 73 6f 2c 20 63 | 6f 6e 74 61 63 74 20 74 | also, c|ontact t|
|000026c0| 68 65 20 6c 69 6e 75 78 | 2d 73 63 73 69 20 6c 69 |he linux|-scsi li|
|000026d0| 73 74 20 6f 72 0a 64 69 | 72 65 63 74 6c 79 20 7b |st or.di|rectly {|
|000026e0| 5c 74 74 20 64 72 65 77 | 40 63 73 2e 63 6f 6c 6f |\tt drew|@cs.colo|
|000026f0| 72 61 64 6f 2e 65 64 75 | 7d 0a 0a 5c 62 65 67 69 |rado.edu|}..\begi|
|00002700| 6e 7b 71 75 65 73 74 69 | 6f 6e 7d 20 4c 69 6e 75 |n{questi|on} Linu|
|00002710| 78 20 69 73 20 73 75 70 | 70 6f 73 65 64 20 74 6f |x is sup|posed to|
|00002720| 20 77 6f 72 6b 20 77 69 | 74 68 20 45 53 44 49 20 | work wi|th ESDI |
|00002730| 64 72 69 76 65 2e 20 48 | 6f 77 65 76 65 72 20 49 |drive. H|owever I|
|00002740| 0a 68 61 76 65 20 74 72 | 6f 75 62 6c 65 20 77 69 |.have tr|ouble wi|
|00002750| 74 68 20 6d 79 20 4d 61 | 67 74 72 6f 6e 20 4d 54 |th my Ma|gtron MT|
|00002760| 2d 34 31 31 35 45 20 28 | 4a 6f 69 6e 63 6f 6d 20 |-4115E (|Joincom |
|00002770| 63 6f 6e 74 72 6f 6c 65 | 72 29 2c 20 61 6e 79 0a |controle|r), any.|
|00002780| 63 6c 75 65 3f 5c 65 6e | 64 7b 71 75 65 73 74 69 |clue?\en|d{questi|
|00002790| 6f 6e 7d 0a 5c 61 6e 73 | 77 65 72 20 28 4c 69 6e |on}.\ans|wer (Lin|
|000027a0| 75 73 29 5c 5c 20 53 6f | 6d 65 20 68 61 72 64 64 |us)\\ So|me hardd|
|000027b0| 69 73 6b 20 64 6f 6e 27 | 74 20 6c 69 6b 65 20 4c |isk don'|t like L|
|000027c0| 69 6e 75 78 20 28 65 76 | 65 6e 20 74 68 6f 75 67 |inux (ev|en thoug|
|000027d0| 68 20 74 68 65 79 0a 73 | 68 6f 75 6c 64 29 2e 20 |h they.s|hould). |
|000027e0| 4d 61 79 62 65 20 6e 6f | 74 20 61 20 62 75 67 20 |Maybe no|t a bug |
|000027f0| 62 75 74 20 61 20 64 65 | 66 69 63 69 65 6e 63 79 |but a de|ficiency|
|00002800| 2e 5c 5c 20 28 4d 69 6b | 61 29 20 49 20 68 61 64 |.\\ (Mik|a) I had|
|00002810| 20 74 6f 20 72 65 6d 6f | 76 65 0a 74 68 65 20 70 | to remo|ve.the p|
|00002820| 72 69 6e 74 6b 20 22 75 | 6e 65 78 70 65 63 74 65 |rintk "u|nexpecte|
|00002830| 64 20 68 64 20 69 6e 74 | 65 72 72 75 70 74 22 20 |d hd int|errupt" |
|00002840| 73 74 61 74 65 6d 65 6e | 74 20 69 6e 20 7b 5c 73 |statemen|t in {\s|
|00002850| 66 20 68 64 2e 63 7d 20 | 62 65 63 61 75 73 65 20 |f hd.c} |because |
|00002860| 49 0a 77 61 73 20 67 65 | 74 74 69 6e 67 20 73 6f |I.was ge|tting so|
|00002870| 20 6d 61 6e 79 20 6f 66 | 20 74 68 6f 73 65 20 6d | many of| those m|
|00002880| 65 73 73 61 67 65 73 2e | 20 42 65 20 77 61 72 6e |essages.| Be warn|
|00002890| 65 64 20 74 68 61 74 20 | 69 66 20 74 68 65 72 65 |ed that |if there|
|000028a0| 20 69 73 20 61 6e 79 0a | 72 65 61 64 20 65 72 72 | is any.|read err|
|000028b0| 6f 72 20 74 68 65 20 73 | 79 73 74 65 6d 20 6a 75 |or the s|ystem ju|
|000028c0| 73 74 20 68 61 6e 67 73 | 2c 20 65 76 65 6e 20 74 |st hangs|, even t|
|000028d0| 68 65 20 63 74 72 6c 2d | 61 6c 74 2d 64 65 6c 20 |he ctrl-|alt-del |
|000028e0| 77 6f 6e 27 74 20 77 6f | 72 6b 2e 0a 59 6f 75 20 |won't wo|rk..You |
|000028f0| 73 68 6f 75 6c 64 20 62 | 65 20 61 62 6c 65 20 74 |should b|e able t|
|00002900| 6f 20 75 73 65 20 79 6f | 75 72 20 45 53 44 49 20 |o use yo|ur ESDI |
|00002910| 64 72 69 76 65 73 20 69 | 66 20 79 6f 75 20 63 6f |drives i|f you co|
|00002920| 75 6c 64 20 6c 69 76 65 | 20 77 69 74 68 0a 74 68 |uld live| with.th|
|00002930| 6f 73 65 20 6e 75 69 73 | 61 6e 63 65 73 2e 0a 0a |ose nuis|ances...|
|00002940| 5c 62 65 67 69 6e 7b 71 | 75 65 73 74 69 6f 6e 7d |\begin{q|uestion}|
|00002950| 20 48 6f 77 20 64 6f 65 | 73 20 6f 6e 65 20 67 6f | How doe|s one go|
|00002960| 20 61 62 6f 75 74 20 61 | 70 70 6c 79 69 6e 67 20 | about a|pplying |
|00002970| 61 20 70 61 74 63 68 20 | 74 6f 0a 4c 69 6e 75 78 |a patch |to.Linux|
|00002980| 3f 5c 65 6e 64 7b 71 75 | 65 73 74 69 6f 6e 7d 0a |?\end{qu|estion}.|
|00002990| 5c 61 6e 73 77 65 72 20 | 28 44 72 65 77 20 45 63 |\answer |(Drew Ec|
|000029a0| 6b 68 61 72 64 74 29 5c | 5c 20 49 6e 20 74 68 65 |khardt)\|\ In the|
|000029b0| 20 75 6e 69 78 20 77 6f | 72 6c 64 20 6d 6f 73 74 | unix wo|rld most|
|000029c0| 20 6f 66 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e | of dist|ribution|
|000029d0| 20 61 72 65 0a 69 6e 20 | 73 6f 75 72 63 65 20 66 | are.in |source f|
|000029e0| 6f 72 6d 2e 20 54 68 69 | 73 20 69 6e 63 6c 75 64 |orm. Thi|s includ|
|000029f0| 65 73 20 74 68 65 20 6f | 70 65 72 61 74 69 6e 67 |es the o|perating|
|00002a00| 20 73 79 73 74 65 6d 2e | 20 54 6f 20 61 70 70 6c | system.| To appl|
|00002a10| 79 20 61 20 70 61 74 63 | 68 2c 0a 79 6f 75 20 61 |y a patc|h,.you a|
|00002a20| 70 70 6c 79 20 69 74 20 | 77 69 74 68 20 74 68 65 |pply it |with the|
|00002a30| 20 7b 5c 74 74 20 70 61 | 74 63 68 7d 20 70 72 6f | {\tt pa|tch} pro|
|00002a40| 67 72 61 6d 20 74 6f 20 | 74 68 65 20 61 66 66 65 |gram to |the affe|
|00002a50| 63 74 65 64 20 73 6f 75 | 72 63 65 73 2e 20 54 68 |cted sou|rces. Th|
|00002a60| 65 0a 70 61 74 63 68 20 | 70 72 6f 67 72 61 6d 20 |e.patch |program |
|00002a70| 74 61 6b 65 73 20 61 73 | 20 69 6e 70 75 74 20 74 |takes as| input t|
|00002a80| 68 65 20 64 69 66 66 65 | 72 65 6e 63 65 73 20 62 |he diffe|rences b|
|00002a90| 65 74 77 65 65 6e 20 74 | 68 65 20 6f 6c 64 20 61 |etween t|he old a|
|00002aa0| 6e 64 20 74 68 65 0a 6e | 65 77 20 76 65 72 73 69 |nd the.n|ew versi|
|00002ab0| 6f 6e 2e 20 41 66 74 65 | 72 20 70 61 74 63 68 69 |on. Afte|r patchi|
|00002ac0| 6e 67 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 72 |ng you n|eed to r|
|00002ad0| 65 63 6f 6d 70 69 6c 65 | 20 74 68 65 20 73 6f 75 |ecompile| the sou|
|00002ae0| 72 63 65 73 2e 5c 5c 0a | 41 73 73 75 6d 65 20 49 |rces.\\.|Assume I|
|00002af0| 20 77 61 6e 74 20 74 6f | 20 61 70 70 6c 79 20 61 | want to| apply a|
|00002b00| 20 70 61 74 63 68 20 65 | 6e 63 6c 6f 73 65 64 20 | patch e|nclosed |
|00002b10| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 7b 5c 73 66 |in the f|ile {\sf|
|00002b20| 20 58 58 58 7d 2e 20 46 | 69 72 73 74 0a 6f 66 20 | XXX}. F|irst.of |
|00002b30| 61 6c 6c 20 49 20 77 69 | 6c 6c 20 6c 6f 6f 6b 20 |all I wi|ll look |
|00002b40| 61 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 7b 5c |at the t|op of {\|
|00002b50| 73 66 20 58 58 58 7d 2c | 20 77 68 65 72 65 20 74 |sf XXX},| where t|
|00002b60| 68 65 20 66 69 6c 65 20 | 61 66 66 65 63 74 65 64 |he file |affected|
|00002b70| 20 69 73 0a 69 64 65 6e | 74 69 66 69 65 64 2e 20 | is.iden|tified. |
|00002b80| 54 68 69 73 20 6d 61 79 | 20 68 61 76 65 20 61 20 |This may| have a |
|00002b90| 6c 65 61 64 69 6e 67 20 | 70 61 74 68 20 61 74 74 |leading |path att|
|00002ba0| 61 63 68 65 64 20 74 6f | 20 69 74 2e 20 45 69 74 |ached to| it. Eit|
|00002bb0| 68 65 72 20 63 64 20 6f | 75 74 0a 74 6f 20 74 68 |her cd o|ut.to th|
|00002bc0| 65 20 60 60 72 6f 6f 74 | 27 27 20 6f 66 20 74 68 |e ``root|'' of th|
|00002bd0| 65 20 70 61 74 63 68 2c | 20 69 2e 65 2e 20 69 66 |e patch,| i.e. if|
|00002be0| 20 49 20 73 65 65 5c 5c | 20 7b 5c 74 74 0a 6c 69 | I see\\| {\tt.li|
|00002bf0| 6e 75 78 2f 6b 65 72 6e | 65 6c 2f 62 6c 6b 5c 5f |nux/kern|el/blk\_|
|00002c00| 64 72 76 2f 62 6c 6b 2e | 68 7d 5c 5c 20 49 20 77 |drv/blk.|h}\\ I w|
|00002c10| 6f 75 6c 64 20 63 64 20 | 69 6e 74 6f 20 7b 5c 73 |ould cd |into {\s|
|00002c20| 66 20 2f 75 73 72 2f 73 | 72 63 7d 0a 28 61 73 73 |f /usr/s|rc}.(ass|
|00002c30| 75 6d 69 6e 67 20 69 74 | 27 73 20 74 68 65 20 70 |uming it|'s the p|
|00002c40| 6c 61 63 65 20 77 68 65 | 72 65 20 49 20 63 61 6e |lace whe|re I can|
|00002c50| 20 66 69 6e 64 20 6c 69 | 6e 75 78 2f 6b 65 72 6e | find li|nux/kern|
|00002c60| 65 6c 2e 2e 2e 29 20 61 | 6e 64 20 74 68 65 6e 0a |el...) a|nd then.|
|00002c70| 70 61 74 63 68 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |patch as| follows|
|00002c80| 5c 5c 20 7b 5c 74 74 20 | 70 61 74 63 68 7e 2d 70 |\\ {\tt |patch~-p|
|00002c90| 30 7e 24 3c 24 7e 77 68 | 61 74 65 76 65 72 5c 5f |0~$<$~wh|atever\_|
|00002ca0| 70 6c 61 63 65 2f 58 58 | 58 7d 5c 5c 20 6f 72 2c |place/XX|X}\\ or,|
|00002cb0| 20 79 6f 75 20 63 61 6e | 0a 73 70 65 63 69 66 79 | you can|.specify|
|00002cc0| 20 61 20 6e 75 6d 62 65 | 72 20 6f 66 20 70 61 74 | a numbe|r of pat|
|00002cd0| 68 20 63 6f 6d 70 6f 6e | 65 6e 74 73 20 74 6f 20 |h compon|ents to |
|00002ce0| 73 74 72 69 70 20 66 72 | 6f 6d 20 74 68 65 20 70 |strip fr|om the p|
|00002cf0| 61 74 68 2e 20 49 66 20 | 49 20 61 6d 20 69 6e 0a |ath. If |I am in.|
|00002d00| 74 68 65 20 7b 5c 73 66 | 20 62 6c 6b 5c 5f 64 72 |the {\sf| blk\_dr|
|00002d10| 76 7d 20 64 69 72 65 63 | 74 6f 72 79 20 70 61 74 |v} direc|tory pat|
|00002d20| 63 68 69 6e 67 20 77 6f | 75 6c 64 20 62 65 5c 5c |ching wo|uld be\\|
|00002d30| 20 7b 5c 74 74 0a 70 61 | 74 63 68 7e 2d 70 33 7e | {\tt.pa|tch~-p3~|
|00002d40| 24 3c 24 7e 77 68 61 74 | 65 76 65 72 5c 5f 70 6c |$<$~what|ever\_pl|
|00002d50| 61 63 65 2f 58 58 58 7d | 0a 0a 5c 62 65 67 69 6e |ace/XXX}|..\begin|
|00002d60| 7b 71 75 65 73 74 69 6f | 6e 7d 20 54 68 65 72 65 |{questio|n} There|
|00002d70| 20 61 72 65 20 61 20 6c | 6f 74 20 6f 66 20 70 61 | are a l|ot of pa|
|00002d80| 74 63 68 65 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |tches av|ailable |
|00002d90| 28 66 64 20 70 61 74 63 | 68 2c 20 6c 70 0a 70 61 |(fd patc|h, lp.pa|
|00002da0| 74 63 68 20 6c 6f 67 69 | 6e 20 70 61 74 63 68 20 |tch logi|n patch |
|00002db0| 2e 2e 2e 29 20 63 61 6e | 20 49 20 62 65 20 66 61 |...) can| I be fa|
|00002dc0| 69 72 6c 79 20 63 6f 6e | 66 69 64 65 6e 74 20 74 |irly con|fident t|
|00002dd0| 68 65 20 73 75 62 73 65 | 71 75 65 6e 74 0a 70 61 |he subse|quent.pa|
|00002de0| 74 63 68 65 73 20 77 69 | 6c 6c 20 77 6f 72 6b 3f |tches wi|ll work?|
|00002df0| 5c 65 6e 64 7b 71 75 65 | 73 74 69 6f 6e 7d 0a 5c |\end{que|stion}.\|
|00002e00| 61 6e 73 77 65 72 20 54 | 68 69 73 20 69 73 20 6e |answer T|his is n|
|00002e10| 6f 74 20 74 72 75 65 20 | 79 65 74 20 66 6f 72 20 |ot true |yet for |
|00002e20| 74 68 65 20 63 75 72 72 | 65 6e 74 20 76 65 72 73 |the curr|ent vers|
|00002e30| 69 6f 6e 3b 20 62 75 74 | 20 69 74 20 77 69 6c 6c |ion; but| it will|
|00002e40| 20 62 65 0a 73 6f 20 49 | 20 6b 65 70 74 20 69 74 | be.so I| kept it|
|00002e50| 20 3a 29 5c 5c 0a 4e 6f | 20 79 6f 75 20 63 61 6e | :)\\.No| you can|
|00002e60| 27 74 2c 20 70 61 74 63 | 68 69 6e 67 20 69 73 20 |'t, patc|hing is |
|00002e70| 61 20 72 65 61 6c 20 62 | 65 74 61 20 74 65 73 74 |a real b|eta test|
|00002e80| 65 72 20 61 72 74 20 3a | 29 29 2e 20 20 50 65 6f |er art :|)). Peo|
|00002e90| 70 6c 65 20 61 72 65 20 | 6e 6f 74 0a 77 6f 72 6b |ple are |not.work|
|00002ea0| 69 6e 67 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ing on t|he same |
|00002eb0| 70 61 74 63 68 65 64 20 | 72 65 6c 65 61 73 65 2c |patched |release,|
|00002ec0| 20 73 6f 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 | so you |have to |
|00002ed0| 63 68 65 63 6b 20 69 66 | 20 74 68 65 0a 70 61 74 |check if| the.pat|
|00002ee0| 63 68 65 73 20 79 6f 75 | 20 61 6c 72 65 61 64 79 |ches you| already|
|00002ef0| 20 61 70 70 6c 69 65 64 | 20 77 6f 72 6b 73 20 6f | applied| works o|
|00002f00| 6e 20 74 68 65 20 73 61 | 6d 65 20 6b 65 72 6e 65 |n the sa|me kerne|
|00002f10| 6c 20 70 61 72 74 2c 20 | 69 66 20 6e 6f 74 2c 0a |l part, |if not,.|
|00002f20| 5c 65 6d 20 67 72 65 61 | 74 5c 65 6d 2c 20 6a 75 |\em grea|t\em, ju|
|00002f30| 73 74 20 61 70 70 6c 79 | 20 74 68 65 6d 2e 20 49 |st apply| them. I|
|00002f40| 66 20 79 65 73 2c 20 63 | 68 65 63 6b 20 69 66 20 |f yes, c|heck if |
|00002f50| 74 68 65 72 65 20 69 73 | 20 61 6e 20 6f 72 64 65 |there is| an orde|
|00002f60| 72 2c 20 70 61 74 63 68 | 0a 63 72 65 61 74 6f 72 |r, patch|.creator|
|00002f70| 20 6b 6e 6f 77 73 20 74 | 68 61 74 2c 20 61 6e 64 | knows t|hat, and|
|00002f80| 20 28 73 68 6f 75 6c 64 | 29 20 74 72 79 20 74 6f | (should|) try to|
|00002f90| 20 77 61 72 6e 20 70 61 | 74 63 68 20 75 73 65 72 | warn pa|tch user|
|00002fa0| 20 28 69 6e 20 6f 74 68 | 65 72 0a 77 6f 72 64 73 | (in oth|er.words|
|00002fb0| 3a 20 62 65 74 61 20 74 | 65 73 74 65 72 29 20 6f |: beta t|ester) o|
|00002fc0| 74 68 65 72 77 69 73 65 | 20 79 6f 75 20 73 68 6f |therwise| you sho|
|00002fd0| 75 6c 64 20 65 64 69 74 | 20 74 68 65 20 70 61 74 |uld edit| the pat|
|00002fe0| 63 68 20 66 69 6c 65 73 | 20 28 61 6e 64 0a 70 6f |ch files| (and.po|
|00002ff0| 73 73 69 62 6c 79 20 6d | 61 6b 65 20 61 20 62 72 |ssibly m|ake a br|
|00003000| 69 65 66 20 6e 6f 74 65 | 20 74 6f 20 6f 74 68 65 |ief note| to othe|
|00003010| 72 73 20 6f 6e 20 74 68 | 69 73 20 6c 69 73 74 2f |rs on th|is list/|
|00003020| 6e 65 77 73 67 72 6f 75 | 70 20 6f 72 20 65 76 65 |newsgrou|p or eve|
|00003030| 6e 20 61 0a 7b 5c 74 74 | 20 63 64 69 66 66 7d 29 |n a.{\tt| cdiff})|
|00003040| 20 62 65 66 6f 72 65 20 | 61 70 70 6c 79 69 6e 67 | before |applying|
|00003050| 20 74 68 65 6d 2c 20 61 | 6e 6f 74 68 65 72 20 73 | them, a|nother s|
|00003060| 6f 6c 75 74 69 6f 6e 20 | 69 73 20 74 6f 20 6b 65 |olution |is to ke|
|00003070| 65 70 20 63 6f 6f 6c 0a | 61 6e 64 20 77 61 69 74 |ep cool.|and wait|
|00003080| 20 66 6f 72 20 74 68 65 | 20 6e 65 78 74 20 76 65 | for the| next ve|
|00003090| 72 73 69 6f 6e 20 6f 66 | 20 4c 69 6e 75 78 20 77 |rsion of| Linux w|
|000030a0| 68 65 72 65 2c 20 69 6e | 20 67 65 6e 65 72 61 6c |here, in| general|
|000030b0| 2c 20 74 68 65 0a 6d 6f | 64 69 66 69 63 61 74 69 |, the.mo|dificati|
|000030c0| 6f 6e 73 20 68 61 76 65 | 20 62 65 65 6e 20 64 6f |ons have| been do|
|000030d0| 6e 65 20 62 75 74 20 74 | 68 69 73 20 62 65 68 61 |ne but t|his beha|
|000030e0| 76 69 6f 72 20 69 73 20 | 5c 65 6d 20 6e 6f 74 20 |vior is |\em not |
|000030f0| 5c 65 6d 20 4c 69 6e 75 | 78 0a 68 65 6c 70 66 75 |\em Linu|x.helpfu|
|00003100| 6c 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |l...\beg|in{quest|
|00003110| 69 6f 6e 7d 20 49 20 67 | 6f 74 20 74 68 65 20 70 |ion} I g|ot the p|
|00003120| 61 74 63 68 65 73 20 6f | 6e 20 73 6f 6d 65 20 66 |atches o|n some f|
|00003130| 74 70 20 73 69 74 65 73 | 2c 20 61 6e 64 20 61 70 |tp sites|, and ap|
|00003140| 70 6c 69 65 64 20 74 68 | 65 6d 0a 74 6f 20 74 68 |plied th|em.to th|
|00003150| 65 20 6b 65 72 6e 65 6c | 20 61 6e 64 20 74 72 69 |e kernel| and tri|
|00003160| 65 64 20 74 6f 20 63 6f | 6d 70 69 6c 65 2e 20 49 |ed to co|mpile. I|
|00003170| 74 20 64 69 64 6e 27 74 | 20 21 21 2e 20 41 72 65 |t didn't| !!. Are|
|00003180| 20 74 68 65 20 70 61 74 | 63 68 65 73 0a 62 75 67 | the pat|ches.bug|
|00003190| 67 79 3f 5c 65 6e 64 7b | 71 75 65 73 74 69 6f 6e |gy?\end{|question|
|000031a0| 7d 0a 5c 61 6e 73 77 65 | 72 20 42 65 66 6f 72 65 |}.\answe|r Before|
|000031b0| 20 72 65 6d 61 6b 65 2c | 20 6a 75 73 74 20 64 6f | remake,| just do|
|000031c0| 20 61 20 7b 5c 74 74 20 | 6d 61 6b 65 7e 63 6c 65 | a {\tt |make~cle|
|000031d0| 61 6e 7d 20 69 6e 20 74 | 68 65 20 64 69 72 65 63 |an} in t|he direc|
|000031e0| 74 6f 72 69 65 73 0a 69 | 6e 76 6f 6c 76 65 64 20 |tories.i|nvolved |
|000031f0| 62 79 20 74 68 65 20 70 | 61 74 63 68 65 73 2e 20 |by the p|atches. |
|00003200| 54 68 69 73 20 77 69 6c | 6c 20 66 6f 72 63 65 20 |This wil|l force |
|00003210| 61 20 72 65 62 75 69 6c | 64 20 6f 66 20 74 68 65 |a rebuil|d of the|
|00003220| 20 7b 5c 73 66 20 2e 6f | 7d 20 61 6e 64 0a 7b 5c | {\sf .o|} and.{\|
|00003230| 73 66 20 2e 61 7d 20 66 | 69 6c 65 73 2e 5c 5c 20 |sf .a} f|iles.\\ |
|00003240| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 20 52 43 |If you h|ave a RC|
|00003250| 53 20 72 75 6e 6e 69 6e | 67 20 6f 6e 20 79 6f 75 |S runnin|g on you|
|00003260| 72 20 73 6f 75 72 63 65 | 20 74 72 65 65 2c 20 64 |r source| tree, d|
|00003270| 69 64 0a 79 6f 75 20 63 | 68 65 63 6b 65 64 20 61 |id.you c|hecked a|
|00003280| 20 70 61 74 63 68 65 64 | 20 76 65 72 73 69 6f 6e | patched| version|
|00003290| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 73 20 63 68 | of the |files ch|
|000032a0| 61 6e 67 65 64 20 62 65 | 66 6f 72 65 20 5c 65 6d |anged be|fore \em|
|000032b0| 20 61 6e 79 20 5c 65 6d | 0a 43 4f 20 65 69 74 68 | any \em|.CO eith|
|000032c0| 65 72 20 62 79 20 79 6f | 75 20 6f 72 20 6d 61 6b |er by yo|u or mak|
|000032d0| 65 5c 5c 0a 46 69 6e 61 | 6c 6c 79 2c 20 6d 61 6b |e\\.Fina|lly, mak|
|000032e0| 65 20 73 75 72 65 20 74 | 68 65 20 70 61 74 63 68 |e sure t|he patch|
|000032f0| 65 73 20 73 75 63 63 65 | 64 65 64 2e 20 4e 6f 72 |es succe|ded. Nor|
|00003300| 6d 61 6c 6c 79 2c 20 66 | 61 69 6c 65 64 20 70 61 |mally, f|ailed pa|
|00003310| 74 63 68 65 73 20 6f 6e | 20 61 0a 66 69 6c 65 20 |tches on| a.file |
|00003320| 7b 5c 73 66 20 46 49 4c | 45 7d 20 77 69 6c 6c 20 |{\sf FIL|E} will |
|00003330| 6c 65 61 76 65 20 61 20 | 7b 5c 73 66 20 46 49 4c |leave a |{\sf FIL|
|00003340| 45 5c 23 7d 20 66 69 6c | 65 2e 20 4d 6f 72 65 6f |E\#} fil|e. Moreo|
|00003350| 76 65 72 20 79 6f 75 20 | 77 69 6c 6c 20 67 65 74 |ver you |will get|
|00003360| 0a 61 20 60 60 63 68 75 | 6e 6b 20 66 61 69 6c 65 |.a ``chu|nk faile|
|00003370| 64 27 27 20 6d 65 73 73 | 61 67 65 2e 20 49 74 20 |d'' mess|age. It |
|00003380| 69 73 20 70 6f 73 73 69 | 62 6c 65 20 74 6f 20 63 |is possi|ble to c|
|00003390| 61 70 74 75 72 65 20 74 | 68 65 20 6f 75 74 70 75 |apture t|he outpu|
|000033a0| 74 20 77 68 69 6c 65 0a | 70 61 74 63 68 69 6e 67 |t while.|patching|
|000033b0| 2c 20 77 69 74 68 20 74 | 68 65 20 66 6f 6c 6c 6f |, with t|he follo|
|000033c0| 77 69 6e 67 3a 5c 5c 0a | 7b 5c 74 74 20 70 61 74 |wing:\\.|{\tt pat|
|000033d0| 63 68 7e 2d 70 30 7e 24 | 3c 24 7e 70 61 74 63 68 |ch~-p0~$|<$~patch|
|000033e0| 66 69 6c 65 7e 7c 7e 32 | 24 3e 24 5c 26 31 7e 70 |file~|~2|$>$\&1~p|
|000033f0| 61 74 63 68 2e 72 65 73 | 75 6c 74 7e 7c 7e 6d 6f |atch.res|ult~|~mo|
|00003400| 72 65 7d 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 65 73 |re}..\be|gin{ques|
|00003410| 74 69 6f 6e 7d 20 57 68 | 61 74 20 69 73 20 56 46 |tion} Wh|at is VF|
|00003420| 53 3f 5c 65 6e 64 7b 71 | 75 65 73 74 69 6f 6e 7d |S?\end{q|uestion}|
|00003430| 0a 5c 61 6e 73 77 65 72 | 20 28 54 65 64 29 5c 5c |.\answer| (Ted)\\|
|00003440| 20 4c 69 6e 75 78 20 30 | 2e 39 36 20 61 6c 72 65 | Linux 0|.96 alre|
|00003450| 61 64 79 20 68 61 73 20 | 56 69 72 74 75 61 6c 20 |ady has |Virtual |
|00003460| 46 69 6c 65 53 79 73 74 | 65 6d 2c 20 77 68 69 63 |FileSyst|em, whic|
|00003470| 68 20 6d 65 61 6e 73 0a | 74 68 61 74 20 69 74 20 |h means.|that it |
|00003480| 61 63 74 73 20 61 73 20 | 61 20 66 69 6c 65 73 79 |acts as |a filesy|
|00003490| 73 74 65 6d 20 73 77 69 | 74 63 68 2e 20 49 74 20 |stem swi|tch. It |
|000034a0| 6d 61 6b 65 73 20 69 74 | 20 65 61 73 79 20 66 6f |makes it| easy fo|
|000034b0| 72 20 73 6f 6d 65 6f 6e | 65 20 74 6f 0a 64 65 73 |r someon|e to.des|
|000034c0| 69 67 6e 20 61 6e 6f 74 | 68 65 72 20 66 69 6c 65 |ign anot|her file|
|000034d0| 73 79 73 74 65 6d 20 66 | 6f 72 6d 61 74 20 61 6e |system f|ormat an|
|000034e0| 64 20 69 6e 63 6c 75 64 | 65 20 69 74 20 69 6e 20 |d includ|e it in |
|000034f0| 74 68 65 20 4c 69 6e 75 | 78 20 6b 65 72 6e 65 6c |the Linu|x kernel|
|00003500| 0a 61 6c 6f 6e 67 20 77 | 69 74 68 20 74 68 65 20 |.along w|ith the |
|00003510| 73 74 61 6e 64 61 72 64 | 20 6d 69 6e 69 78 20 66 |standard| minix f|
|00003520| 69 6c 65 73 79 73 74 65 | 6d 20 66 6f 72 6d 61 74 |ilesyste|m format|
|00003530| 2e 20 53 6f 20 69 74 20 | 5c 65 6d 20 65 6e 61 62 |. So it |\em enab|
|00003540| 6c 65 73 20 5c 65 6d 0a | 73 6f 6d 65 6f 6e 65 20 |les \em.|someone |
|00003550| 74 6f 20 64 65 73 69 67 | 6e 20 61 20 72 6f 62 75 |to desig|n a robu|
|00003560| 73 74 20 66 69 6c 65 73 | 79 73 74 65 6d 20 77 68 |st files|ystem wh|
|00003570| 69 63 68 20 77 6f 75 6c | 64 20 68 61 76 65 20 73 |ich woul|d have s|
|00003580| 6f 6d 65 20 6e 69 63 65 | 0a 70 72 6f 70 65 72 74 |ome nice|.propert|
|00003590| 69 65 73 20 28 6e 6f 20 | 31 34 20 63 68 61 72 73 |ies (no |14 chars|
|000035a0| 20 66 69 6c 65 20 6e 61 | 6d 65 20 6c 69 6d 69 74 | file na|me limit|
|000035b0| 61 74 69 6f 6e 2c 20 6e | 6f 72 20 36 34 4d 62 20 |ation, n|or 64Mb |
|000035c0| 6c 69 6d 69 74 29 2c 20 | 61 6e 64 0a 63 6f 75 6c |limit), |and.coul|
|000035d0| 64 20 62 65 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |d be inc|luded in|
|000035e0| 20 74 68 65 20 6b 65 72 | 6e 65 6c 20 69 6e 20 73 | the ker|nel in s|
|000035f0| 75 63 68 20 61 20 77 61 | 79 20 74 68 61 74 20 62 |uch a wa|y that b|
|00003600| 6f 74 68 20 74 68 65 20 | 4d 69 6e 69 78 20 61 6e |oth the |Minix an|
|00003610| 64 0a 74 68 65 20 6e 65 | 77 20 6f 6e 65 20 63 6f |d.the ne|w one co|
|00003620| 75 6c 64 20 62 65 20 6d | 6f 75 6e 74 65 64 20 61 |uld be m|ounted a|
|00003630| 74 20 74 68 65 20 73 61 | 6d 65 20 74 69 6d 65 2e |t the sa|me time.|
|00003640| 20 54 68 69 73 20 73 6f | 6c 76 65 73 20 74 68 65 | This so|lves the|
|00003650| 0a 75 6e 63 6f 6d 70 61 | 62 69 6c 69 74 79 20 70 |.uncompa|bility p|
|00003660| 72 6f 62 6c 65 6d 3b 20 | 73 69 6e 63 65 20 74 68 |roblem; |since th|
|00003670| 65 20 72 6f 6f 74 20 64 | 69 73 6b 20 63 6f 75 6c |e root d|isk coul|
|00003680| 64 20 73 74 69 6c 6c 20 | 75 73 65 20 74 68 65 20 |d still |use the |
|00003690| 4d 69 6e 69 78 0a 66 69 | 6c 65 73 79 73 74 65 6d |Minix.fi|lesystem|
|000036a0| 2c 20 77 68 69 6c 65 20 | 74 68 65 20 68 61 72 64 |, while |the hard|
|000036b0| 69 73 6b 20 63 6f 75 6c | 64 20 62 65 20 75 73 69 |isk coul|d be usi|
|000036c0| 6e 67 20 74 68 65 20 6e | 65 77 20 6f 6e 65 2e 0a |ng the n|ew one..|
|000036d0| 0a 5c 62 65 67 69 6e 7b | 71 75 65 73 74 69 6f 6e |.\begin{|question|
|000036e0| 7d 20 43 6f 75 6c 64 20 | 73 6f 6d 65 6f 6e 65 20 |} Could |someone |
|000036f0| 65 78 70 6c 61 69 6e 20 | 74 68 65 20 73 77 61 70 |explain |the swap|
|00003700| 20 70 72 6f 63 65 73 73 | 20 6f 6e 20 4c 69 6e 75 | process| on Linu|
|00003710| 78 3f 20 49 73 0a 69 74 | 20 73 77 61 70 70 69 6e |x? Is.it| swappin|
|00003720| 67 20 6f 72 20 70 61 67 | 69 6e 67 3f 5c 65 6e 64 |g or pag|ing?\end|
|00003730| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|00003740| 65 72 20 28 4c 69 6e 75 | 73 29 5c 5c 20 4c 69 6e |er (Linu|s)\\ Lin|
|00003750| 75 78 20 75 73 65 73 20 | 73 77 61 70 20 61 73 20 |ux uses |swap as |
|00003760| 5c 65 6d 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 5c |\em addi|tional \|
|00003770| 65 6d 20 6d 65 6d 6f 72 | 79 2c 20 6f 6e 65 0a 70 |em memor|y, one.p|
|00003780| 61 67 65 20 6f 66 20 74 | 68 65 20 73 77 61 70 2d |age of t|he swap-|
|00003790| 73 70 61 63 65 20 69 73 | 20 75 73 65 64 20 66 6f |space is| used fo|
|000037a0| 72 20 74 68 65 20 67 6f | 6f 64 2d 70 61 67 65 20 |r the go|od-page |
|000037b0| 62 69 74 6d 61 70 20 61 | 6e 64 20 74 68 65 0a 73 |bitmap a|nd the.s|
|000037c0| 77 61 70 73 70 61 63 65 | 20 73 69 67 6e 61 74 75 |wapspace| signatu|
|000037d0| 72 65 2e 5c 5c 20 49 6e | 20 66 61 63 74 20 4c 69 |re.\\ In| fact Li|
|000037e0| 6e 75 78 20 64 6f 65 73 | 20 6f 6e 6c 79 20 70 61 |nux does| only pa|
|000037f0| 67 69 6e 67 2c 20 6e 6f | 20 73 77 61 70 69 6e 67 |ging, no| swaping|
|00003800| 20 69 6e 0a 74 68 65 20 | 6d 65 61 6e 69 6e 67 20 | in.the |meaning |
|00003810| 60 60 77 72 69 74 65 20 | 6f 75 74 20 6f 6e 65 20 |``write |out one |
|00003820| 77 68 6f 6c 65 20 70 72 | 6f 63 65 73 73 20 74 6f |whole pr|ocess to|
|00003830| 20 64 69 73 6b 27 27 2e | 5c 5c 20 54 68 65 20 72 | disk''.|\\ The r|
|00003840| 65 61 73 6f 6e 20 69 74 | 27 73 0a 63 61 6c 6c 65 |eason it|'s.calle|
|00003850| 64 20 73 77 61 70 70 69 | 6e 67 20 69 73 20 74 68 |d swappi|ng is th|
|00003860| 61 74 20 4c 69 6e 75 78 | 20 75 73 65 64 20 70 61 |at Linux| used pa|
|00003870| 67 69 6e 67 20 66 6f 72 | 20 6d 65 6d 6f 72 79 20 |ging for| memory |
|00003880| 6d 61 6e 61 67 65 6d 65 | 6e 74 20 6f 6e 20 61 0a |manageme|nt on a.|
|00003890| 6c 6f 77 20 6c 65 76 65 | 6c 20 73 69 6e 63 65 20 |low leve|l since |
|000038a0| 74 68 65 20 76 65 72 79 | 20 62 65 67 69 6e 6e 69 |the very| beginni|
|000038b0| 6e 67 2c 20 62 75 74 20 | 64 69 64 6e 27 74 20 70 |ng, but |didn't p|
|000038c0| 61 67 65 20 74 6f 20 64 | 69 73 6b 20 61 74 20 61 |age to d|isk at a|
|000038d0| 6c 6c 0a 75 6e 74 69 6c | 20 30 2e 31 32 2e 0a 0a |ll.until| 0.12...|
|000038e0| 5c 62 65 67 69 6e 7b 71 | 75 65 73 74 69 6f 6e 7d |\begin{q|uestion}|
|000038f0| 20 49 73 20 64 65 6d 61 | 6e 64 20 70 61 67 69 6e | Is dema|nd pagin|
|00003900| 67 20 64 69 66 66 65 72 | 65 6e 74 20 66 72 6f 6d |g differ|ent from|
|00003910| 20 70 61 67 69 6e 67 20 | 61 6e 64 0a 48 6f 77 3f | paging |and.How?|
|00003920| 5c 65 6e 64 7b 71 75 65 | 73 74 69 6f 6e 7d 0a 5c |\end{que|stion}.\|
|00003930| 61 6e 73 77 65 72 20 28 | 4c 69 6e 75 73 29 5c 5c |answer (|Linus)\\|
|00003940| 20 44 65 6d 61 6e 64 2d | 70 61 67 69 6e 67 20 69 | Demand-|paging i|
|00003950| 73 20 72 65 61 6c 6c 79 | 20 60 60 64 65 6d 61 6e |s really| ``deman|
|00003960| 64 20 6c 6f 61 64 69 6e | 67 20 6f 66 0a 65 78 65 |d loadin|g of.exe|
|00003970| 63 75 74 61 62 6c 65 73 | 27 27 20 61 6e 64 20 69 |cutables|'' and i|
|00003980| 73 20 74 6f 74 61 6c 6c | 79 20 69 6e 64 65 70 65 |s totall|y indepe|
|00003990| 6e 64 65 6e 74 20 6f 66 | 20 74 68 65 20 70 61 67 |ndent of| the pag|
|000039a0| 65 2d 73 77 61 70 70 69 | 6e 67 0a 61 6c 67 6f 72 |e-swappi|ng.algor|
|000039b0| 69 74 68 6d 73 2c 20 61 | 6c 74 68 6f 75 67 68 20 |ithms, a|lthough |
|000039c0| 74 68 65 79 20 68 61 76 | 65 20 73 69 6d 69 6c 61 |they hav|e simila|
|000039d0| 72 69 74 69 65 73 2e 20 | 57 68 65 6e 20 4c 69 6e |rities. |When Lin|
|000039e0| 75 78 20 73 74 61 72 74 | 73 20 75 70 20 61 0a 70 |ux start|s up a.p|
|000039f0| 72 6f 63 65 73 73 2c 20 | 6e 6f 20 61 63 74 75 61 |rocess, |no actua|
|00003a00| 6c 20 63 6f 64 65 20 73 | 70 61 63 65 20 69 73 20 |l code s|pace is |
|00003a10| 6c 6f 61 64 65 64 3a 20 | 49 20 6c 65 74 20 74 68 |loaded: |I let th|
|00003a20| 65 20 70 61 67 65 20 65 | 78 63 65 70 74 69 6f 6e |e page e|xception|
|00003a30| 73 0a 6c 6f 61 64 20 69 | 6e 20 74 68 65 20 65 78 |s.load i|n the ex|
|00003a40| 65 63 75 74 61 62 6c 65 | 20 61 73 20 6e 65 65 64 |ecutable| as need|
|00003a50| 65 64 2e 20 54 68 75 73 | 20 4c 69 6e 75 78 20 64 |ed. Thus| Linux d|
|00003a60| 65 6d 61 6e 64 2d 6c 6f | 61 64 73 20 74 68 65 20 |emand-lo|ads the |
|00003a70| 63 6f 64 65 20 61 6e 64 | 0a 69 6e 69 74 69 61 6c |code and|.initial|
|00003a80| 69 7a 65 73 20 64 61 74 | 61 20 69 74 20 6e 65 65 |izes dat|a it nee|
|00003a90| 64 73 2e 20 44 65 6d 61 | 6e 64 2d 6c 6f 61 64 69 |ds. Dema|nd-loadi|
|00003aa0| 6e 67 20 68 61 73 20 76 | 65 72 79 20 67 6f 6f 64 |ng has v|ery good|
|00003ab0| 20 70 6f 69 6e 74 73 3a | 0a 5c 62 65 67 69 6e 7b | points:|.\begin{|
|00003ac0| 65 6e 75 6d 65 72 61 74 | 65 7d 0a 5c 69 74 65 6d |enumerat|e}.\item|
|00003ad0| 20 69 74 20 73 69 6d 70 | 6c 69 66 69 65 73 20 74 | it simp|lifies t|
|00003ae0| 68 65 20 65 78 65 63 20 | 73 79 73 74 65 6d 20 63 |he exec |system c|
|00003af0| 61 6c 6c 3b 0a 5c 69 74 | 65 6d 20 69 74 20 6d 65 |all;.\it|em it me|
|00003b00| 61 6e 73 20 70 61 67 65 | 20 73 68 61 72 69 6e 67 |ans page| sharing|
|00003b10| 20 62 65 74 77 65 65 6e | 20 74 68 61 74 20 68 61 | between| that ha|
|00003b20| 76 65 20 65 78 63 75 74 | 65 64 20 74 68 65 20 73 |ve excut|ed the s|
|00003b30| 61 6d 65 20 66 69 6c 65 | 20 69 73 0a 65 61 73 79 |ame file| is.easy|
|00003b40| 20 74 6f 20 69 6d 70 6c | 65 6d 65 6e 74 3b 0a 5c | to impl|ement;.\|
|00003b50| 69 74 65 6d 5c 6c 61 62 | 65 6c 7b 6d 65 6d 64 6f |item\lab|el{memdo|
|00003b60| 77 6e 7d 20 69 74 20 63 | 75 74 73 20 64 6f 77 6e |wn} it c|uts down|
|00003b70| 20 6f 6e 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6f | on the |amount o|
|00003b80| 66 20 6d 65 6d 6f 72 79 | 20 72 65 71 75 69 72 65 |f memory| require|
|00003b90| 64 2e 0a 57 68 65 6e 20 | 4c 69 6e 75 78 20 72 75 |d..When |Linux ru|
|00003ba0| 6e 73 20 6f 75 74 20 6f | 66 20 72 65 61 6c 20 6d |ns out o|f real m|
|00003bb0| 65 6d 6f 72 79 2c 20 69 | 74 20 73 74 61 72 74 73 |emory, i|t starts|
|00003bc0| 20 74 6f 20 6c 6f 6f 6b | 20 66 6f 72 20 70 61 67 | to look| for pag|
|00003bd0| 65 73 20 69 74 20 63 61 | 6e 0a 73 77 61 70 20 6f |es it ca|n.swap o|
|00003be0| 75 74 2c 20 62 75 74 20 | 69 66 20 69 74 20 6e 6f |ut, but |if it no|
|00003bf0| 74 69 63 65 73 20 74 68 | 61 74 20 74 68 65 20 70 |tices th|at the p|
|00003c00| 61 67 65 20 69 73 20 63 | 6c 65 61 6e 2c 20 69 74 |age is c|lean, it|
|00003c10| 20 6a 75 73 74 20 66 6f | 72 67 65 74 73 0a 61 62 | just fo|rgets.ab|
|00003c20| 6f 75 74 20 69 74 2c 20 | 61 6e 64 20 64 65 6d 61 |out it, |and dema|
|00003c30| 6e 64 2d 6c 6f 61 64 73 | 20 69 74 20 77 68 65 6e |nd-loads| it when|
|00003c40| 20 69 74 27 73 20 6e 65 | 65 64 65 64 20 61 67 61 | it's ne|eded aga|
|00003c50| 69 6e 2e 20 54 68 74 61 | 20 6d 65 61 6e 73 20 74 |in. Thta| means t|
|00003c60| 68 61 74 0a 73 77 61 70 | 2d 66 69 6c 65 20 69 73 |hat.swap|-file is|
|00003c70| 6e 27 74 20 6e 65 65 64 | 65 64 20 61 73 20 6d 75 |n't need|ed as mu|
|00003c80| 63 68 2c 20 65 73 70 65 | 63 69 61 6c 6c 79 20 77 |ch, espe|cially w|
|00003c90| 68 65 6e 20 72 75 6e 6e | 69 6e 67 20 62 69 67 20 |hen runn|ing big |
|00003ca0| 62 69 6e 61 72 69 65 73 | 0a 73 75 63 68 20 61 73 |binaries|.such as|
|00003cb0| 20 67 63 63 2c 20 77 68 | 65 72 65 20 74 68 65 20 | gcc, wh|ere the |
|00003cc0| 63 6f 64 65 2d 70 61 67 | 65 73 20 63 61 6e 20 62 |code-pag|es can b|
|00003cd0| 65 20 64 65 6d 61 6e 64 | 2d 6c 6f 61 64 65 64 20 |e demand|-loaded |
|00003ce0| 61 73 20 79 6f 75 20 77 | 69 73 68 2e 0a 5c 65 6e |as you w|ish..\en|
|00003cf0| 64 7b 65 6e 75 6d 65 72 | 61 74 65 7d 0a 50 6f 69 |d{enumer|ate}.Poi|
|00003d00| 6e 74 7e 5c 72 65 66 7b | 6d 65 6d 64 6f 77 6e 7d |nt~\ref{|memdown}|
|00003d10| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 65 76 65 6e | means t|hat even|
|00003d20| 20 77 69 74 68 6f 75 74 | 20 61 6e 79 20 73 77 61 | without| any swa|
|00003d30| 70 20 73 70 61 63 65 2c | 20 79 6f 75 20 63 61 6e |p space,| you can|
|00003d40| 0a 75 73 75 61 6c 6c 79 | 20 72 75 6e 20 73 6c 69 |.usually| run sli|
|00003d50| 67 68 74 6c 79 20 6c 61 | 72 67 65 72 20 70 72 6f |ghtly la|rger pro|
|00003d60| 67 72 61 6d 73 20 74 68 | 61 74 20 79 6f 75 72 20 |grams th|at your |
|00003d70| 6d 65 6d 6f 72 79 20 73 | 65 74 75 70 20 77 6f 75 |memory s|etup wou|
|00003d80| 6c 64 0a 61 63 74 75 61 | 6c 6c 79 20 70 65 72 6d |ld.actua|lly perm|
|00003d90| 69 74 2e 20 49 27 76 65 | 20 6e 6f 74 69 63 65 64 |it. I've| noticed|
|00003da0| 20 74 68 69 73 20 77 68 | 69 6c 65 20 72 75 6e 6e | this wh|ile runn|
|00003db0| 69 6e 67 20 7b 5c 74 74 | 20 58 7d 20 61 6e 64 20 |ing {\tt| X} and |
|00003dc0| 64 6f 69 6e 67 20 61 0a | 6b 65 72 6e 65 6c 20 63 |doing a.|kernel c|
|00003dd0| 6f 6d 70 69 6c 61 74 69 | 6f 6e 20 2b 20 73 6f 6d |ompilati|on + som|
|00003de0| 65 74 68 69 6e 67 20 65 | 6c 73 65 20 77 68 65 6e |ething e|lse when|
|00003df0| 20 49 27 76 65 20 66 6f | 72 67 6f 74 74 65 6e 20 | I've fo|rgotten |
|00003e00| 74 6f 20 74 75 72 6e 20 | 6f 6e 0a 73 77 61 70 70 |to turn |on.swapp|
|00003e10| 69 6e 67 3a 20 66 72 65 | 65 20 72 65 70 6f 72 74 |ing: fre|e report|
|00003e20| 73 20 30 20 70 61 67 65 | 20 61 76 61 69 6c 61 62 |s 0 page| availab|
|00003e30| 6c 65 20 62 75 74 20 74 | 68 69 6e 67 73 20 73 74 |le but t|hings st|
|00003e40| 69 6c 6c 20 77 6f 72 6b | 2c 0a 61 6c 74 68 6f 75 |ill work|,.althou|
|00003e50| 67 68 20 70 65 72 66 6f | 72 6d 61 6e 63 65 20 69 |gh perfo|rmance i|
|00003e60| 73 20 73 6c 69 67 68 74 | 6c 79 20 64 6f 77 6e 2e |s slight|ly down.|
|00003e70| 2e 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 65 73 74 |....\beg|in{quest|
|00003e80| 69 6f 6e 7d 20 57 68 61 | 74 27 73 20 61 62 6f 75 |ion} Wha|t's abou|
|00003e90| 74 20 54 65 58 3f 5c 65 | 6e 64 7b 71 75 65 73 74 |t TeX?\e|nd{quest|
|00003ea0| 69 6f 6e 7d 0a 5c 61 6e | 73 77 65 72 20 54 68 65 |ion}.\an|swer The|
|00003eb0| 20 70 72 69 6d 61 72 79 | 20 73 69 74 65 20 66 6f | primary| site fo|
|00003ec0| 72 20 4c 69 6e 75 78 20 | 54 65 58 20 69 73 20 31 |r Linux |TeX is 1|
|00003ed0| 32 39 2e 37 38 2e 36 36 | 2e 31 2c 20 74 68 69 73 |29.78.66|.1, this|
|00003ee0| 20 69 73 0a 50 2e 7e 57 | 69 6c 6c 69 61 6d 73 27 | is.P.~W|illiams'|
|00003ef0| 73 20 73 69 74 65 20 69 | 6e 20 41 75 73 74 72 61 |s site i|n Austra|
|00003f00| 6c 69 61 2e 20 54 68 65 | 20 73 74 75 66 66 20 61 |lia. The| stuff a|
|00003f10| 74 20 7b 5c 74 74 20 74 | 73 78 2d 31 31 7d 20 77 |t {\tt t|sx-11} w|
|00003f20| 61 73 20 70 6f 73 74 65 | 64 20 62 79 0a 54 2e 7e |as poste|d by.T.~|
|00003f30| 44 75 6e 62 61 72 20 77 | 68 6f 20 64 6f 65 73 20 |Dunbar w|ho does |
|00003f40| 73 75 70 70 6f 72 74 2f | 6d 61 69 6e 74 61 69 6e |support/|maintain|
|00003f50| 20 74 68 65 20 64 76 69 | 6c 6a 20 73 74 75 66 66 | the dvi|lj stuff|
|00003f60| 2e 0a 0a 5c 62 65 67 69 | 6e 7b 71 75 65 73 74 69 |...\begi|n{questi|
|00003f70| 6f 6e 7d 20 57 68 61 74 | 27 73 20 61 62 6f 75 74 |on} What|'s about|
|00003f80| 20 4d 47 52 3f 5c 65 6e | 64 7b 71 75 65 73 74 69 | MGR?\en|d{questi|
|00003f90| 6f 6e 7d 0a 5c 61 6e 73 | 77 65 72 20 28 47 65 6e |on}.\ans|wer (Gen|
|00003fa0| 65 72 61 6c 20 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |eral Inf|ormation|
|00003fb0| 20 67 72 61 62 62 65 64 | 20 66 72 6f 6d 20 76 61 | grabbed| from va|
|00003fc0| 72 69 6f 75 73 20 73 6f | 75 72 63 65 73 29 5c 5c |rious so|urces)\\|
|00003fd0| 20 54 68 65 72 65 20 69 | 73 0a 61 20 4d 47 52 20 | There i|s.a MGR |
|00003fe0| 63 68 61 6e 6e 65 6c 20 | 61 76 61 69 6c 61 62 6c |channel |availabl|
|00003ff0| 65 2c 20 63 6f 6e 74 61 | 63 74 20 74 68 65 20 72 |e, conta|ct the r|
|00004000| 65 71 75 65 73 74 20 61 | 64 72 65 73 73 20 77 69 |equest a|dress wi|
|00004010| 74 68 20 7b 5c 74 74 20 | 68 65 6c 70 7d 20 69 6e |th {\tt |help} in|
|00004020| 0a 74 68 65 20 62 6f 64 | 79 3a 20 7b 5c 74 74 20 |.the bod|y: {\tt |
|00004030| 6c 69 6e 75 78 2d 61 63 | 74 69 76 69 73 74 73 2d |linux-ac|tivists-|
|00004040| 72 65 71 75 65 73 74 40 | 6e 69 6b 73 75 6c 61 2e |request@|niksula.|
|00004050| 68 75 74 2e 66 69 7d 20 | 54 68 65 20 73 74 75 66 |hut.fi} |The stuf|
|00004060| 66 20 63 61 6e 20 62 65 | 0a 66 6f 75 6e 64 20 61 |f can be|.found a|
|00004070| 74 20 62 61 6e 6a 6f 20 | 69 6e 20 70 75 62 2f 4c |t banjo |in pub/L|
|00004080| 69 6e 75 78 2f 4d 47 52 | 20 49 6e 20 62 72 69 65 |inux/MGR| In brie|
|00004090| 66 3a 5c 5c 0a 4d 47 52 | 20 70 72 6f 76 69 64 65 |f:\\.MGR| provide|
|000040a0| 73 3a 0a 5c 62 65 67 69 | 6e 7b 69 74 65 6d 69 7a |s:.\begi|n{itemiz|
|000040b0| 65 7d 0a 5c 69 74 65 6d | 20 6d 75 6c 74 69 70 6c |e}.\item| multipl|
|000040c0| 65 20 6f 76 65 72 6c 61 | 70 70 69 6e 67 20 77 69 |e overla|pping wi|
|000040d0| 6e 64 6f 77 73 0a 5c 69 | 74 65 6d 20 6d 75 6c 74 |ndows.\i|tem mult|
|000040e0| 69 70 6c 65 20 66 6f 6e | 74 73 0a 5c 69 74 65 6d |iple fon|ts.\item|
|000040f0| 20 74 65 78 74 20 61 6e | 64 20 67 72 61 70 68 69 | text an|d graphi|
|00004100| 63 73 20 69 6e 20 65 61 | 63 68 20 77 69 6e 64 6f |cs in ea|ch windo|
|00004110| 77 73 0a 5c 69 74 65 6d | 20 61 20 73 69 6d 70 6c |ws.\item| a simpl|
|00004120| 65 20 70 6f 70 75 70 20 | 6d 65 6e 75 20 70 61 63 |e popup |menu pac|
|00004130| 6b 61 67 65 0a 5c 69 74 | 65 6d 20 61 20 63 6c 69 |kage.\it|em a cli|
|00004140| 65 6e 74 2f 73 65 72 76 | 65 72 20 6d 6f 64 65 6c |ent/serv|er model|
|00004150| 20 60 61 20 6c 61 27 20 | 58 0a 5c 69 74 65 6d 20 | `a la' |X.\item |
|00004160| 69 6e 64 65 70 65 6e 64 | 61 6e 63 65 20 66 72 6f |independ|ance fro|
|00004170| 6d 20 61 6e 79 20 70 65 | 63 75 6c 69 61 72 20 6e |m any pe|culiar n|
|00004180| 65 74 77 6f 72 6b 69 6e | 67 20 74 65 63 68 6e 6f |etworkin|g techno|
|00004190| 6c 6f 67 79 0a 5c 65 6e | 64 7b 69 74 65 6d 69 7a |logy.\en|d{itemiz|
|000041a0| 65 7d 0a 4d 47 52 20 63 | 6f 6e 73 69 73 74 20 6f |e}.MGR c|onsist o|
|000041b0| 66 20 61 20 73 65 72 76 | 65 72 20 70 72 6f 63 65 |f a serv|er proce|
|000041c0| 73 73 20 61 6e 64 20 73 | 6f 6d 65 20 63 6c 69 65 |ss and s|ome clie|
|000041d0| 6e 74 73 2e 20 45 61 63 | 68 20 63 6c 69 65 6e 74 |nts. Eac|h client|
|000041e0| 20 68 61 73 20 68 69 73 | 0a 6f 77 6e 20 77 69 6e | has his|.own win|
|000041f0| 64 6f 77 2c 20 61 6e 64 | 20 63 61 6e 20 63 72 65 |dow, and| can cre|
|00004200| 61 74 65 20 73 75 62 77 | 69 6e 64 6f 77 73 2e 20 |ate subw|indows. |
|00004210| 43 6c 69 65 6e 74 73 20 | 63 6f 6d 6d 75 6e 69 63 |Clients |communic|
|00004220| 61 74 65 20 77 69 74 68 | 20 74 68 65 0a 73 65 72 |ate with| the.ser|
|00004230| 76 65 72 20 76 69 61 20 | 61 20 62 69 64 69 72 65 |ver via |a bidire|
|00004240| 63 74 69 6f 6e 6e 61 6c | 20 63 68 61 6e 6e 65 6c |ctionnal| channel|
|00004250| 2e 20 41 20 43 20 6c 69 | 62 72 61 72 79 20 69 73 |. A C li|brary is|
|00004260| 20 70 72 6f 76 69 64 65 | 64 2e 5c 5c 20 57 68 65 | provide|d.\\ Whe|
|00004270| 6e 20 61 0a 6e 65 77 20 | 77 69 6e 64 6f 77 20 73 |n a.new |window s|
|00004280| 74 61 72 74 73 2c 20 69 | 74 20 69 73 20 61 73 20 |tarts, i|t is as |
|00004290| 61 20 74 65 72 6d 69 6e | 61 6c 20 65 6d 75 6c 61 |a termin|al emula|
|000042a0| 74 6f 72 20 72 75 6e 6e | 69 6e 67 20 74 68 65 20 |tor runn|ing the |
|000042b0| 73 68 65 6c 6c 3b 20 66 | 6f 72 0a 6d 6f 72 65 20 |shell; f|or.more |
|000042c0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 79 6f 75 20 |informat|ion you |
|000042d0| 63 61 6e 20 67 72 61 62 | 20 74 68 65 20 7b 5c 73 |can grab| the {\s|
|000042e0| 66 20 6d 67 72 2d 6d 61 | 6e 2e 6f 75 74 7d 20 66 |f mgr-ma|n.out} f|
|000042f0| 72 6f 6d 20 7b 5c 74 74 | 0a 62 65 6c 6c 63 6f 72 |rom {\tt|.bellcor|
|00004300| 65 2e 63 6f 6d 7d 0a 0a | 5c 62 65 67 69 6e 7b 71 |e.com}..|\begin{q|
|00004310| 75 65 73 74 69 6f 6e 7d | 20 49 20 68 61 76 65 20 |uestion}| I have |
|00004320| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 20 63 6f 6d |successf|ully com|
|00004330| 70 69 6c 65 64 20 4d 47 | 52 2c 20 62 75 74 20 77 |piled MG|R, but w|
|00004340| 68 65 6e 20 49 20 74 72 | 79 20 74 6f 0a 72 75 6e |hen I tr|y to.run|
|00004350| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 49 20 67 | the pro|gram I g|
|00004360| 65 74 20 22 63 61 6e 27 | 74 20 66 69 6e 64 20 6d |et "can'|t find m|
|00004370| 6f 75 73 65 22 20 6f 72 | 20 22 61 6c 72 65 61 64 |ouse" or| "alread|
|00004380| 79 20 69 6e 20 75 73 65 | 22 2c 20 61 6e 79 0a 63 |y in use|", any.c|
|00004390| 6c 75 65 3f 5c 65 6e 64 | 7b 71 75 65 73 74 69 6f |lue?\end|{questio|
|000043a0| 6e 7d 0a 5c 61 6e 73 77 | 65 72 20 74 72 79 20 74 |n}.\answ|er try t|
|000043b0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 5c 5c 20 7b |he follo|wing\\ {|
|000043c0| 5c 74 74 20 6d 67 72 7e | 2d 6d 7e 2f 64 65 76 2f |\tt mgr~|-m~/dev/|
|000043d0| 74 74 79 73 31 7d 5c 5c | 20 69 66 20 74 68 65 20 |ttys1}\\| if the |
|000043e0| 6d 6f 75 73 65 20 69 73 | 0a 6f 6e 20 74 68 65 20 |mouse is|.on the |
|000043f0| 73 65 72 69 61 6c 20 31 | 2e 20 41 6e 6f 74 68 65 |serial 1|. Anothe|
|00004400| 72 20 70 6f 73 73 69 62 | 69 6c 69 74 79 20 69 73 |r possib|ility is|
|00004410| 20 74 6f 20 6c 69 6e 6b | 20 7b 5c 73 66 20 2f 64 | to link| {\sf /d|
|00004420| 65 76 2f 6d 6f 75 73 65 | 7d 20 77 69 74 68 0a 7b |ev/mouse|} with.{|
|00004430| 5c 73 66 20 2f 64 65 76 | 2f 74 74 79 73 31 7d 20 |\sf /dev|/ttys1} |
|00004440| 28 61 73 73 75 6d 69 6e | 67 20 79 6f 75 72 20 6d |(assumin|g your m|
|00004450| 6f 75 73 65 20 69 73 20 | 6f 6e 20 73 65 72 69 61 |ouse is |on seria|
|00004460| 6c 20 31 29 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |l 1)..\b|egin{que|
|00004470| 73 74 69 6f 6e 7d 20 41 | 6e 79 20 74 69 70 73 20 |stion} A|ny tips |
|00004480| 66 6f 72 20 4d 47 52 3f | 5c 65 6e 64 7b 71 75 65 |for MGR?|\end{que|
|00004490| 73 74 69 6f 6e 7d 0a 5c | 61 6e 73 77 65 72 20 57 |stion}.\|answer W|
|000044a0| 65 6c 6c 2c 20 49 20 68 | 61 76 65 20 74 72 69 65 |ell, I h|ave trie|
|000044b0| 64 20 69 74 20 6f 6e 20 | 6d 79 20 33 38 36 53 78 |d it on |my 386Sx|
|000044c0| 20 45 67 61 2f 56 67 61 | 3b 20 74 68 65 20 73 63 | Ega/Vga|; the sc|
|000044d0| 72 65 65 6e 20 69 73 20 | 4f 6b 0a 62 75 74 20 74 |reen is |Ok.but t|
|000044e0| 68 65 20 4c 6f 67 69 74 | 65 63 68 20 6d 6f 75 73 |he Logit|ech mous|
|000044f0| 65 20 49 20 68 61 76 65 | 20 69 73 20 6e 6f 74 20 |e I have| is not |
|00004500| 77 65 6c 6c 20 72 65 63 | 6f 67 6e 69 7a 65 64 2e |well rec|ognized.|
|00004510| 5c 5c 0a 42 54 57 20 63 | 68 65 63 6b 20 74 68 65 |\\.BTW c|heck the|
|00004520| 20 6d 61 6a 6f 72 2f 6d | 69 6e 6f 72 20 6e 75 6d | major/m|inor num|
|00004530| 62 65 72 20 66 6f 72 20 | 70 74 79 27 73 3b 20 74 |ber for |pty's; t|
|00004540| 68 65 79 20 73 68 6f 75 | 6c 64 20 62 65 20 63 68 |hey shou|ld be ch|
|00004550| 61 72 61 63 74 65 72 0a | 64 65 76 69 63 65 20 77 |aracter.|device w|
|00004560| 69 74 68 20 34 20 61 73 | 20 6d 61 6a 6f 72 20 61 |ith 4 as| major a|
|00004570| 6e 64 20 31 32 38 20 61 | 6e 64 20 62 69 67 67 65 |nd 128 a|nd bigge|
|00004580| 72 20 61 73 20 6d 69 6e | 6f 72 3a 0a 5c 62 65 67 |r as min|or:.\beg|
|00004590| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 70 74 79 |in{verba|tim}.pty|
|000045a0| 70 30 20 63 20 34 20 31 | 32 38 0a 70 74 79 70 31 |p0 c 4 1|28.ptyp1|
|000045b0| 20 63 20 34 20 31 32 39 | 0a 2e 2e 2e 0a 74 74 79 | c 4 129|.....tty|
|000045c0| 70 30 20 63 20 34 20 31 | 39 32 0a 74 74 79 70 31 |p0 c 4 1|92.ttyp1|
|000045d0| 20 63 20 34 20 31 39 33 | 0a 5c 65 6e 64 7b 76 65 | c 4 193|.\end{ve|
|000045e0| 72 62 61 74 69 6d 7d 0a | 0a 5c 62 65 67 69 6e 7b |rbatim}.|.\begin{|
|000045f0| 71 75 65 73 74 69 6f 6e | 7d 20 57 68 61 74 27 73 |question|} What's|
|00004600| 20 61 62 6f 75 74 20 58 | 31 31 3f 5c 65 6e 64 7b | about X|11?\end{|
|00004610| 71 75 65 73 74 69 6f 6e | 7d 0a 5c 61 6e 73 77 65 |question|}.\answe|
|00004620| 72 20 28 47 65 6e 65 72 | 61 6c 20 49 6e 66 6f 72 |r (Gener|al Infor|
|00004630| 6d 61 74 69 6f 6e 20 67 | 72 61 62 62 65 64 20 66 |mation g|rabbed f|
|00004640| 72 6f 6d 20 76 61 72 69 | 6f 75 73 20 73 6f 75 72 |rom vari|ous sour|
|00004650| 63 65 73 29 5c 5c 20 54 | 68 65 72 65 20 69 73 0a |ces)\\ T|here is.|
|00004660| 61 20 58 31 31 20 63 68 | 61 6e 6e 65 6c 20 61 76 |a X11 ch|annel av|
|00004670| 61 69 6c 61 62 6c 65 2c | 20 63 6f 6e 74 61 63 74 |ailable,| contact|
|00004680| 20 74 68 65 20 72 65 71 | 75 65 73 74 20 61 64 72 | the req|uest adr|
|00004690| 65 73 73 20 77 69 74 68 | 20 68 65 6c 70 20 69 6e |ess with| help in|
|000046a0| 20 74 68 65 0a 62 6f 64 | 79 3a 20 7b 5c 74 74 20 | the.bod|y: {\tt |
|000046b0| 6c 69 6e 75 78 2d 61 63 | 74 69 76 69 73 74 73 2d |linux-ac|tivists-|
|000046c0| 72 65 71 75 65 73 74 40 | 6e 69 6b 73 75 6c 61 2e |request@|niksula.|
|000046d0| 68 75 74 2e 66 69 7d 5c | 5c 20 54 6f 20 75 73 65 |hut.fi}\|\ To use|
|000046e0| 20 74 68 69 73 20 42 45 | 54 41 20 58 31 31 0a 79 | this BE|TA X11.y|
|000046f0| 6f 75 20 6e 65 65 64 20 | 74 68 65 20 76 30 2e 39 |ou need |the v0.9|
|00004700| 36 20 72 65 6c 65 61 73 | 65 20 6f 66 20 4c 69 6e |6 releas|e of Lin|
|00004710| 75 78 3b 20 79 6f 75 20 | 61 6c 73 6f 20 6e 65 65 |ux; you |also nee|
|00004720| 64 20 74 6f 20 64 6f 77 | 6e 6c 6f 61 64 20 73 74 |d to dow|nload st|
|00004730| 75 66 66 0a 61 74 20 62 | 61 6e 6a 6f 2e 63 6f 6e |uff.at b|anjo.con|
|00004740| 63 65 72 74 2e 6e 65 74 | 20 69 6e 20 7b 5c 73 66 |cert.net| in {\sf|
|00004750| 20 70 75 62 2f 4c 69 6e | 75 78 2f 58 31 31 2f 78 | pub/Lin|ux/X11/x|
|00004760| 31 31 76 31 2e 30 7d 0a | 0a 5c 62 65 67 69 6e 7b |11v1.0}.|.\begin{|
|00004770| 71 75 65 73 74 69 6f 6e | 7d 20 57 68 61 74 20 69 |question|} What i|
|00004780| 73 20 74 68 65 20 68 61 | 72 64 77 61 72 65 20 72 |s the ha|rdware r|
|00004790| 65 71 75 69 72 65 6d 65 | 6e 74 20 66 6f 72 20 58 |equireme|nt for X|
|000047a0| 31 31 20 73 6f 0a 66 61 | 72 3f 5c 65 6e 64 7b 71 |11 so.fa|r?\end{q|
|000047b0| 75 65 73 74 69 6f 6e 7d | 0a 5c 61 6e 73 77 65 72 |uestion}|.\answer|
|000047c0| 20 28 4c 69 6e 75 73 20 | 30 35 2e 30 35 2e 39 32 | (Linus |05.05.92|
|000047d0| 29 5c 5c 20 58 20 77 6f | 6e 27 74 20 77 6f 72 6b |)\\ X wo|n't work|
|000047e0| 20 77 69 74 68 20 43 47 | 41 20 63 61 72 64 20 2d | with CG|A card -|
|000047f0| 20 69 74 20 77 6f 6e 27 | 74 20 65 76 65 6e 0a 77 | it won'|t even.w|
|00004800| 6f 72 6b 20 77 69 74 68 | 20 6e 6f 72 6d 61 6c 20 |ork with| normal |
|00004810| 56 47 41 20 63 61 72 64 | 73 3a 20 79 6f 75 20 6e |VGA card|s: you n|
|00004820| 65 65 64 20 53 56 47 41 | 20 28 61 6e 64 20 65 76 |eed SVGA| (and ev|
|00004830| 65 6e 20 6e 6f 74 20 61 | 6e 79 20 77 69 6c 6c 20 |en not a|ny will |
|00004840| 64 6f 29 2e 0a 54 68 65 | 20 73 75 70 70 6f 72 74 |do)..The| support|
|00004850| 65 64 20 6f 6e 65 20 61 | 72 65 20 65 74 5b 33 7c |ed one a|re et[3||
|00004860| 34 5d 30 30 30 20 61 6e | 64 20 73 6f 6d 65 20 6f |4]000 an|d some o|
|00004870| 74 68 65 72 20 28 70 76 | 67 61 3f 20 61 6e 64 20 |ther (pv|ga? and |
|00004880| 74 76 67 61 3f 29 2e 0a | 52 65 73 6f 6c 75 74 69 |tvga?)..|Resoluti|
|00004890| 6f 6e 20 72 61 6e 67 65 | 20 66 72 6f 6d 20 36 34 |on range| from 64|
|000048a0| 30 78 34 38 30 20 74 6f | 20 31 31 39 32 78 39 30 |0x480 to| 1192x90|
|000048b0| 30 20 28 63 6c 6f 73 65 | 20 74 6f 20 74 68 61 74 |0 (close| to that|
|000048c0| 29 2c 20 61 6c 6c 20 61 | 74 20 32 35 36 0a 63 6f |), all a|t 256.co|
|000048d0| 6c 6f 75 72 73 2c 20 64 | 65 70 65 6e 64 69 6e 67 |lours, d|epending|
|000048e0| 20 6f 6e 20 77 68 61 74 | 20 6b 69 6e 64 20 6f 66 | on what| kind of|
|000048f0| 20 63 61 72 64 2f 6d 6f | 6e 69 74 6f 72 20 79 6f | card/mo|nitor yo|
|00004900| 75 20 68 61 76 65 2e 5c | 5c 20 41 73 20 74 6f 0a |u have.\|\ As to.|
|00004910| 6d 65 6d 6f 72 79 3a 20 | 49 27 6d 20 75 73 69 6e |memory: |I'm usin|
|00004920| 67 20 38 4d 42 20 72 61 | 6d 2c 20 61 6e 64 20 6e |g 8MB ra|m, and n|
|00004930| 6f 20 73 77 61 70 70 69 | 6e 67 20 77 69 74 68 20 |o swappi|ng with |
|00004940| 61 20 63 6f 75 70 6c 65 | 20 6f 66 20 7b 5c 74 74 |a couple| of {\tt|
|00004950| 0a 78 74 65 72 6d 73 7d | 2c 20 7b 5c 74 74 20 78 |.xterms}|, {\tt x|
|00004960| 63 6c 6f 63 6b 7d 20 28 | 6e 6f 74 68 69 6e 67 20 |clock} (|nothing |
|00004970| 6d 61 6a 6f 72 29 2e 20 | 49 66 20 49 20 77 61 6e |major). |If I wan|
|00004980| 74 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 74 68 65 |t to com|pile the|
|00004990| 20 6b 65 72 6e 65 6c 0a | 69 6e 20 61 6e 20 7b 5c | kernel.|in an {\|
|000049a0| 74 74 20 78 74 65 72 6d | 7d 20 49 20 6e 65 65 64 |tt xterm|} I need|
|000049b0| 20 74 6f 20 73 74 61 72 | 74 20 75 70 20 73 77 61 | to star|t up swa|
|000049c0| 70 70 69 6e 67 2e 5c 5c | 20 53 70 65 65 64 20 64 |pping.\\| Speed d|
|000049d0| 65 70 65 6e 64 73 20 68 | 65 61 76 69 6c 79 0a 6f |epends h|eavily.o|
|000049e0| 6e 20 74 68 65 20 53 56 | 47 41 20 63 61 72 64 2c |n the SV|GA card,|
|000049f0| 20 48 61 72 64 64 69 73 | 6b 20 73 70 61 63 65 20 | Harddis|k space |
|00004a00| 69 73 20 74 6f 74 61 6c | 6c 79 20 75 70 20 74 6f |is total|ly up to|
|00004a10| 20 79 6f 75 20 62 75 74 | 20 31 30 4d 42 20 69 73 | you but| 10MB is|
|00004a20| 20 61 0a 6d 69 6e 69 6d | 75 6d 2e 0a 0a 25 2d 2d | a.minim|um...%--|
|00004a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a70| 2d 2d 2d 0a 0a 5c 73 65 | 63 74 69 6f 6e 7b 47 43 |---..\se|ction{GC|
|00004a80| 43 20 6d 69 73 63 20 69 | 6e 66 6f 72 6d 61 74 69 |C misc i|nformati|
|00004a90| 6f 6e 7d 5c 6c 61 62 65 | 6c 7b 67 63 63 69 6e 66 |on}\labe|l{gccinf|
|00004aa0| 6f 7d 0a 0a 49 20 74 68 | 69 6e 6b 20 74 68 69 73 |o}..I th|ink this|
|00004ab0| 20 73 65 63 74 69 6f 6e | 20 69 73 20 6e 65 65 64 | section| is need|
|00004ac0| 65 64 2c 20 62 65 63 61 | 75 73 65 0a 5c 62 65 67 |ed, beca|use.\beg|
|00004ad0| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0a 5c 69 74 65 |in{itemi|ze}.\ite|
|00004ae0| 6d 20 67 63 63 20 69 73 | 20 74 68 65 20 63 6f 6d |m gcc is| the com|
|00004af0| 70 69 6c 65 72 20 75 6e | 64 65 72 20 4c 69 6e 75 |piler un|der Linu|
|00004b00| 78 0a 5c 69 74 65 6d 20 | 74 68 65 20 67 63 63 2d |x.\item |the gcc-|
|00004b10| 32 2e 78 20 69 73 20 69 | 6e 20 74 65 73 74 2c 20 |2.x is i|n test, |
|00004b20| 61 6e 64 20 6d 61 6e 79 | 20 69 6e 66 6f 72 6d 61 |and many| informa|
|00004b30| 74 69 6f 6e 20 63 68 61 | 6e 67 65 20 63 6f 6e 73 |tion cha|nge cons|
|00004b40| 74 61 6e 74 6c 79 2e 0a | 5c 65 6e 64 7b 69 74 65 |tantly..|\end{ite|
|00004b50| 6d 69 7a 65 7d 0a 49 6e | 20 77 68 61 74 20 66 6f |mize}.In| what fo|
|00004b60| 6c 6c 6f 77 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |llows in|formatio|
|00004b70| 6e 20 61 62 6f 75 74 20 | 67 63 63 2d 31 2e 33 37 |n about |gcc-1.37|
|00004b80| 20 61 6e 64 20 67 63 63 | 2d 31 2e 34 30 20 61 72 | and gcc|-1.40 ar|
|00004b90| 65 20 73 74 61 62 6c 65 | 2c 0a 61 6e 64 20 77 61 |e stable|,.and wa|
|00004ba0| 73 20 73 70 72 65 61 64 | 20 61 6c 6f 6e 67 20 70 |s spread| along p|
|00004bb0| 72 65 76 69 6f 75 73 20 | 72 65 6c 65 61 73 65 73 |revious |releases|
|00004bc0| 20 6f 66 20 74 68 69 73 | 20 46 41 51 2e 20 54 6f | of this| FAQ. To|
|00004bd0| 20 63 6f 6e 63 6c 75 64 | 65 20 74 68 69 73 0a 73 | conclud|e this.s|
|00004be0| 68 6f 72 74 20 69 6e 74 | 72 6f 64 75 63 74 69 6f |hort int|roductio|
|00004bf0| 6e 20 28 69 6e 20 66 61 | 63 74 20 74 68 65 20 63 |n (in fa|ct the c|
|00004c00| 6f 6e 63 6c 75 73 69 6f | 6e 20 77 69 6c 6c 20 62 |onclusio|n will b|
|00004c10| 65 20 6c 6f 6e 67 65 72 | 20 74 68 61 6e 20 74 68 |e longer| than th|
|00004c20| 65 0a 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 3a |e.introd|uction :|
|00004c30| 29 2c 20 74 68 65 20 6d | 6f 73 74 20 72 65 63 65 |), the m|ost rece|
|00004c40| 6e 74 20 72 65 6c 65 61 | 73 65 20 6f 66 20 67 63 |nt relea|se of gc|
|00004c50| 63 2d 32 2e 32 2e 32 20 | 63 61 6e 20 62 65 20 66 |c-2.2.2 |can be f|
|00004c60| 6f 75 6e 64 20 61 74 0a | 74 68 65 20 62 61 6e 6a |ound at.|the banj|
|00004c70| 6f 2e 6e 65 74 2e 63 6f | 6e 63 65 72 74 20 69 6e |o.net.co|ncert in|
|00004c80| 20 7b 5c 73 66 20 2f 70 | 75 62 2f 4c 69 6e 75 78 | {\sf /p|ub/Linux|
|00004c90| 2f 47 43 43 7d 2c 20 61 | 6e 64 20 61 6c 73 6f 20 |/GCC}, a|nd also |
|00004ca0| 61 74 0a 7b 5c 74 74 20 | 66 67 62 31 2e 66 67 62 |at.{\tt |fgb1.fgb|
|00004cb0| 2e 6d 77 2e 74 75 2d 6d | 75 65 6e 63 68 65 6e 2e |.mw.tu-m|uenchen.|
|00004cc0| 64 65 7d 20 75 6e 64 65 | 72 20 7b 5c 73 66 20 2f |de} unde|r {\sf /|
|00004cd0| 70 75 62 2f 6c 69 6e 75 | 78 2f 47 43 43 7d 2c 20 |pub/linu|x/GCC}, |
|00004ce0| 61 6e 64 20 6f 6e 65 20 | 6f 66 20 74 68 65 0a 60 |and one |of the.`|
|00004cf0| 60 73 70 65 63 69 61 6c | 69 73 74 73 27 27 20 69 |`special|ists'' i|
|00004d00| 73 20 48 6f 6e 67 6a 69 | 75 20 4c 75 20 28 7b 5c |s Hongji|u Lu ({\|
|00004d10| 74 74 20 68 6c 75 40 65 | 65 63 73 2e 77 73 75 2e |tt hlu@e|ecs.wsu.|
|00004d20| 65 64 75 7d 29 2e 20 54 | 68 65 72 65 20 69 73 20 |edu}). T|here is |
|00004d30| 61 20 73 70 65 63 69 61 | 6c 0a 63 68 61 6e 6e 65 |a specia|l.channe|
|00004d40| 6c 20 66 6f 72 20 47 43 | 43 2c 20 66 65 65 6c 20 |l for GC|C, feel |
|00004d50| 66 72 65 65 20 74 6f 20 | 63 6f 6e 74 61 63 74 20 |free to |contact |
|00004d60| 74 68 65 20 6c 69 6e 75 | 78 2d 61 63 74 69 76 69 |the linu|x-activi|
|00004d70| 73 74 73 20 6c 69 73 74 | 2e 20 54 68 65 0a 49 6e |sts list|. The.In|
|00004d80| 66 6f 72 6d 61 74 69 6f | 6e 20 70 72 6f 76 69 64 |formatio|n provid|
|00004d90| 65 64 20 69 6e 20 74 68 | 69 73 20 73 65 63 74 69 |ed in th|is secti|
|00004da0| 6f 6e 20 77 68 69 63 68 | 20 65 6e 76 6f 6c 76 65 |on which| envolve|
|00004db0| 64 20 47 43 43 32 2e 78 | 78 20 61 72 65 0a 65 78 |d GCC2.x|x are.ex|
|00004dc0| 74 72 61 63 74 65 64 20 | 66 72 6f 6d 20 74 68 65 |tracted |from the|
|00004dd0| 20 47 43 43 20 46 41 51 | 2c 20 77 72 69 74 74 65 | GCC FAQ|, writte|
|00004de0| 6e 20 62 79 20 48 6f 6e | 67 6a 69 75 2c 20 70 72 |n by Hon|gjiu, pr|
|00004df0| 6f 76 69 64 65 64 20 77 | 69 74 68 0a 67 63 63 2d |ovided w|ith.gcc-|
|00004e00| 32 2e 32 2e 32 20 5c 65 | 6d 20 52 45 41 44 20 49 |2.2.2 \e|m READ I|
|00004e10| 54 2e 5c 65 6d 5c 5c 20 | 46 69 6e 61 6c 6c 79 20 |T.\em\\ |Finally |
|00004e20| 77 68 65 6e 65 76 65 72 | 20 79 6f 75 20 72 65 70 |whenever| you rep|
|00004e30| 6f 72 74 20 61 20 62 75 | 67 20 70 6c 65 61 73 65 |ort a bu|g please|
|00004e40| 0a 67 69 76 65 20 74 68 | 65 20 76 65 72 73 69 6f |.give th|e versio|
|00004e50| 6e 20 6f 66 20 67 63 63 | 2c 20 74 68 65 20 76 65 |n of gcc|, the ve|
|00004e60| 72 73 69 6f 6e 20 6f 66 | 20 79 6f 75 72 20 6b 65 |rsion of| your ke|
|00004e70| 72 6e 65 6c 2c 20 6f 74 | 68 65 72 77 69 73 65 20 |rnel, ot|herwise |
|00004e80| 4e 4f 20 4f 4e 45 0a 63 | 61 6e 20 68 65 6c 70 20 |NO ONE.c|an help |
|00004e90| 79 6f 75 2e 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 65 |you...\b|egin{que|
|00004ea0| 73 74 69 6f 6e 7d 20 49 | 20 64 6f 6e 27 74 20 6b |stion} I| don't k|
|00004eb0| 6e 6f 77 20 68 6f 77 20 | 74 6f 20 69 6e 73 74 61 |now how |to insta|
|00004ec0| 6c 6c 20 67 63 63 20 73 | 74 75 66 66 2c 20 69 73 |ll gcc s|tuff, is|
|00004ed0| 20 74 68 65 72 65 20 61 | 0a 73 70 65 63 69 61 6c | there a|.special|
|00004ee0| 20 70 6c 61 63 65 3f 5c | 65 6e 64 7b 71 75 65 73 | place?\|end{ques|
|00004ef0| 74 69 6f 6e 7d 0a 5c 61 | 6e 73 77 65 72 20 49 74 |tion}.\a|nswer It|
|00004f00| 20 64 65 70 65 6e 64 73 | 20 6f 6e 20 74 68 65 20 | depends| on the |
|00004f10| 72 65 6c 65 61 73 65 20 | 6f 66 20 67 63 63 20 79 |release |of gcc y|
|00004f20| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 2e 20 52 69 |ou are u|sing. Ri|
|00004f30| 67 68 74 20 6e 6f 77 0a | 74 68 65 72 65 20 61 72 |ght now.|there ar|
|00004f40| 65 20 61 74 20 6c 65 61 | 73 74 20 33 20 70 61 63 |e at lea|st 3 pac|
|00004f50| 6b 61 67 65 73 20 3a 20 | 74 68 65 20 6f 72 69 67 |kages : |the orig|
|00004f60| 69 6e 61 6c 20 6f 6e 65 | 20 7b 5c 73 66 20 67 63 |inal one| {\sf gc|
|00004f70| 63 62 69 6e 2e 74 61 72 | 2e 5a 7d 0a 63 6f 6e 74 |cbin.tar|.Z}.cont|
|00004f80| 61 69 6e 73 20 61 6c 6c | 20 74 68 65 20 67 63 63 |ains all| the gcc|
|00004f90| 2d 31 2e 33 37 20 62 69 | 6e 61 72 69 65 73 20 64 |-1.37 bi|naries d|
|00004fa0| 69 73 74 72 69 62 3b 20 | 74 68 65 20 67 63 63 2d |istrib; |the gcc-|
|00004fb0| 31 2e 34 30 20 68 61 73 | 20 62 65 65 6e 0a 70 6f |1.40 has| been.po|
|00004fc0| 72 74 65 64 20 69 6e 20 | 64 65 63 2e 20 39 31 2c |rted in |dec. 91,|
|00004fd0| 20 69 74 27 73 20 69 6e | 20 7b 5c 73 66 20 6e 65 | it's in| {\sf ne|
|00004fe0| 77 67 63 63 2e 74 61 72 | 2e 5a 7d 20 61 6e 64 20 |wgcc.tar|.Z} and |
|00004ff0| 74 68 65 20 56 41 52 49 | 4f 55 53 20 76 65 72 73 |the VARI|OUS vers|
|00005000| 69 6f 6e 0a 6f 66 20 7b | 5c 73 66 20 67 63 63 2d |ion.of {|\sf gcc-|
|00005010| 32 2e 78 78 2e 7d 20 43 | 68 6f 6f 73 65 20 79 6f |2.xx.} C|hoose yo|
|00005020| 75 72 73 20 28 49 20 68 | 6f 70 65 20 74 68 61 74 |urs (I h|ope that|
|00005030| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 77 | the fol|lowing w|
|00005040| 69 6c 6c 20 68 65 6c 70 | 0a 79 6f 75 29 3b 20 66 |ill help|.you); f|
|00005050| 6f 72 20 6d 79 20 6f 77 | 6e 20 49 20 75 73 65 20 |or my ow|n I use |
|00005060| 7b 5c 73 66 20 67 63 63 | 2d 32 2e 32 2e 32 7d 20 |{\sf gcc|-2.2.2} |
|00005070| 61 76 61 69 6c 61 62 6c | 65 20 73 69 6e 63 65 20 |availabl|e since |
|00005080| 65 6e 64 20 6f 66 20 4a | 75 6e 65 2c 0a 77 68 69 |end of J|une,.whi|
|00005090| 63 68 20 69 73 20 6e 6f | 74 20 74 68 61 74 20 62 |ch is no|t that b|
|000050a0| 61 64 2c 20 61 6e 79 77 | 61 79 20 69 74 27 73 20 |ad, anyw|ay it's |
|000050b0| 62 65 74 74 65 72 20 74 | 68 61 6e 20 74 68 65 20 |better t|han the |
|000050c0| 70 72 65 76 69 6f 75 73 | 20 32 2e 78 78 2e 0a 5c |previous| 2.xx..\|
|000050d0| 62 65 67 69 6e 7b 65 6e | 75 6d 65 72 61 74 65 7d |begin{en|umerate}|
|000050e0| 0a 5c 69 74 65 6d 20 7b | 5c 73 66 20 67 63 63 62 |.\item {|\sf gccb|
|000050f0| 69 6e 2e 74 61 72 2e 5a | 7d 20 67 6f 65 73 20 69 |in.tar.Z|} goes i|
|00005100| 6e 20 7b 5c 73 66 20 2f | 75 73 72 2f 6c 6f 63 61 |n {\sf /|usr/loca|
|00005110| 6c 2f 6c 69 62 7d 20 65 | 78 63 65 70 74 20 7b 5c |l/lib} e|xcept {\|
|00005120| 73 66 20 67 63 63 7d 0a | 77 68 69 63 68 20 67 6f |sf gcc}.|which go|
|00005130| 65 73 20 69 6e 20 7b 5c | 73 66 20 2f 75 73 72 2f |es in {\|sf /usr/|
|00005140| 6c 6f 63 61 6c 2f 62 69 | 6e 7d 2e 20 4d 6f 72 65 |local/bi|n}. More|
|00005150| 6f 76 65 72 20 65 61 63 | 68 20 7b 5c 73 66 20 67 |over eac|h {\sf g|
|00005160| 63 63 2d 78 78 78 7d 20 | 6f 66 0a 7b 5c 73 66 20 |cc-xxx} |of.{\sf |
|00005170| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 6c 69 62 7d 20 |/usr/loc|al/lib} |
|00005180| 73 68 6f 75 6c 64 20 62 | 65 20 6c 69 6e 6b 65 64 |should b|e linked|
|00005190| 20 77 69 74 68 20 7b 5c | 73 66 20 67 78 78 78 7d | with {\|sf gxxx}|
|000051a0| 20 61 6e 64 20 7b 5c 73 | 66 20 78 78 78 7d 20 69 | and {\s|f xxx} i|
|000051b0| 6e 0a 7b 5c 73 66 20 2f | 75 73 72 2f 6c 6f 63 61 |n.{\sf /|usr/loca|
|000051c0| 6c 2f 62 69 6e 7d 2e 0a | 5c 69 74 65 6d 20 7b 5c |l/bin}..|\item {\|
|000051d0| 73 66 20 6e 65 77 67 63 | 63 2e 74 61 72 2e 5a 7d |sf newgc|c.tar.Z}|
|000051e0| 20 67 6f 65 73 20 69 6e | 20 7b 5c 73 66 20 2f 75 | goes in| {\sf /u|
|000051f0| 73 72 7d 2c 20 74 68 65 | 6e 20 7b 5c 74 74 20 75 |sr}, the|n {\tt u|
|00005200| 6e 63 6f 6d 70 72 65 73 | 73 7d 20 61 6e 64 0a 75 |ncompres|s} and.u|
|00005210| 6e 7b 5c 74 74 20 74 61 | 72 7d 20 69 74 2e 20 46 |n{\tt ta|r} it. F|
|00005220| 69 6c 65 73 20 61 72 65 | 20 64 69 72 65 63 74 65 |iles are| directe|
|00005230| 64 20 74 6f 20 7b 5c 73 | 66 20 2f 75 73 72 2f 6c |d to {\s|f /usr/l|
|00005240| 69 62 7d 2c 20 7b 5c 73 | 66 0a 2f 75 73 72 2f 69 |ib}, {\s|f./usr/i|
|00005250| 6e 63 6c 75 64 65 7d 20 | 61 6e 64 20 7b 5c 73 66 |nclude} |and {\sf|
|00005260| 20 2f 75 73 72 2f 62 69 | 6e 7d 2e 20 59 6f 75 20 | /usr/bi|n}. You |
|00005270| 73 68 6f 75 6c 64 20 6c | 69 6e 6b 20 7b 5c 73 66 |should l|ink {\sf|
|00005280| 20 61 72 7d 2c 20 7b 5c | 73 66 20 61 73 7d 2c 0a | ar}, {\|sf as},.|
|00005290| 7b 5c 73 66 20 6c 64 7d | 20 77 69 74 68 20 7b 5c |{\sf ld}| with {\|
|000052a0| 73 66 20 67 61 72 7d 2c | 20 7b 5c 73 66 20 67 61 |sf gar},| {\sf ga|
|000052b0| 73 7d 20 61 6e 64 20 7b | 5c 73 66 20 67 6c 64 7d |s} and {|\sf gld}|
|000052c0| 2c 20 74 68 69 73 20 77 | 69 6c 6c 20 70 72 65 76 |, this w|ill prev|
|000052d0| 65 6e 74 0a 73 6f 6d 65 | 20 65 72 72 6f 72 20 77 |ent.some| error w|
|000052e0| 68 69 6c 65 20 75 73 69 | 6e 67 20 7b 5c 74 74 20 |hile usi|ng {\tt |
|000052f0| 6d 61 6b 65 7d 20 28 65 | 73 70 65 63 69 61 6c 6c |make} (e|speciall|
|00005300| 79 20 77 68 69 6c 73 74 | 20 72 65 2d 63 6f 6d 70 |y whilst| re-comp|
|00005310| 69 6c 69 6e 67 0a 4c 69 | 6e 75 78 20 6b 65 72 6e |iling.Li|nux kern|
|00005320| 65 6c 29 2e 20 4d 6f 72 | 65 6f 76 65 72 2c 20 74 |el). Mor|eover, t|
|00005330| 68 65 20 69 6e 63 6c 75 | 64 65 20 66 69 6c 65 73 |he inclu|de files|
|00005340| 20 61 72 65 20 6e 6f 74 | 20 63 6f 6d 70 6c 65 74 | are not| complet|
|00005350| 65 2c 20 79 6f 75 20 6e | 65 65 64 0a 66 69 72 73 |e, you n|eed.firs|
|00005360| 74 20 74 6f 20 69 6e 73 | 74 61 6c 6c 20 7b 5c 73 |t to ins|tall {\s|
|00005370| 66 20 69 6e 63 6c 75 64 | 65 2d 30 2e 31 32 2e 74 |f includ|e-0.12.t|
|00005380| 61 72 2e 5a 7d 20 28 61 | 74 20 7b 5c 74 74 20 74 |ar.Z} (a|t {\tt t|
|00005390| 73 78 2d 31 31 7d 2c 20 | 7b 5c 73 66 0a 2f 70 75 |sx-11}, |{\sf./pu|
|000053a0| 62 2f 6c 69 6e 75 78 2f | 73 6f 75 72 63 65 73 2f |b/linux/|sources/|
|000053b0| 73 79 73 74 65 6d 7d 29 | 2e 20 46 69 6e 61 6c 6c |system})|. Finall|
|000053c0| 79 20 7b 5c 73 66 20 63 | 70 70 7d 20 61 6e 64 20 |y {\sf c|pp} and |
|000053d0| 7b 5c 73 66 20 63 63 31 | 7d 20 61 72 65 20 69 6e |{\sf cc1|} are in|
|000053e0| 0a 7b 5c 73 66 20 2f 75 | 73 72 2f 6c 69 62 7d 2c |.{\sf /u|sr/lib},|
|000053f0| 20 61 6e 64 20 74 68 65 | 79 20 73 68 6f 75 6c 64 | and the|y should|
|00005400| 20 62 65 20 69 6e 20 7b | 5c 73 66 20 2f 75 73 72 | be in {|\sf /usr|
|00005410| 2f 62 69 6e 7d 2c 20 61 | 20 73 6f 6c 75 74 69 6f |/bin}, a| solutio|
|00005420| 6e 20 69 73 20 74 6f 0a | 6c 69 6e 6b 20 74 68 65 |n is to.|link the|
|00005430| 6d 20 61 74 20 74 68 65 | 20 72 69 67 68 74 20 70 |m at the| right p|
|00005440| 6c 61 63 65 2e 5c 5c 20 | 42 54 57 20 7b 5c 73 66 |lace.\\ |BTW {\sf|
|00005450| 20 69 6e 63 6c 75 64 65 | 2d 30 2e 31 32 2e 74 61 | include|-0.12.ta|
|00005460| 72 2e 5a 7d 20 63 6f 6e | 74 61 69 6e 73 0a 7b 5c |r.Z} con|tains.{\|
|00005470| 73 66 20 69 6e 63 6c 75 | 64 65 2f 6c 69 6e 75 78 |sf inclu|de/linux|
|00005480| 2f 2a 2e 68 7d 20 77 68 | 69 63 68 20 61 72 65 20 |/*.h} wh|ich are |
|00005490| 6e 6f 74 20 75 70 74 6f | 64 61 74 65 2c 20 79 6f |not upto|date, yo|
|000054a0| 75 20 73 68 6f 75 6c 64 | 20 6c 69 6e 6b 20 74 68 |u should| link th|
|000054b0| 65 0a 6f 6e 65 20 70 72 | 6f 76 69 64 65 64 20 69 |e.one pr|ovided i|
|000054c0| 6e 20 4c 69 6e 75 78 2d | 30 2e 39 35 61 20 73 6f |n Linux-|0.95a so|
|000054d0| 75 72 63 65 73 20 62 79 | 20 74 68 65 20 66 6f 6c |urces by| the fol|
|000054e0| 6c 6f 77 69 6e 67 3a 5c | 5c 20 7b 5c 74 74 0a 63 |lowing:\|\ {\tt.c|
|000054f0| 64 7e 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 7d 5c |d~/usr/i|nclude}\|
|00005500| 5c 20 7b 5c 74 74 20 6d | 76 7e 6c 69 6e 75 78 7e |\ {\tt m|v~linux~|
|00005510| 6c 69 6e 75 78 5c 5f 6f | 72 69 67 7d 5c 5c 20 7b |linux\_o|rig}\\ {|
|00005520| 5c 74 74 0a 6c 6e 7e 2d | 73 7e 2f 75 73 72 2f 73 |\tt.ln~-|s~/usr/s|
|00005530| 72 63 2f 6c 69 6e 75 78 | 2f 69 6e 63 6c 75 64 65 |rc/linux|/include|
|00005540| 2f 6c 69 6e 75 78 20 6c | 69 6e 75 78 7d 0a 5c 69 |/linux l|inux}.\i|
|00005550| 74 65 6d 20 7b 5c 73 66 | 20 67 63 63 2d 32 2e 78 |tem {\sf| gcc-2.x|
|00005560| 78 7d 20 69 73 20 73 70 | 6c 69 74 74 65 64 20 69 |x} is sp|litted i|
|00005570| 6e 20 33 20 6d 61 69 6e | 20 66 69 6c 65 73 20 7b |n 3 main| files {|
|00005580| 5c 73 66 20 32 2e 78 78 | 64 62 2e 74 61 72 2e 5a |\sf 2.xx|db.tar.Z|
|00005590| 7d 2c 0a 7b 5c 73 66 20 | 32 2e 78 78 6c 69 62 2e |},.{\sf |2.xxlib.|
|000055a0| 74 61 72 2e 5a 7d 20 61 | 6e 64 20 7b 5c 73 66 20 |tar.Z} a|nd {\sf |
|000055b0| 32 2e 78 78 6d 69 73 63 | 2e 74 61 72 2e 5a 7d 2c |2.xxmisc|.tar.Z},|
|000055c0| 20 73 6f 6d 65 20 75 74 | 69 6c 69 74 69 65 73 20 | some ut|ilities |
|000055d0| 28 7b 5c 73 66 0a 62 69 | 6e 75 74 69 6c 73 2e 74 |({\sf.bi|nutils.t|
|000055e0| 61 72 2e 5a 7d 29 20 61 | 6e 64 20 73 68 61 72 65 |ar.Z}) a|nd share|
|000055f0| 64 20 6c 69 62 72 61 72 | 69 65 73 20 61 72 65 20 |d librar|ies are |
|00005600| 61 6c 73 6f 20 70 72 6f | 76 69 64 65 64 2e 20 54 |also pro|vided. T|
|00005610| 6f 20 69 6e 73 74 61 6c | 6c 0a 74 68 65 6d 20 64 |o instal|l.them d|
|00005620| 6f 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 3a |o the fo|llowing:|
|00005630| 5c 5c 20 46 69 72 73 74 | 20 6f 66 20 61 6c 6c 2c |\\ First| of all,|
|00005640| 20 62 61 63 6b 75 70 20 | 74 68 65 20 6f 6c 64 20 | backup |the old |
|00005650| 63 6f 6d 70 69 6c 65 72 | 2e 20 59 4f 55 0a 4d 55 |compiler|. YOU.MU|
|00005660| 53 54 20 42 45 20 53 55 | 52 45 20 54 48 45 52 45 |ST BE SU|RE THERE|
|00005670| 20 49 53 20 4e 4f 20 4f | 54 48 45 52 20 43 20 43 | IS NO O|THER C C|
|00005680| 4f 4d 50 49 4c 45 52 20 | 49 4e 53 54 41 4c 4c 45 |OMPILER |INSTALLE|
|00005690| 44 20 4f 4e 20 59 4f 55 | 52 20 53 59 53 54 45 4d |D ON YOU|R SYSTEM|
|000056a0| 2e 0a 57 68 61 74 20 69 | 73 20 6d 65 61 6e 74 20 |..What i|s meant |
|000056b0| 62 79 20 63 6f 6d 70 69 | 6c 65 72 20 69 73 20 61 |by compi|ler is a|
|000056c0| 6c 6c 20 74 68 65 20 73 | 74 75 66 66 3a 20 62 69 |ll the s|tuff: bi|
|000056d0| 6e 61 72 69 65 73 2c 20 | 68 65 61 64 65 72 20 66 |naries, |header f|
|000056e0| 69 6c 65 73 2c 0a 6c 69 | 62 72 61 72 69 65 73 20 |iles,.li|braries |
|000056f0| 61 6e 64 20 7b 5c 73 66 | 20 63 72 74 30 2e 6f 7d |and {\sf| crt0.o}|
|00005700| 2e 20 49 20 61 73 73 75 | 6d 65 20 74 68 61 74 20 |. I assu|me that |
|00005710| 77 68 61 74 65 76 65 72 | 70 6c 61 63 65 20 63 6f |whatever|place co|
|00005720| 6e 74 61 69 6e 73 20 74 | 68 65 0a 32 2e 78 78 66 |ntains t|he.2.xxf|
|00005730| 69 6c 65 73 20 79 6f 75 | 20 68 61 76 65 20 64 6f |iles you| have do|
|00005740| 77 6e 6c 6f 61 64 65 64 | 2e 5c 5c 20 7b 5c 74 74 |wnloaded|.\\ {\tt|
|00005750| 20 63 64 7e 2f 75 73 72 | 7d 5c 5c 20 7b 5c 74 74 | cd~/usr|}\\ {\tt|
|00005760| 0a 74 61 72 7e 78 76 70 | 7a 66 7e 77 68 61 74 65 |.tar~xvp|zf~whate|
|00005770| 76 65 72 70 6c 61 63 65 | 2f 32 2e 78 78 6d 69 73 |verplace|/2.xxmis|
|00005780| 63 2e 74 61 72 2e 5a 7d | 5c 5c 20 72 65 61 64 20 |c.tar.Z}|\\ read |
|00005790| 74 68 65 20 7b 5c 73 66 | 20 46 41 51 7d 2c 20 61 |the {\sf| FAQ}, a|
|000057a0| 6e 64 20 7b 5c 73 66 0a | 52 45 41 44 4d 45 7d 20 |nd {\sf.|README} |
|000057b0| 69 6e 20 7b 5c 73 66 20 | 2f 75 73 72 2f 69 6e 73 |in {\sf |/usr/ins|
|000057c0| 74 61 6c 6c 2f 67 63 63 | 32 7d 2e 20 54 68 65 6e |tall/gcc|2}. Then|
|000057d0| 5c 5c 20 7b 5c 74 74 20 | 63 64 7e 2f 75 73 72 7d |\\ {\tt |cd~/usr}|
|000057e0| 5c 5c 20 7b 5c 74 74 0a | 74 61 72 7e 78 76 6f 66 |\\ {\tt.|tar~xvof|
|000057f0| 7a 7e 32 6c 69 62 2e 74 | 61 72 2e 5a 7d 0a 5c 65 |z~2lib.t|ar.Z}.\e|
|00005800| 6e 64 7b 65 6e 75 6d 65 | 72 61 74 65 7d 0a 0a 5c |nd{enume|rate}..\|
|00005810| 62 65 67 69 6e 7b 71 75 | 65 73 74 69 6f 6e 7d 20 |begin{qu|estion} |
|00005820| 57 68 61 74 20 61 72 65 | 20 74 68 65 20 63 6f 6e |What are| the con|
|00005830| 74 65 6e 74 73 20 6f 66 | 20 74 68 65 6d 3f 5c 65 |tents of| them?\e|
|00005840| 6e 64 7b 71 75 65 73 74 | 69 6f 6e 7d 0a 5c 61 6e |nd{quest|ion}.\an|
|00005850| 73 77 65 72 20 7b 5c 73 | 66 20 32 2e 78 78 64 62 |swer {\s|f 2.xxdb|
|00005860| 2e 74 61 72 2e 5a 7d 20 | 63 6f 6e 74 61 69 6e 73 |.tar.Z} |contains|
|00005870| 20 7b 5c 73 66 20 63 70 | 70 7d 2c 20 7b 5c 73 66 | {\sf cp|p}, {\sf|
|00005880| 20 6c 69 62 67 2e 61 7d | 20 61 6e 64 20 7b 5c 73 | libg.a}| and {\s|
|00005890| 66 0a 6c 69 62 63 5c 5f | 70 2e 61 2e 7d 2c 20 7b |f.libc\_|p.a.}, {|
|000058a0| 5c 73 66 20 32 2e 78 78 | 6c 69 62 2e 74 61 72 2e |\sf 2.xx|lib.tar.|
|000058b0| 5a 7d 20 63 6f 6e 74 61 | 69 6e 73 20 7b 5c 73 66 |Z} conta|ins {\sf|
|000058c0| 20 63 63 31 7d 20 61 6e | 64 20 7b 5c 73 66 20 63 | cc1} an|d {\sf c|
|000058d0| 63 31 70 6c 75 73 7d 2e | 0a 7b 5c 73 66 20 32 2e |c1plus}.|.{\sf 2.|
|000058e0| 78 78 6d 69 73 63 2e 74 | 61 72 2e 5a 7d 20 63 6f |xxmisc.t|ar.Z} co|
|000058f0| 6e 74 61 69 6e 73 20 67 | 63 63 20 7b 5c 73 66 20 |ntains g|cc {\sf |
|00005900| 32 2e 78 78 7d 20 64 72 | 69 76 65 72 73 2c 20 68 |2.xx} dr|ivers, h|
|00005910| 65 61 64 65 72 20 66 69 | 6c 65 73 2c 0a 6c 69 62 |eader fi|les,.lib|
|00005920| 72 61 72 69 65 73 2c 20 | 6d 61 6e 75 61 6c 20 70 |raries, |manual p|
|00005930| 61 67 65 73 20 61 6e 64 | 20 69 6e 73 74 61 6c 6c |ages and| install|
|00005940| 61 74 69 6f 6e 20 69 6e | 73 74 72 75 63 74 69 6f |ation in|structio|
|00005950| 6e 73 2e 5c 5c 20 41 6e | 6f 74 68 65 72 20 66 69 |ns.\\ An|other fi|
|00005960| 6c 65 2c 0a 7b 5c 73 66 | 20 58 58 58 58 69 6e 63 |le,.{\sf| XXXXinc|
|00005970| 2e 74 61 72 2e 5a 7d 2c | 20 77 68 65 72 65 20 7b |.tar.Z},| where {|
|00005980| 5c 73 66 20 58 58 58 58 | 7d 20 69 73 20 74 68 65 |\sf XXXX|} is the|
|00005990| 20 63 75 72 72 65 6e 74 | 20 76 65 72 73 69 6f 6e | current| version|
|000059a0| 20 6e 75 6d 62 65 72 20 | 6f 66 0a 4c 69 6e 75 78 | number |of.Linux|
|000059b0| 20 6b 65 72 6e 65 6c 2c | 20 68 61 73 20 61 6c 6c | kernel,| has all|
|000059c0| 20 74 68 65 20 68 65 61 | 64 65 72 20 66 69 6c 65 | the hea|der file|
|000059d0| 73 20 74 6f 20 72 65 70 | 6c 61 63 65 20 74 68 65 |s to rep|lace the|
|000059e0| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 0a 66 72 | header |files.fr|
|000059f0| 6f 6d 20 6b 65 72 6e 65 | 6c 2e 20 59 4f 55 20 4d |om kerne|l. YOU M|
|00005a00| 55 53 54 20 49 4e 53 54 | 41 4c 4c 20 49 54 2e 20 |UST INST|ALL IT. |
|00005a10| 50 6c 65 61 73 65 20 72 | 65 61 64 20 7b 5c 73 66 |Please r|ead {\sf|
|00005a20| 20 52 45 41 44 4d 45 7d | 20 66 6f 72 0a 64 65 74 | README}| for.det|
|00005a30| 61 69 6c 73 2e 0a 0a 5c | 62 65 67 69 6e 7b 71 75 |ails...\|begin{qu|
|00005a40| 65 73 74 69 6f 6e 7d 20 | 49 20 73 65 65 6d 20 74 |estion} |I seem t|
|00005a50| 6f 20 62 65 20 75 6e 61 | 62 6c 65 20 74 6f 20 63 |o be una|ble to c|
|00005a60| 6f 6d 70 69 6c 65 20 61 | 6e 79 74 68 69 6e 67 20 |ompile a|nything |
|00005a70| 77 69 74 68 20 67 63 63 | 2e 0a 57 68 79 3f 5c 65 |with gcc|..Why?\e|
|00005a80| 6e 64 7b 71 75 65 73 74 | 69 6f 6e 7d 0a 5c 61 6e |nd{quest|ion}.\an|
|00005a90| 73 77 65 72 20 49 66 20 | 79 6f 75 20 68 61 76 65 |swer If |you have|
|00005aa0| 20 6f 6e 6c 79 20 32 20 | 4d 62 20 52 41 4d 2c 20 | only 2 |Mb RAM, |
|00005ab0| 67 63 63 20 77 69 6c 6c | 20 64 69 65 20 73 69 6c |gcc will| die sil|
|00005ac0| 65 6e 74 6c 79 20 77 69 | 74 68 6f 75 74 0a 63 6f |ently wi|thout.co|
|00005ad0| 6d 70 69 6c 69 6e 67 20 | 61 6e 79 74 68 69 6e 67 |mpiling |anything|
|00005ae0| 2e 20 59 6f 75 20 6d 75 | 73 74 20 68 61 76 65 20 |. You mu|st have |
|00005af0| 61 74 20 6c 65 61 73 74 | 20 34 20 4d 62 20 74 6f |at least| 4 Mb to|
|00005b00| 20 64 6f 20 63 6f 6d 70 | 69 6c 61 74 69 6f 6e 73 | do comp|ilations|
|00005b10| 2e 5c 5c 0a 42 54 57 20 | 53 69 6e 63 65 20 73 77 |.\\.BTW |Since sw|
|00005b20| 61 70 70 69 6e 67 20 69 | 73 20 70 6f 73 73 69 62 |apping i|s possib|
|00005b30| 6c 65 2c 20 49 20 68 61 | 76 65 20 68 65 61 72 64 |le, I ha|ve heard|
|00005b40| 20 74 68 61 74 20 63 6f | 6d 70 69 6c 61 74 69 6f | that co|mpilatio|
|00005b50| 6e 20 77 6f 72 6b 73 0a | 77 69 74 68 20 6f 6e 6c |n works.|with onl|
|00005b60| 79 20 32 20 4d 62 20 61 | 6e 64 20 61 20 6c 6f 74 |y 2 Mb a|nd a lot|
|00005b70| 20 64 69 73 6b 20 74 72 | 61 66 66 69 63 20 3a 29 | disk tr|affic :)|
|00005b80| 20 49 73 6e 27 74 20 69 | 74 20 67 72 65 61 74 3f | Isn't i|t great?|
|00005b90| 0a 0a 5c 62 65 67 69 6e | 7b 71 75 65 73 74 69 6f |..\begin|{questio|
|00005ba0| 6e 7d 20 49 27 6d 20 75 | 73 69 6e 67 20 61 20 70 |n} I'm u|sing a p|
|00005bb0| 72 6f 67 72 61 6d 20 74 | 68 61 74 20 75 73 65 73 |rogram t|hat uses|
|00005bc0| 20 73 69 67 6e 61 6c 20 | 68 61 6e 64 6c 65 72 73 | signal |handlers|
|00005bd0| 20 77 68 69 63 68 0a 61 | 72 65 20 69 6e 73 74 61 | which.a|re insta|
|00005be0| 6c 6c 65 64 20 75 73 69 | 6e 67 20 73 69 67 61 63 |lled usi|ng sigac|
|00005bf0| 74 69 6f 6e 28 29 20 77 | 69 74 68 20 74 68 65 20 |tion() w|ith the |
|00005c00| 53 41 5c 5f 4e 4f 4d 41 | 53 4b 2c 20 61 6e 64 20 |SA\_NOMA|SK, and |
|00005c10| 74 68 65 79 20 67 65 74 | 20 61 0a 67 65 6e 65 72 |they get| a.gener|
|00005c20| 61 6c 20 70 72 6f 74 65 | 63 74 69 6f 6e 20 65 72 |al prote|ction er|
|00005c30| 72 6f 72 20 72 69 67 68 | 74 20 61 66 74 65 72 20 |ror righ|t after |
|00005c40| 74 68 65 20 73 69 67 6e | 61 6c 20 68 61 6e 64 6c |the sign|al handl|
|00005c50| 65 72 20 74 72 69 65 73 | 20 74 6f 0a 72 65 74 75 |er tries| to.retu|
|00005c60| 72 6e 2e 20 57 68 61 74 | 27 73 20 67 6f 69 6e 67 |rn. What|'s going|
|00005c70| 20 77 72 6f 6e 67 3f 5c | 65 6e 64 7b 71 75 65 73 | wrong?\|end{ques|
|00005c80| 74 69 6f 6e 7d 0a 5c 61 | 6e 73 77 65 72 20 59 6f |tion}.\a|nswer Yo|
|00005c90| 75 20 61 72 65 20 75 73 | 69 6e 67 20 61 20 7b 5c |u are us|ing a {\|
|00005ca0| 73 66 20 6c 69 62 63 2e | 61 7d 20 74 68 61 74 20 |sf libc.|a} that |
|00005cb0| 68 61 73 20 61 6e 20 6f | 75 74 2d 6f 66 2d 64 61 |has an o|ut-of-da|
|00005cc0| 74 65 20 7b 5c 73 66 0a | 73 69 67 6e 61 6c 2e 6f |te {\sf.|signal.o|
|00005cd0| 7d 20 61 6e 64 20 7b 5c | 73 66 20 73 69 67 5c 5f |} and {\|sf sig\_|
|00005ce0| 72 65 73 74 6f 72 65 2e | 6f 7d 20 66 69 6c 65 2c |restore.|o} file,|
|00005cf0| 20 61 6e 64 20 74 68 65 | 79 20 64 6f 6e 27 74 20 | and the|y don't |
|00005d00| 6b 6e 6f 77 20 68 6f 77 | 20 74 6f 0a 64 65 61 6c |know how| to.deal|
|00005d10| 20 77 69 74 68 20 53 41 | 5c 5f 4e 4f 4d 41 53 4b | with SA|\_NOMASK|
|00005d20| 2e 20 28 54 68 65 20 6f | 6e 65 20 69 6e 20 7b 5c |. (The o|ne in {\|
|00005d30| 73 66 20 67 63 63 62 69 | 6e 2e 74 61 72 2e 5a 7d |sf gccbi|n.tar.Z}|
|00005d40| 20 69 73 20 6f 75 74 2d | 6f 66 2d 64 61 74 65 29 | is out-|of-date)|
|00005d50| 2e 0a 47 65 74 20 74 68 | 65 20 6e 65 77 20 7b 5c |..Get th|e new {\|
|00005d60| 73 66 20 6c 69 62 63 2e | 61 7d 20 61 6e 64 20 70 |sf libc.|a} and p|
|00005d70| 75 74 20 69 74 20 69 6e | 20 7b 5c 73 66 20 2f 75 |ut it in| {\sf /u|
|00005d80| 73 72 2f 6c 69 62 7d 20 | 6f 72 20 7b 5c 73 66 0a |sr/lib} |or {\sf.|
|00005d90| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 6c 69 62 7d 2e |/usr/loc|al/lib}.|
|00005da0| 20 41 67 61 69 6e 20 63 | 68 65 63 6b 20 79 6f 75 | Again c|heck you|
|00005db0| 72 20 63 6f 6d 70 69 6c | 65 72 20 76 65 72 73 69 |r compil|er versi|
|00005dc0| 6f 6e 2e 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 65 73 |on...\be|gin{ques|
|00005dd0| 74 69 6f 6e 7d 20 67 63 | 63 20 63 6f 6d 70 6c 61 |tion} gc|c compla|
|00005de0| 69 6e 73 20 61 62 6f 75 | 74 20 6e 6f 74 20 66 69 |ins abou|t not fi|
|00005df0| 6e 64 69 6e 67 20 63 72 | 74 30 2e 6f 20 61 6e 64 |nding cr|t0.o and|
|00005e00| 20 74 68 65 20 73 79 73 | 74 65 6d 0a 69 6e 63 6c | the sys|tem.incl|
|00005e10| 75 64 65 20 66 69 6c 65 | 73 20 57 68 61 74 20 61 |ude file|s What a|
|00005e20| 6d 20 49 20 64 6f 69 6e | 67 20 77 72 6f 6e 67 3f |m I doin|g wrong?|
|00005e30| 5c 65 6e 64 7b 71 75 65 | 73 74 69 6f 6e 7d 0a 5c |\end{que|stion}.\|
|00005e40| 61 6e 73 77 65 72 20 54 | 68 65 20 69 6e 63 6c 75 |answer T|he inclu|
|00005e50| 64 65 20 66 69 6c 65 73 | 20 6e 6f 72 6d 61 6c 20 |de files| normal |
|00005e60| 70 6c 61 63 65 20 69 73 | 20 69 6e 20 7b 5c 73 66 |place is| in {\sf|
|00005e70| 20 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 7d 2e 20 | /usr/in|clude}. |
|00005e80| 7b 5c 73 66 0a 6c 69 62 | 2a 2e 61 7d 20 61 6e 64 |{\sf.lib|*.a} and|
|00005e90| 20 7b 5c 73 66 20 2a 2e | 6f 7d 20 73 68 6f 75 6c | {\sf *.|o} shoul|
|00005ea0| 64 20 62 65 20 69 6e 20 | 7b 5c 73 66 20 2f 75 73 |d be in |{\sf /us|
|00005eb0| 72 2f 6c 69 62 7d 20 6f | 72 20 7b 5c 73 66 0a 2f |r/lib} o|r {\sf./|
|00005ec0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 6c 69 62 7d 0a 0a |usr/loca|l/lib}..|
|00005ed0| 5c 62 65 67 69 6e 7b 71 | 75 65 73 74 69 6f 6e 7d |\begin{q|uestion}|
|00005ee0| 20 57 68 69 6c 65 20 63 | 6f 6d 70 69 6c 69 6e 67 | While c|ompiling|
|00005ef0| 20 73 6f 6d 65 20 47 4e | 55 20 70 61 63 6b 61 67 | some GN|U packag|
|00005f00| 65 73 20 67 63 63 28 31 | 2e 33 37 20 61 6e 64 20 |es gcc(1|.37 and |
|00005f10| 31 2e 34 30 29 0a 63 68 | 6f 6b 65 73 20 6f 6e 20 |1.40).ch|okes on |
|00005f20| 72 65 67 65 78 2e 63 20 | 77 69 74 68 20 61 6e 20 |regex.c |with an |
|00005f30| 69 6e 73 6e 20 63 6f 64 | 65 2c 20 77 68 61 74 20 |insn cod|e, what |
|00005f40| 63 61 6e 20 49 20 64 6f | 3f 5c 65 6e 64 7b 71 75 |can I do|?\end{qu|
|00005f50| 65 73 74 69 6f 6e 7d 0a | 5c 61 6e 73 77 65 72 20 |estion}.|\answer |
|00005f60| 54 68 65 72 65 20 69 73 | 20 61 20 6c 69 74 74 6c |There is| a littl|
|00005f70| 65 20 62 75 67 20 69 6e | 20 74 68 65 20 70 6f 72 |e bug in| the por|
|00005f80| 74 20 6f 66 20 67 63 63 | 2d 31 2e 33 37 2c 20 77 |t of gcc|-1.37, w|
|00005f90| 68 69 63 68 20 73 68 6f | 75 6c 64 20 62 65 0a 63 |hich sho|uld be.c|
|00005fa0| 6f 72 72 65 63 74 65 64 | 20 6f 6e 20 74 68 65 20 |orrected| on the |
|00005fb0| 70 6f 72 74 20 6f 66 20 | 76 32 2e 78 20 28 77 69 |port of |v2.x (wi|
|00005fc0| 74 68 20 67 2b 2b 29 2e | 20 52 69 67 68 74 20 6e |th g++).| Right n|
|00005fd0| 6f 77 20 74 68 72 6f 77 | 20 61 77 61 79 20 74 68 |ow throw| away th|
|00005fe0| 65 0a 7b 5c 74 74 20 2d | 4f 7d 20 66 6c 61 67 20 |e.{\tt -|O} flag |
|00005ff0| 28 74 6f 20 63 6f 6d 70 | 69 6c 65 20 72 65 67 65 |(to comp|ile rege|
|00006000| 78 29 20 61 6e 64 20 65 | 76 65 72 79 20 74 68 69 |x) and e|very thi|
|00006010| 6e 67 20 77 69 6c 6c 20 | 62 65 20 61 6c 72 69 67 |ng will |be alrig|
|00006020| 68 74 2e 0a 0a 5c 62 65 | 67 69 6e 7b 71 75 65 73 |ht...\be|gin{ques|
|00006030| 74 69 6f 6e 7d 20 49 20 | 74 72 69 65 64 20 74 6f |tion} I |tried to|
|00006040| 20 70 6f 72 74 20 61 20 | 5c 65 6d 20 6e 65 77 20 | port a |\em new |
|00006050| 5c 65 6d 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 67 |\em vers|ion of g|
|00006060| 6e 75 20 73 74 75 66 66 | 2e 0a 42 75 74 20 69 6e |nu stuff|..But in|
|00006070| 20 74 68 65 20 6c 69 6e | 6b 69 6e 67 20 70 68 61 | the lin|king pha|
|00006080| 73 65 2c 20 67 63 63 20 | 63 6f 6d 70 6c 61 69 6e |se, gcc |complain|
|00006090| 73 20 61 62 6f 75 74 20 | 74 68 65 20 6d 69 73 73 |s about |the miss|
|000060a0| 69 6e 67 20 6c 69 62 67 | 2e 61 2e 0a 5c 65 6e 64 |ing libg|.a..\end|
|000060b0| 7b 71 75 65 73 74 69 6f | 6e 7d 0a 5c 61 6e 73 77 |{questio|n}.\answ|
|000060c0| 65 72 20 59 65 73 20 74 | 68 69 73 20 69 73 20 77 |er Yes t|his is w|
|000060d0| 65 6c 6c 20 6b 6e 6f 77 | 6e 20 66 6f 72 20 63 6f |ell know|n for co|
|000060e0| 6d 70 69 6c 65 72 20 76 | 65 72 73 69 6f 6e 20 65 |mpiler v|ersion e|
|000060f0| 61 72 6c 69 65 72 20 74 | 68 61 6e 0a 32 2e 32 2e |arlier t|han.2.2.|
|00006100| 32 2c 20 74 68 72 6f 77 | 20 61 77 61 79 20 74 68 |2, throw| away th|
|00006110| 65 20 66 6c 61 67 20 7b | 5c 74 74 20 2d 67 7d 20 |e flag {|\tt -g} |
|00006120| 74 68 61 74 27 73 20 61 | 6c 6c 2c 20 61 6e 79 77 |that's a|ll, anyw|
|00006130| 61 79 20 7b 5c 73 66 20 | 6c 69 62 67 2e 61 7d 20 |ay {\sf |libg.a} |
|00006140| 69 73 0a 5c 65 6d 20 6f | 6e 6c 79 20 5c 65 6d 20 |is.\em o|nly \em |
|00006150| 66 6f 72 20 64 65 62 75 | 67 67 69 6e 67 20 70 75 |for debu|gging pu|
|00006160| 72 70 6f 73 65 2e 0a 0a | 5c 62 65 67 69 6e 7b 71 |rpose...|\begin{q|
|00006170| 75 65 73 74 69 6f 6e 7d | 20 48 6f 77 20 74 6f 20 |uestion}| How to |
|00006180| 63 6f 6d 70 69 6c 65 20 | 70 72 6f 67 72 61 6d 73 |compile |programs|
|00006190| 20 77 68 69 63 68 20 6d | 61 79 20 62 65 20 64 65 | which m|ay be de|
|000061a0| 62 75 67 67 65 64 20 77 | 69 74 68 0a 67 64 62 3f |bugged w|ith.gdb?|
|000061b0| 5c 65 6e 64 7b 71 75 65 | 73 74 69 6f 6e 7d 0a 5c |\end{que|stion}.\|
|000061c0| 61 6e 73 77 65 72 20 54 | 68 65 72 65 20 61 72 65 |answer T|here are|
|000061d0| 20 64 69 66 66 65 72 65 | 6e 74 20 77 61 79 73 20 | differe|nt ways |
|000061e0| 28 61 6e 64 20 68 61 6c | 66 29 20 74 6f 20 68 61 |(and hal|f) to ha|
|000061f0| 6e 64 6c 65 20 74 68 69 | 73 20 70 72 6f 62 6c 65 |ndle thi|s proble|
|00006200| 6d 2e 20 49 66 0a 79 6f | 75 20 68 61 76 65 20 74 |m. If.yo|u have t|
|00006210| 68 65 20 7b 5c 73 66 20 | 67 63 63 32 2e 32 2e 32 |he {\sf |gcc2.2.2|
|00006220| 7d 20 6f 72 20 6c 61 74 | 65 72 20 69 74 27 73 20 |} or lat|er it's |
|00006230| 73 69 6d 70 6c 65 2c 20 | 75 73 65 20 74 68 65 20 |simple, |use the |
|00006240| 7b 5c 74 74 20 2d 67 7d | 0a 66 6c 61 67 2e 20 4f |{\tt -g}|.flag. O|
|00006250| 74 68 65 72 77 69 73 65 | 20 74 68 65 72 65 20 61 |therwise| there a|
|00006260| 72 65 20 64 69 66 66 65 | 72 65 6e 74 20 70 6f 73 |re diffe|rent pos|
|00006270| 73 69 62 69 6c 69 74 69 | 65 73 3a 0a 5c 62 65 67 |sibiliti|es:.\beg|
|00006280| 69 6e 7b 65 6e 75 6d 65 | 72 61 74 65 7d 0a 5c 69 |in{enume|rate}.\i|
|00006290| 74 65 6d 20 41 73 20 74 | 68 65 72 65 20 69 73 20 |tem As t|here is |
|000062a0| 6e 6f 20 7b 5c 73 66 20 | 6c 69 62 67 2e 61 7d 2c |no {\sf |libg.a},|
|000062b0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 74 68 72 6f | you sho|uld thro|
|000062c0| 77 20 61 77 61 79 20 74 | 68 65 20 7b 5c 74 74 20 |w away t|he {\tt |
|000062d0| 2d 67 7d 0a 66 6c 61 67 | 20 69 6e 20 6c 69 6e 6b |-g}.flag| in link|
|000062e0| 20 70 68 61 73 65 2c 20 | 74 68 69 73 20 6d 65 61 | phase, |this mea|
|000062f0| 6e 73 20 74 68 61 74 20 | 74 68 65 20 63 6f 6d 70 |ns that |the comp|
|00006300| 69 6c 61 74 69 6f 6e 20 | 6d 75 73 74 20 62 65 20 |ilation |must be |
|00006310| 64 6f 6e 65 20 69 6e 0a | 74 77 6f 20 73 74 65 70 |done in.|two step|
|00006320| 73 20 65 78 61 6d 70 6c | 65 3a 20 69 6e 73 74 65 |s exampl|e: inste|
|00006330| 61 64 20 6f 66 20 7b 5c | 74 74 20 67 63 63 7e 2d |ad of {\|tt gcc~-|
|00006340| 67 7e 6d 6f 6e 70 72 6f | 67 2e 63 7e 2d 6f 7e 6d |g~monpro|g.c~-o~m|
|00006350| 6f 6e 70 72 6f 67 7d 2c | 20 75 73 65 0a 74 68 65 |onprog},| use.the|
|00006360| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 7b 5c 74 74 20 | followi|ng {\tt |
|00006370| 67 63 63 7e 2d 67 7e 2d | 63 7e 6d 6f 6e 70 72 6f |gcc~-g~-|c~monpro|
|00006380| 67 2e 63 7d 20 61 6e 64 | 20 74 68 65 6e 20 7b 5c |g.c} and| then {\|
|00006390| 74 74 0a 67 63 63 7e 2d | 6f 7e 6d 6f 6e 70 72 6f |tt.gcc~-|o~monpro|
|000063a0| 67 7e 6d 6f 6e 70 72 6f | 67 2e 6f 7d 20 41 6c 61 |g~monpro|g.o} Ala|
|000063b0| 73 20 74 68 69 73 20 6d | 65 74 68 6f 64 20 69 73 |s this m|ethod is|
|000063c0| 20 6e 6f 74 20 74 68 61 | 74 20 67 6f 6f 64 20 69 | not tha|t good i|
|000063d0| 66 20 79 6f 75 20 61 72 | 65 0a 75 73 69 6e 67 20 |f you ar|e.using |
|000063e0| 7b 5c 73 66 20 4d 61 6b | 65 66 69 6c 65 7d 2e 0a |{\sf Mak|efile}..|
|000063f0| 5c 69 74 65 6d 20 54 68 | 65 20 6f 74 68 65 72 20 |\item Th|e other |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.