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

Re: Adaptec Raid



>
> Now when I run the patch command:
>   michael@www:~/src/linux$ patch -p0 <../patches/dpt_i2o-2.0-2.2.18
> I recieve the following message
> 
> >can't find file to patch at input line 4
> >Perhaps you used the wrong -p or --strip option?
> >The text leading up to this was:
> >--------------------------
> >|diff -urN linux-2.2.18/drivers/scsi/Config.in
> linux->>>>2.2.18.SuSE/drivers/scsi/Config.in
> >|--- linux-2.2.18/drivers/scsi/Config.in        Mon Dec 11 01:49:42 2000
> >|+++ linux-2.2.18.SuSE/drivers/scsi/Config.in   Mon Feb 26 17:46:21 2001
> >--------------------------
> >File to patch:
> 
> And it is prompting me for a file to patch.
> 
> do you know how to specify the kernel to patch or even what the name is and
> where it is located in the src.
> 

I think you just need to change the -p0 option to -p1, which strips 
off the first part of the path (the linux-2.2.18[.SuSE] part) when 
applying the patch, and if you're in the linux directory everything
should work since it will look for drivers/scsi/Config.in, etc.

HTH,
Mike McGuire



Reply to: