-----Original Message-----
>
>Firstly patching will only work properly against a clean source tree,
in
>other words its structure and contents have not been alterd in any way,
>execpt the normal 'make processes'.
>
>You can place the patches where you like, i choose to keep all my
archives
>in /home/ftp/pub, now considering this we can now use /home/ftp/pub as
an
>example.
>
>cd /usr/src
>gzip -cd /home/ftp/pub/patch-2.0.32.gz | patch -p0 -s
>gzip -cd /home/ftp/pub/patch-2.0.33.gz | patch -p0 -s
>gzip -cd /home/ftp/pub/patch-2.0.34.gz | patch -p0 -s
>gzip -cd /home/ftp/pub/patch-2.0.35.gz | patch -p0 -s
>
>Now no output should bee seen, the -s option in patch is 'silent' it
will
>only output errors, of which there should be NONE.
>As you see there is no need to untar the files first.
>
>If you are still unsure about "did i get any errors" do;
>
>find linux/ -name *.rej
>There should be no file names returned.
>
>cd linux
>make config etc etc etc..
>
>Its as simple as that.
OK, I did the gzip..blah, blah...patch bizzo...it asks for what file to
patch, now you've mentioned /usr/src...this is what's in my /usr/src
dir...I haven't touched it since the installation of Linux:
total 8
drwxr-xr-x 4 root root 1024 Oct 7 17:20 .
drwxr-xr-x 19 root root 1024 Oct 10 1997 ..
lrwxrwxrwx 1 root root 12 Oct 3 08:49 linux ->
linux-2.0.31
drwxr-xr-x 3 root root 1024 Oct 3 08:49 linux-2.0.31
drwxr-xr-x 7 root root 1024 Oct 3 08:51 redhat
-rw-r--r-- 1 root root 0 Oct 7 17:20 src.txt
The src.txt is this example.
Well, the file to patch obviously ain't here...is this a standard setup
for RH 5.0?
The linux dir contains an include dir (nothing else) in the include dir
is a load of .c files
The redhat dir contains BUILD, RPMS, SOURCES, SPECS and SRPMS...all of
which contain nothing...where to now???
'Later
Peter
----
Visit my online world! (NEW MAPS!)
http://www.ticnet.com/azenomei/fels/fels.html
Zimbabwe Pages Coming Soon!
http://www.ticnet.com/azenomei/zimbabwe/zimbabwe.html
Remove the SPAM/TRASH to reply...(Usenet posts only)
Cybiades-- Computing for fun!