LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 03-11-2005, 10:13 AM   #1
cranium2004
Member
 
Registered: Feb 2004
Distribution: FC4,RHEL4
Posts: 223

Rep: Reputation: 30
Creating patch file which options to use?


hello,

I want to create a patch file to linux kernel source to which i modified. I am using -urN options does it correct ? also what if my original source in /usr/src/linux-2.6.8 and modified source in /home/cranium/mylinux-2.6.8. Does the following command creates correct patch file?
diff -urN /home/cranium/mylinux-2.6.8 /usr/src/linux-2.6.8

If both argumants are files instead directories then whether to use
diff file1 file2
or
diff -uN file1 file2

Why -u (unified output format) need to be specified?
regards,
cranium
 
Old 03-11-2005, 09:56 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Duplicate of:
http://www.linuxquestions.org/questi...hreadid=300245
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use patch file jnsg Slackware 2 10-23-2005 07:08 PM
Creating patch file which options to use? cranium2004 Linux - Newbie 1 03-13-2005 04:35 AM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 09:58 PM
how do i patch a file Hockeyfan Linux - Newbie 1 05-09-2004 03:05 AM
INFO: creating a special secured kernel (grsecurity kernel patch) w sysctl config markus1982 Linux - Security 0 05-25-2003 05:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration