From: James Michael Chacon (probreak@matt.ksu.ksu.edu)
Date: 10/06/92


From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
Subject: Re: Question about Linux patches
Date: 6 Oct 1992 20:43:07 -0500

ucosmo@mcl.ucsb.edu (Boris Burtin) writes:

>I just discovered the patches directory on tsx-11. There is a README file
>that tells you what the patches are, but not how to apply them. Can someone
>give me a hint about this?

To apply patches under bash, what I typically do is:
patch -p1 < patch 2> error.log

the -p1 mean to ignore everything up to and including the first slash in the
pathname of the patch. You can find out what is appropriate for you by
looking through the patch headers to see what path they want. I usually delete
everything up to the linux/ stuff, and just patch from /usr/src.

>Also, if I am running Linux pl2 (from MCC) and I want to upgrade to pl6, do I
>also need patches 3, 4, and 5?
You need all the patches in between, as they are not redundant, and don't
include previous ones.

>Thanks
> - Boris
>(cosmo@cs.ucsb.edu)

James