LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   linux-ntfs driver (https://www.linuxquestions.org/questions/slackware-14/linux-ntfs-driver-72178/)

gerghk 07-12-2003 03:02 PM

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 :D, thanks

david_ross 07-12-2003 03:11 PM

Make sure you cd to the kernel source directory first.

contrasutra 07-12-2003 04:09 PM

Slackware comes w/ the NTFS patch applied by default. :D

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

gerghk 07-12-2003 11:36 PM

are u sure
 
Quote:

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

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 :D


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

contrasutra 07-12-2003 11:41 PM

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.

gerghk 07-12-2003 11:48 PM

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?

gerghk 07-12-2003 11:54 PM

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?

carboncopy 07-13-2003 08:17 AM

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.

XPediTioN 07-13-2003 01:00 PM

What do I have to do be able to see my files of my WinXP NTFS Partition. Do I have to mount it?

david_ross 07-14-2003 12:12 PM

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

Assuming you have xp on hda.


All times are GMT -5. The time now is 06:16 AM.