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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×