Ted Ozolins wrote:
Ken Moffat wrote:
David A. Bandel wrote:
save the patch:
cut the text, the first line should be:
- - --- linux-akpm/fs/buffer.c~sync_fs Thu Dec 5 21:33:56 2002
the last line is the - just before the signature. Make sure you don't
wrap any lines cutting and pasting between the message and the patch
file.
assuming your kernel source is /usr/src/linux, save the patch in
/usr/src
as ext3.patch and cd linux
I suggest you "dry-run" the patch first (test it):
patch -p1 --dry-run < ../ext3.patch
If you get no failures (you will if you put the XFS patch on), then
remove
the --dry-run and go again.
If you decide you don't want the patch anymore, just do:
patch -p1 -R < ../ext3.patch
and all will be reversed.
Oops, failure... I'm using libranet, with kernel 2.4.20 from
kernel.org, if that matters.
# patch -p1 --dry-run < ../ext3.patch
patching file fs/buffer.c
patching file include/linux/fs.h
patching file fs/super.c
patching file fs/ext3/super.c
Hunk #3 FAILED at 1580.
1 out of 3 hunks FAILED -- saving rejects to file fs/ext3/super.c.rej
Dang, I'm getting the same error (word for word)
I'm using slackware 8.1 with kernel 2.4.20 from kernel.org. also even
though it says that " saving rejects to file fs/ext3/super.c.rej "
there is no /usr/src/linux/fs/ext3/super.c.rej (if that matters)
Same here.
I tried the command
patch -p1 -R < ../ext3.patch
after attempting the patch, which created the rej file here for some reason.
--
Ken Moffat
[EMAIL PROTECTED]
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users