PDA

View Full Version : mounting ntfs partitions



l_parker
4th June 2006, 02:37 PM
I am having problems with mounting ntfs partitions (and vfat, but that is a different issue). I have mounted the partition using:


mount /dev/hda1 /mnt/win -t ntfs -w -o umask=0222

The partition mounts, but it is not writable. Yes I now the mask does not agree with the -w flag, but umask=0777 does not mount at all. Checking dmesg gives the following error(s):


NTFS driver 2.1.22 [Flags: R/W MODULE].
NTFS-fs error (device hda1): parse_options(): Unrecognized mount option 0222.
NTFS volume version 3.0.
SELinux: initialized (dev hda1, type ntfs), uses genfs_contexts

This seems to say that the module isn't recognizing the umask arguement at all. I have tried omitting the arguement, but again, it won't mount without it. Any clues anybody?

Lee Parker

rossheth
4th June 2006, 03:01 PM
If you need write support, you might try the FUSE module available from http://www.linux-ntfs.org/. You want the ntfsprogs package. It has much better write support than the kernel driver, and doesn't require rebuilding with kernel updates. It needs FUSE, available through yum with
yum install fuse fuse-devel .

l_parker
4th June 2006, 03:14 PM
I had looked at the FUSE module previously, and if I can't get the kernel driver to mount with write permissions, then I may have to go that way. Still hoping to get the kernel driver to work.

L. Parker