LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2008, 08:50 AM   #1
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Rep: Reputation: 17
Question difference betwee ntfs and ntfs-3g


in my /etc/fstab file my windows drives are mounted as ntfs partitions..
/dev/sda1 /media/sda1 ntfs defaults,umask=000 0 0
i wonder,should i change the filesystem type as ntfs-3g?
what is its advantage or disadvantage over ntfs ???
 
Old 11-14-2008, 08:57 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
My understanding is the ntfs-3g driver has read-write capabilities; the ntfs one only read.

So long as the appropriate packages are installed, you should be good to go.
 
Old 11-14-2008, 08:58 AM   #3
comm2k
LQ Newbie
 
Registered: Jul 2008
Posts: 28

Rep: Reputation: 16
ntfs-3g is 'filesystem driver' for ntfs file systems, it is very reliable and allows read AND write access to ntfs volumes. If I remember correctly 'ntfs' driver is read only, anyway if you only need read access then stick to 'ntfs', for writing I would only use ntfs-3g.
 
Old 11-14-2008, 09:05 AM   #4
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Original Poster
Rep: Reputation: 17
Smile

Quote:
Originally Posted by comm2k View Post
ntfs-3g is 'filesystem driver' for ntfs file systems, it is very reliable and allows read AND write access to ntfs volumes. If I remember correctly 'ntfs' driver is read only, anyway if you only need read access then stick to 'ntfs', for writing I would only use ntfs-3g.
i can read-write both with just ntfs driver
i have set umask=000
ie all permissions are given for user,group and others
 
Old 11-14-2008, 09:13 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quoted from the kernel menuconfig help for ntfs:

Quote:
CONFIG_NTFS_FS:

NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.

Saying Y or M here enables read support. There is partial, but
safe, write support available.
For write support you must also
say Y to "NTFS write support" below.

There are also a number of user-space tools available, called
ntfsprogs. These include ntfsundelete and ntfsresize, that work
without NTFS support enabled in the kernel.

This is a rewrite from scratch of Linux NTFS support and replaced
the old NTFS code starting with Linux 2.5.11. A backport to
the Linux 2.4 kernel series is separately available as a patch
from the project web site.

For more information see <fileocumentation/filesystems/ntfs.txt>
and <http://www.linux-ntfs.org/doku.php>.

To compile this file system support as a module, choose M here: the
module will be called ntfs.

If you are not using Windows NT, 2000, XP or 2003 in addition to
Linux on your computer it is safe to say N.

Symbol: NTFS_FS [=n]
Prompt: NTFS file system support
Defined at fs/Kconfig:821
Depends on: BLOCK
Location:
-> File systems
-> DOS/FAT/NT Filesystems
Selects: NLS
Safe, but partial support only, and, in the corresponding README file you can see what the limitations are:

Quote:
- This is a complete rewrite of the NTFS driver that used to be in the 2.4 and
earlier kernels. This new driver implements NTFS read support and is
functionally equivalent to the old ntfs driver and it also implements limited
write support. The biggest limitation at present is that files/directories
cannot be created or deleted.
See below for the list of write features that
are so far supported. Another limitation is that writing to compressed files
is not implemented at all. Also, neither read nor write access to encrypted
files is so far implemented.
So, in which regards me: no, the ntfs kernel driver has not write support. At most, you can modify existing files. This is from the latest stable kernel, which today is 2.6.27.6
 
Old 11-14-2008, 09:18 AM   #6
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Original Poster
Rep: Reputation: 17
but beleive me...i am able to write in my windows partitions through ntfs only...
!!!!!
 
Old 11-14-2008, 09:21 AM   #7
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Original Poster
Rep: Reputation: 17
i have dmask set to 000
which gives any user of linux full access(r/rw) to windows ntfs partitions
 
Old 11-14-2008, 09:31 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by ritam_bkp View Post
but beleive me...i am able to write in my windows partitions through ntfs only...
!!!!!
If that's right and you are truly using the in-kernel ntfs driver then that would mean that the kernel documentation is either lying or outdated.

I am compiling gcc right now, when that's done (hopefully 1 hour or so) I will compile the ntfs tools and test this on a loopback filesystem.
 
Old 11-14-2008, 10:27 AM   #9
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by ritam_bkp View Post
but beleive me...i am able to write in my windows partitions through ntfs only...
!!!!!
I read that Ubuntu *says* it's using the ntfs driver, whereas in fact, it's using the ntfs-3g driver. Are you using Ubuntu?
 
Old 11-14-2008, 03:25 PM   #10
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Ubuntu, Fedora and some other distributions use NTFS-3G for both the ntfs and ntfs-3g filesystem type for better backwards compatibility.
 
Old 11-14-2008, 05:43 PM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
That would definitely explain it. I created a loopback file system into a file on my home, formatter it with ntfs, and mounted it. I wasn't able to create anything on it, though the logs show how it was mounted R/W. So I must assume that you are using ntfs-3g or/and a custom kernel patchset for the ntfs stuff.
 
Old 11-15-2008, 09:33 PM   #12
replica9000
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Debian, FreeBSD, Android
Posts: 1,001
Blog Entries: 2

Rep: Reputation: 213Reputation: 213Reputation: 213
I also tried to force my ntfs file system to read-write with the ntfs driver, and I was still unable to write anything.
 
  


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
Urgent: Failing NTFS HD - Will ddrescue Read & Write To Windows NTFS Drives? zipgunner Linux - Newbie 15 03-08-2011 07:29 AM
LXer: How To Enable NTFS Write Support (ntfs-3g) On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 09-11-2007 09:20 PM
LXer: How To Enable NTFS Write Support (ntfs-3g) On Mandriva 2007 Spring LXer Syndicated Linux News 0 09-05-2007 06:30 PM
NTFS Configuration Tool Can Not Detect SATA drive in NTFS format jlconferido Linux - Newbie 7 06-30-2007 08:07 PM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 10:28 PM


All times are GMT -5. The time now is 09:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration