<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>Studying programming [was Re: readahead could use
a up</title></head><body>
<div>At 4:20 PM +0200 4/11/07, Mark wrote:</div>
<blockquote type="cite" cite>
<blockquote>You have no understanding at all of what the Linux kernel
disk cache is for and how it works.  You have much studying to
do.<br>
</blockquote>
</blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite>i know.</blockquote>
<blockquote type="cite" cite>i`m gonna learn that programming stuff..
but it`s hard.</blockquote>
<div><br></div>
<div>Yes.  It's hard the way writing is hard.  To become a
better writer one must read many things, and then try to emulate
them, and then move on to new writings.</div>
<div><br></div>
<div>For your dep checker to work out, you will need to read the
current code and ferret out what it does, and then test test test
with all the packages you can find.  If it were documented, the
docs would be stale and misleadingly wrong -- and they are -- but you
should still read Maximum RPM at www.rpm.org/max-rpm.</div>
<div><br></div>
<div>To read the current RPM code you will need to read C, for which
K&R _The C Programming Language_ 2nd ed. is still probably best,
and for yum, Python, for which the Python Tutorial at
docs.python.org/tut/ is the best way to start .</div>
<div><br></div>
<div>To find out how the kernel disk cache works, well, there is the
source, and LKML, and for some things the user-oriented fedora-list,
which can be browsed easily enough at
www.redhat.com/archives/fedora-list, or searched with Google:</div>
<div><br></div>
<div>    search terms
site:www.redhat.com/archives/fedora-list<span
></span></div>
<div><br></div>
<div>(I use "site:" a lot to narrow searches to a
particular source.  It's very flexible about what it accepts, so
"site:redhat.com" would find the same things as well as
many others.)</div>
<div><br></div>
<div>Ehh, while I'm on the soapbox, man and apropos are your friends
(see man man and man apropos).  Well, apropos is not quite your
friend, since if it is given two words it returns separate results
for each, rather than one result for both, but I have a nicer one at
<http://georgeanelson.com/apropos2.htm/><span
></span>.  Apropos2 could use the ability to subtract things,
but currently I use grep:</div>
<div><br></div>
<div>    apropos foo bar | grep -v bart</div>
<div><br></div>
<div>or more practically:</div>
<div><br></div>
<div>    apropos module | grep -v '(3'</div>

<div>-- <br>
_________________________________________<span
></span>___________________________<br>
TonyN.:'         <span
></span
>          <span
></span>   
<mailto:tonynelson@georgeanelson.com><br>
     
'          <span
></span
>          <span
></span>         
<http://www.georgeanelson.com/></div>
</body>
</html>