Jump to content
Compatible Support Forums
Sign in to follow this  
ndering

what is a .diff file?

Recommended Posts

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!!!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×