public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* howto apply supermount patch only....
@ 2004-08-09  8:25 Marián Tomko
  2004-08-09 13:21 ` Paul Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Marián Tomko @ 2004-08-09  8:25 UTC (permalink / raw)
  To: linux-kernel

Hello

I have 2.6.7 kernel and I want only apply supermount patch. I downloaded 
supermount-ng204.diff from ck6 splitout.  I copied it into /usr/src.  
Here I  cd linux-2.6.7. From linux-2.6.7 I run patch -p1 < 
../supermount-ng204.diff

And I got this:
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.

What is the problem here? How to cerrectly applied this patch?

Thanx

Marian Tomko


PS - I am new in this... So please if it is trivial correct me.


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

* Re: howto apply supermount patch only....
  2004-08-09  8:25 howto apply supermount patch only Marián Tomko
@ 2004-08-09 13:21 ` Paul Jackson
  2004-08-09 16:25   ` Eric Lammerts
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Jackson @ 2004-08-09 13:21 UTC (permalink / raw)
  To: Marián Tomko; +Cc: linux-kernel

> patch: **** Only garbage was found in the patch input.

Usually this means that your patch file, supermount-ng204.diff in the
case you describe, doesn't contain an actual, correctly formatted,
patch.

The most common format for patch files has some commentary in free form
text, followed by one or more patches, which are the output of a diff
command such as "diff -Naurp".  If you look on this lkml email list for
posts that have a Subject starting with "[PATCH]" or "[patch]", you will
find many examples of such.

If your supermount-ng204.diff file is not of this format, then the
'patch' command will complain in ways such as you report.  When that
happens, you have to figure out why your patch file is bad - perhaps it
got mangled during your download and copy operations, or perhaps it
isn't a proper patch to begin with.  You will have to trace that down.

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

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

* Re: howto apply supermount patch only....
  2004-08-09 13:21 ` Paul Jackson
@ 2004-08-09 16:25   ` Eric Lammerts
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Lammerts @ 2004-08-09 16:25 UTC (permalink / raw)
  To: Paul Jackson; +Cc: Marián Tomko, linux-kernel


On Mon, 9 Aug 2004, Paul Jackson wrote:
> > patch: **** Only garbage was found in the patch input.
>
> Usually this means that your patch file, supermount-ng204.diff in the
> case you describe, doesn't contain an actual, correctly formatted,
> patch.

Maybe your patch is gzipped? Some browsers strip the .gz extension but
forget to decompress the file, or vice versa.

Try "zcat ../supermount-ng204.diff | patch -p1"

Eric

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

end of thread, other threads:[~2004-08-09 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-09  8:25 howto apply supermount patch only Marián Tomko
2004-08-09 13:21 ` Paul Jackson
2004-08-09 16:25   ` Eric Lammerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox