LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-14-2005, 10:06 PM   #1
ampena
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Patching Kernel


I am trying to patch my kernel to be able to form the quotas, and have done the following thing:
1- I unloaded the patch quota-2.6.1-1-jquota.diff.gz
2- I decompressed patch
3- I copied the file decompressed in the directory/usr/local/src
4- I executed the commando patch - p1 </usr/local/src/quota-2.6.1-1-jquota.diff
is here where that not to become when it requests the file to patch.
 
Old 11-15-2005, 12:07 AM   #2
shadoxx428
Member
 
Registered: Jan 2005
Location: Los Angeles, CA
Distribution: Xubuntu
Posts: 41

Rep: Reputation: 16
Could you restate that a little clearer? What exactly are you trying to do?
 
Old 11-15-2005, 06:11 AM   #3
pvs
Member
 
Registered: Jan 2005
Location: Lviv, Ukraine
Distribution: Something self-made
Posts: 69

Rep: Reputation: 16
try to copy it to /usr/src/linux (to the root of your kernel source) and try the same command again.
 
Old 11-15-2005, 06:54 AM   #4
ampena
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I need To limit the assigned disc space the users, and for that I need to know like installing a patch.
 
Old 11-15-2005, 11:08 PM   #5
aniljacob
LQ Newbie
 
Registered: May 2005
Location: india
Distribution: debian
Posts: 10

Rep: Reputation: 0
Wats is it u want to do ?

Just make it clear wat happened to you when you tried to patch the kernel
 
Old 11-29-2005, 02:39 PM   #6
shadoxx428
Member
 
Registered: Jan 2005
Location: Los Angeles, CA
Distribution: Xubuntu
Posts: 41

Rep: Reputation: 16
Alright, try the following. 'cd' to the directory your source is in. Then try the following command while you're in the source directory:

Code:
p1 < /usr/local/src/quota-2.6.1-1-jquota.diff
If that doesn't work, try substituting 'p1' with 'p2', 'p0', etc, etc.

I had some trouble trying to figure out how to apply my first patch too. If all else fails, post here again. Also, try not posting the same thread over. It just complicates things a bit. But you probably already know this.
 
  


Reply



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
Patching the Kernel Zuggy Linux - General 3 12-27-2004 08:34 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 04:18 AM
kernel patching pfunk Linux - Software 3 10-06-2004 06:55 PM
patching kernel paulr1984 Linux - Software 1 07-07-2004 10:32 PM
kernel patching erikm103 Linux - General 2 03-19-2003 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:59 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