what is a .diff file?

This is a discussion about what is a .diff file? in the Everything Linux category; 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 1800 This topic was started by , . Last reply 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 15
Created
Jun 16
Last Response
0
Likes
1 minute
Read Time
User User
Users

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