LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2003, 03:02 PM   #1
gerghk
LQ Newbie
 
Registered: Jul 2003
Location: Sunnyvale, CA
Distribution: Slackware 11.0 - kernel 2.6.18
Posts: 21

Rep: Reputation: 15
linux-ntfs driver


so, i got the linux-ntfs driver patch for my kernel from the linux-ntfs.sourceforge.net site

i follow the instructions:

patch -p1 < linux-2.4.20-ntfs-2.4.1a.patch


but i get sth saying:

"can't find file to patch at line 4
Perhaps you used the wrong -p or --strip option?"

im new to slackware, i was previously able to get this ntfs driver working in redhat 9 by rpm, this is my first shot at a kernel patch

help would be much appreciated , thanks
 
Old 07-12-2003, 03:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Make sure you cd to the kernel source directory first.
 
Old 07-12-2003, 04:09 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Slackware comes w/ the NTFS patch applied by default.

Just mount an NTFS partition and your good to go.

It also plays MP3s.


Also, the Kernel Source doesnt come included.

#Kernel Source for Slackware 9:
install using "installpkg kernel-source-2.4.20-noarch-5.tgz"

ftp://ftp.slackware.com/pub/slackwar...0-noarch-5.tgz
 
Old 07-12-2003, 11:36 PM   #4
gerghk
LQ Newbie
 
Registered: Jul 2003
Location: Sunnyvale, CA
Distribution: Slackware 11.0 - kernel 2.6.18
Posts: 21

Original Poster
Rep: Reputation: 15
are u sure

Quote:
Originally posted by contrasutra
Slackware comes w/ the NTFS patch applied by default.

Just mount an NTFS partition and your good to go.


are u sure? i did a "cat /proc/filesystems" and ntfs was no where on the list...

ROFL @ "it can play mp3s" hahah, redhat is stupid i agree, but that prob was easily solved by getting it with apt-get w/rpms


anyway, is "cat /proc/filesystems" the correct way to check if ntfs is supported? if so, why is it not supported for me, i chose "full" for install options
 
Old 07-12-2003, 11:41 PM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
On the bare.i kernel of Slackware 9, NTFS read support is included out-of-box.

do an "lsmod" as root, and look for the "ntfs" module.
 
Old 07-12-2003, 11:48 PM   #6
gerghk
LQ Newbie
 
Registered: Jul 2003
Location: Sunnyvale, CA
Distribution: Slackware 11.0 - kernel 2.6.18
Posts: 21

Original Poster
Rep: Reputation: 15
hmm

okay, so if i did a

"mount /dev/hda1 /mnt/windows -t ntfs -r" it would work properly?

and u told me to do a "ls mod", where is the "mod" directory?
 
Old 07-12-2003, 11:54 PM   #7
gerghk
LQ Newbie
 
Registered: Jul 2003
Location: Sunnyvale, CA
Distribution: Slackware 11.0 - kernel 2.6.18
Posts: 21

Original Poster
Rep: Reputation: 15
AH

OK ROFLMAO, i just did the

mount /dev/hda1 /mnt/windows -t ntfs -r

and it did work OUT OF THE BOX indeed

damn damn, dumb one there

argh, but i was always taught to use "cat /proc/filesystems" to check if my kernel supported the ntfs filesystem....



so, although problem solved, why is ntfs not listed when i use "cat /proc/filesystems"


o and btw, write is still not supported eh?
 
Old 07-13-2003, 08:17 AM   #8
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Re: AH

Quote:
Originally posted by gerghk
argh, but i was always taught to use "cat /proc/filesystems" to check if my kernel supported the ntfs filesystem....

so, although problem solved, why is ntfs not listed when i use "cat /proc/filesystems"

o and btw, write is still not supported eh?
By default ntfs is compiled as a module, that is why you didn't see it in /proc/filesystems. Since you haven't mount the ntfs partition, the kernel module is not loaded.

lsmod not ls mod is to list the modules you have.

cheers.
 
Old 07-13-2003, 01:00 PM   #9
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
What do I have to do be able to see my files of my WinXP NTFS Partition. Do I have to mount it?
 
Old 07-14-2003, 12:12 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yes:
mkdir /mnt/winxp
mount -t ntfs /dev/hda /mnt/winxp

Assuming you have xp on hda.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ntfs Driver For Mandrake Linux 10.0 sam18 Linux - Newbie 2 11-13-2005 05:35 PM
ntfs driver fully-operative? evilop Linux - Software 3 09-20-2004 07:55 PM
Can't access ntfs driver as a user shibatatie Slackware 10 07-19-2004 09:22 AM
Using Captive NTFS driver with Knoppix? Mr.Radar Linux - Distributions 2 02-10-2004 08:19 AM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM

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

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