[lkml]   [1996]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: aplying patches
> When you apply a patch, first change directory to /usr/src (assuming your
> source tree is installed under /usr/src/linux) and then run:
> zcat <filename> | patch -p0
> The -p0 is very important.

And, just for the sake of information, if your source tree is not
in */linux, change to the directory it is in, and do:

zcat <file> | patch -p1

I also recommend using -s to keep it from displaying all the noise --
this makes it easier to determine whether there were rejects.

Version: 3.12
GCS/M/L d- s-:+ a--- C+++(++)>$ UL+(++)>++++$ P+++ L+++>++++$ E++ W-(--)
N++ o-- K-- w--- O- M-- V-- PS+++? PE Y+ PGP-- t+* 5- X R tv--? b+>+++ DI
D--- G e-(*)>++++ h r++>+++ y?

 \ /
  Last update: 2005-03-22 13:38    [W:0.116 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site