what is a .diff file?

Hi, I'm trying to patch my kernel to get acpi to work on my comaq notebook and i had to download three kernel patch files. one was in tar. gz format and two were in diff. gz I know how to work the tarballs, But after I unzip the diff.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar02.webp

12 Posts
Location -
Joined 2003-06-13
Hi,
 
I'm trying to patch my kernel to get acpi to work on my comaq notebook and i had to download three kernel patch files. one was in tar.gz format and two were in diff.gz
 
I know how to work the tarballs,
 
But after I unzip the diff.gz, what do I do with the diff?
 
Is this a different type of compression? :x
 
thanx for any help i get from all you smart peeps!!!

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar37.webp

20 Posts
Location -
Joined 2002-05-26
They're just a set of differences between files. You use it with patch (see man patch). It should say in the README how to use them, but usually its something similar to:
 
patch -p1 -E < <filename>
 
 
But CHECK THE README because the number after -p might be different, or it might need different options