Re: how to know to which file in kernel the patch can be applied?

Peter Wächtler (pwaechtler@loewe-komp.de)
Fri, 31 Aug 2001 13:20:36 +0200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/