Bill Jonas on Tue, 2 Jul 2002 15:19:48 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] rh kernel patch failed


On Tue, Jul 02, 2002 at 02:54:21PM -0400, Fred K Ollinger wrote:
> The question is why is this so? How to find proper -p #? I think this was
> the ide driver patch, and I'd like to have this, but it fails.

You didn't say which directory you were in.  I'm presuming you were in
the top-level kernel source directory.  Also, re-read patch(1) and make
sure you understand what -p does...

> cat linux-2.4.18*.patch | patch -p0

-p0 is the same as not using the -p option at all.

> |--- linux-2.4/drivers/ide/serverworks.c.orig   Mon Jun  3 22:15:30 2002
> |+++ linux-2.4/drivers/ide/serverworks.c        Mon Jun  3 22:16:29 2002

In all likelihood, you want to use -p1.  The "linux-2.4" section, I'd
wager, is referring to the top-level source directory...

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgpR0Nl1wp6GG.pgp
Description: PGP signature