Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a question about the difference between 'ntfs' and 'ntfs-3g' in the filesystem type field in the /etc/fstab file. My Linux distribution is Xubuntu; I suppose the answer may well vary between distros.

My question is basically which is best to use in which contexts. It seems that most websites tell you to use 'ntfs-3g', which is a FUSE driver for NTFS under linux. From some searching around it seems to be the case that 'ntfs' (without the -3g part) typically refers to a kernel driver, rather than the ntfs-3g userland driver. The only problem with that is that I've been using 'ntfs' in my fstabs rather than 'ntfs-3g', while a check of /proc/filesystems doesn't show any listing for ntfs.

Can anyone shed some light on what the precise difference in semantics (if there is any) is between 'ntfs' and 'ntfs-3g'? Is it safe to assume that if mount sees 'ntfs' it will search for a driver which supports that type of filesystem and find the ntfs-3g driver if it's installed?


EDIT: I forgot to add that 'ntfs' has worked whenever I've used it -- I was simply curious as to the answer, and I wanted to make sure I wasn't doing something iffy.

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

They're identical - both use ntfs-3g in (current) Ubuntu; the ntfs utils are just symlinked to ntfs-3g.

# which mount.ntfs
/sbin/mount.ntfs
# which mount.ntfs-3g
/sbin/mount.ntfs-3g
# ls /sbin/mount.ntfs* -l
lrwxrwxrwx 1 root root 13 2011-03-01 21:13 /sbin/mount.ntfs -> mount.ntfs-3g
lrwxrwxrwx 1 root root 12 2011-03-01 21:13 /sbin/mount.ntfs-3g -> /bin/ntfs-3g
share|improve this answer
    
File system utils are trixy things. fsck/e2fsck will take you down a rabbit hole of symlinks too. Especially on a RedHat based distro. –  Wesley Aug 24 '11 at 7:16
    
Thanks, that explains it. –  Joseph Aug 28 '11 at 22:48
add comment

The traditional NTFS kernel driver is read only. If you use ntfs in your fstab it will attempt to use that kernel driver, and mount your NTFS as read only

The ntfs-3g is the newer FUSE driver (as you mention) and will mount the partitions as read-write is you use it in NTFS.

Some distros have started treating them as one and the same, but as of about a year ago, using ntfs in fstab in Ubuntu would result in the file system not being writeable. I guess it might depend upon the version of Xubuntu you have installed.

share|improve this answer
    
Thanks for your answer! I accepted Shane Madden's answer because he was just a bit faster, but your answer was also very helpful. –  Joseph Aug 28 '11 at 22:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.