LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-03-2007, 04:17 PM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Unhappy write support for NTFS in Linux


Hi i am using Slackware 11.0 (dual boot with XP).

i have created 2 partitions in XP namely c and d. c is 30 gb(FAT32) and d is 70 gb(NTFS).

The problem is that there is no write support for NTFS.Why so ?
I even compiled my Kernel to 2.6.20.6 but of no use.


will linux ever support NTFS write and why this feature is not available in Linux . Well although it's not causing any trouble but the problem is that i cant even copy files from my d drive in Linux as a normal user. I have to switch to root and then do that :^(

Any details ?
 
Old 05-03-2007, 04:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
it's been able to support it reasonably well for a while now, check http://www.ntfs-3g.org

as for the "why so?" part though... ntfs is, compared to fat32, VERY complicated, and is a proprietary filesystem which microsoft refuses to open the specs up. so it's had to be developed by reverse engineering and guesswork for many years. that's tough.
 
Old 05-03-2007, 05:35 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by lali.b2
...but the problem is that i cant even copy files from my d drive in Linux as a normal user. I have to switch to root and then do that
http://slackwiki.org/Windows_Partitions
 
Old 05-04-2007, 03:52 AM   #4
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by lali.b2
will linux ever support NTFS write and why this feature is not available in Linux . Well although it's not causing any trouble but the problem is that i cant even copy files from my d drive in Linux as a normal user. I have to switch to root and then do that :^(

Any details ?
To be able to copy files from "normal user" you have to specify group and owner of partition, as well as access flags. Here is my fstab line for ntfs partition:

Code:
/dev/hdc1	/mnt/win_c	ntfs-3g		locale=ru_RU.KOI8-R,uid=root,gid=users,umask=003,fmask=113	1	0
You'll probably want to change the locale to something else, though

Last edited by ErV; 05-04-2007 at 03:53 AM.
 
Old 05-04-2007, 03:55 AM   #5
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Quote:
Originally Posted by lali.b2
Hi i am using Slackware 11.0 (dual boot with XP).

i have created 2 partitions in XP namely c and d. c is 30 gb(FAT32) and d is 70 gb(NTFS).

The problem is that there is no write support for NTFS.Why so ?
I even compiled my Kernel to 2.6.20.6 but of no use.


will linux ever support NTFS write and why this feature is not available in Linux . Well although it's not causing any trouble but the problem is that i cant even copy files from my d drive in Linux as a normal user. I have to switch to root and then do that :^(

Any details ?
did you compile also the availability to Write to NTFS Kernel module?
if so, just mount it with writing permissions, and here you go.
 
Old 05-04-2007, 08:52 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
The write support available in the kernel will not let you create files or alter their size. use the ntfsmount or ntfs-3g programs instead for pretty-complete capabilities.
It's a real wonder that any support is available at all -I understand that the windows driver code for ntfs consists of over 30 million lines of code...
 
Old 05-04-2007, 10:08 AM   #7
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
Thumbs up

Quote:
Originally Posted by gnashley
It's a real wonder that any support is available at all -I understand that the windows driver code for ntfs consists of over 30 million lines of code...
Hats off for the ntfs-3g project in that case! I have been using it for well over half a year now, no problems at all so far.
 
Old 05-05-2007, 09:30 AM   #8
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
I'm curious. Did the OP have an existing FAT32 partition and then install XP so that it boots from the D drive?
 
Old 05-05-2007, 11:44 AM   #9
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Talking

Quote:
Originally Posted by allend
I'm curious. Did the OP have an existing FAT32 partition and then install XP so that it boots from the D drive?
No i just created the fat32 partition to install XP then using disk utility in XP i tried to make another 70 gb FAT32 partition but i guess FAT32 has a size limit and only NTFS partition was possible of 70 gb
 
Old 05-05-2007, 11:53 AM   #10
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Thanks.
I wasn't aware that XP would install on a FAT32 partition.
 
Old 05-06-2007, 02:49 AM   #11
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by allend
Thanks.
I wasn't aware that XP would install on a FAT32 partition.
As I know it won't install on anything else (unless it's an upgrade from other Windows version with NTFS support).
 
Old 05-06-2007, 03:20 AM   #12
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
WinXP and W2K can both be installed to either FAT32 or NTFS.
 
Old 05-06-2007, 06:05 AM   #13
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Question Thank you for replies but......

Thank you all for your replies but as of now i am not ineterested in installing ntfs -3g i just want the read support by a normal user into NTFS partition.
Is read support by normal user for NTFS partition possible without installing ntfs-3g ?
My fstab is :
/dev/hda5 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda6 /usr reiserfs defaults 1 2
/dev/hda7 /opt reiserfs defaults 1 2
/dev/hda8 /home reiserfs defaults 1 2
/dev/hda1 /c vfat defaults 1 0
/dev/hda2 /d ntfs ro 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


Sorry dude i am unable to edit fstab so that it looks nice (how to do so)
I hope you will be able to understand my fstab entries :^)

cheers

Last edited by lali.p; 05-06-2007 at 06:13 AM. Reason: fstab didn't look good !
 
Old 05-06-2007, 06:45 AM   #14
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Quote:
Originally Posted by lali.b2
Thank you all for your replies but as of now i am not ineterested in installing ntfs -3g i just want the read support by a normal user into NTFS partition.
Is read support by normal user for NTFS partition possible without installing ntfs-3g ?
Yes. Do you have NTFS build into the kernel or as a module? What does
Code:
grep NTFS_FS /usr/src/linux/.config
give as output?

Quote:
Sorry dude i am unable to edit fstab so that it looks nice (how to do so)
I hope you will be able to understand my fstab entries :^)
Use the CODE tags [ CODE ] and [ / CODE ] without the spaces in between the brackets. This will be displayed with a fixed size font.
 
Old 05-06-2007, 07:06 AM   #15
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Talking Yes i have NTFS support

Thank you for reply

Quote:
CONFIG_NTFS_FS=y

I have NTFS support hard wired into Kernel(2.6.20.6) and not as a module.

So now what ?
 
  


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
LXer: Linux to get reliable NTFS write support LXer Syndicated Linux News 0 08-02-2006 12:54 PM
Linux NTFS Write Support Now? Adam15906 Linux - Software 2 01-16-2006 10:06 AM
Does Linux support Read-Write in NTFS? hackerarchangel Linux - Newbie 3 09-25-2005 02:31 AM
NTFS write support in LINUX ? Menestrel Linux - Newbie 4 11-20-2004 02:42 AM
Linux NTFS Write Support is now avaliable Grim Reaper Linux - Software 7 12-06-2003 08:48 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration