linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to know to which file in kernel the  patch can be applied?
@ 2001-08-31  9:53 umesh jaiswal
  2001-08-31 11:20 ` Peter Wächtler
  0 siblings, 1 reply; 2+ messages in thread
From: umesh jaiswal @ 2001-08-31  9:53 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Dear sir ...
   I have applied  a linux-2_2_16_diff.htm patch which I have downloaded 
from kgdb site for remote kernel debugging by giving the command
            cd /usr/src/linun2.2.16
	   $[linux] patch p0 < linux-2_2_16_diff.htm

But after appling the above  patch  command the console giving the massage : 
type the file name you want to patch.
  I don't know sir which file I have to patch for remote kernel debugging 
support on my development machine .pls help me out.

umesh Jaiswal

umesh_j123@hotmail.com


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to know to which file in kernel the  patch can be applied?
  2001-08-31  9:53 how to know to which file in kernel the patch can be applied? umesh jaiswal
@ 2001-08-31 11:20 ` Peter Wächtler
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Wächtler @ 2001-08-31 11:20 UTC (permalink / raw)
  To: umesh jaiswal; +Cc: linux-kernel

umesh jaiswal wrote:
> 
> Dear sir ...
>    I have applied  a linux-2_2_16_diff.htm patch which I have downloaded
> from kgdb site for remote kernel debugging by giving the command
>             cd /usr/src/linun2.2.16
>            $[linux] patch p0 < linux-2_2_16_diff.htm
> 
> But after appling the above  patch  command the console giving the massage :
> type the file name you want to patch.
>   I don't know sir which file I have to patch for remote kernel debugging
> support on my development machine .pls help me out.
> 

Most of the patches assume that your current working directory is
/usr/src
If you are in /usr/src/linux*  try "patch -p1 <patch"
You can browse the patch with less and see at the "diff" line what
the expected hierachy looks like

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-31 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-31  9:53 how to know to which file in kernel the patch can be applied? umesh jaiswal
2001-08-31 11:20 ` Peter Wächtler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).