LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-26-2005, 01:13 PM   #1
NightSoul
LQ Newbie
 
Registered: Nov 2005
Location: Lithuania
Distribution: Slackware 10.2
Posts: 29

Rep: Reputation: 15
NTFS rw, Kernel 2.4.* patch


Hellow, i have a problem with writing to ntfs partition on 2.4.31 kernel. I compiled this kernel with ntfs write support, but when linux booting up and mouting ntfs partitions with rw mode, hi says that ntfs partition's version is win2k+ ant sets back to ro mode. Now i using 2.6.14.4 kernel and there is everything ok, but some programs cant run, so i want go back to 2.4.31 or 2.4.32(new), but there is old ntfs driver version, so i found new version ant whant to patch it to 2.4.32 kernel. linux-ntfs.sourceforge.net/info/ntfs.html#7.4 So, there is no new wersion for 2.4.32, so how to patch 2.4.32 kernel with that(linux-2.4.26-ntfs-2.1.6b.patch) patch? I tried patch -p1 < path/to/patchname, but it says:
root@nightsoul:~# cd /usr/src
root@nightsoul:/usr/src# patch -p1 < linux-2.4.26-ntfs-2.1.6b.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur linux-2.4.26/arch/i386/defconfig linux-2.4.26-ntfs-2.1.6b/arch/i386/defconfig
|--- linux-2.4.26/arch/i386/defconfig 2004-04-14 15:05:25.000000000 +0200
|+++ linux-2.4.26-ntfs-2.1.6b/arch/i386/defconfig 2004-05-02 17:58:09.000000000 +0200
--------------------------
File to patch:

Sow wat i should to? I need 2.4.32 kernel with ntfs writing support...
 
Old 12-27-2005, 09:56 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try; patch -p0 < linux-2.4.26-ntfs-2.1.6b.patch

That's a zero replacing the 1 from your command.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:34 AM.

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