All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuba Ober <kuba@mareimbrium.org>
To: Moritz Angermann <moritz.angermann@gmx.net>
Cc: reiserfs-list@namesys.com
Subject: Re: problems with patching.
Date: Thu, 18 Jul 2002 10:06:59 -0400	[thread overview]
Message-ID: <200207181006.59413.kuba@mareimbrium.org> (raw)
In-Reply-To: <1027000362.734.14.camel@prototype>

On czwartek 18 lipiec 2002 09:52 am, Moritz Angermann wrote:
> o.k. i tryed to patch my 2.4.18 kernel with the patches from
> ftp://ftp.namesys.com/pub/reiserfs-for-2.4/2.4.18.pending
> as sugested...
> but a few of them fail to work.
>
> for a few i had to link /usr/src/linux to /usr/src/linux-2.4.18 and to
> /usr/src/linux-2.4.18.o
> a few were trying to patch 2.4.9-pre* .. or s.th.
> one was trying to patch 'a' and one was trying to patch a SuSE kernel.
>
> erm guys. this is no way user friendly ...
> and really confusing.

# man patch
Things are confusing when one doesn't read documentation ;-)

What you wanted to do was 
# cd /usr/src/kernel-yourversion
# patch -p1 something.patch
p1 tells patch to ignore leading directory element, so if patches were against
linux-blah/something
they would now be against
something

Cheers, Kuba Ober

  reply	other threads:[~2002-07-18 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 13:52 problems with patching Moritz Angermann
2002-07-18 14:06 ` Kuba Ober [this message]
2002-07-18 14:47 ` Philippe Gramoullé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207181006.59413.kuba@mareimbrium.org \
    --to=kuba@mareimbrium.org \
    --cc=moritz.angermann@gmx.net \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.