From: sct@dcs.ed.ac.uk (Stephen Tweedie) Subject: Re: .99p7 bug in minix/namei.c? Major patching problems... Date: 17 Mar 1993 21:05:59 GMT
In article <C3w98F.4xK@csugrad.cs.vt.edu>, lkestel@csugrad.cs.vt.edu (Lawrence Kesteloot) writes:
> I've been having major problems patching my kernel. I started with
> TAMU .99p4, and upgraded to p5 and p6 with no problems, except that
> all of the files meant for the zBoot directory ended up in /usr/src.
This is the standard behaviour for patch. If it tries to create a new
file, by default it strips the directory path from the filename first,
so that the new file ends up in the directory from which you launched
patch.
You should always use the command "patch -p0" when patching the Linux
source. This tells patch always to strip exactly zero directories
from the beginning of any pathname, so that new files will end up in
the correct place.
Cheers,
Stephen Tweedie.