Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 15:17:47 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Kevin Oberman <oberman@es.net>
Cc:        questions@freebsd.org, flz@freebsd.org
Subject:   Re: Unable to mount partition with ntfs-3g
Message-ID:  <47B9938B.2020708@bsdforen.de>
In-Reply-To: <20080208231403.B52464500E@ptavv.es.net>
References:  <20080208231403.B52464500E@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman wrote:
>> Date: Fri, 08 Feb 2008 23:11:37 +0100
>> From: Dominic Fandrey <kamikaze@bsdforen.de>
>>
>> Kevin Oberman wrote:
>>> I would love to be able to mount my NTFS partition R/W, but the FreeBSD
>>> NTFS support is read-only (or almost read-only), so I installed
>>> fusefs-ntfs which I thought would allow this.
>>>
>>> After installation (which also pulled in fusefs-kmod, fusefs-libs, and
>>> libublio), I added fusefs_enable="yes" to my rc.conf. Then, after
>>> starting fusefs (which means loading the fuse kernel module), I tried:
>>> # mount -t ntfs-3g /dev/ad0s1 /C
>>> mount: /dev/ad0 : Operation not supported by device
>>>
>>> I got the same message for a USB drive on /dev/da0.
>>>
>>> Documentation on ntfs-3g is pretty limited. Did I miss something? I
>>> really rather not convert my new USB disk to FAT32 if I don't have to.
>> mount only calls a couple of file systems in the old fashioned way. One of 
>> them is ntfs. What I did to be able to mount NTFS systems with mount -t 
>> (obligatory if you want to use fstab to mount), I did the following:
>>
>> # mv /sbin/mount_ntfs /sbin/mount_ntfs.bak
>> # ln -s /usr/sbin/mount_ntfs-3g /sbin/mount_ntfs
>>
>> This is one of my /etc/fstab entries
>> /dev/ntfs/2vault  /mnt/vault  ntfs  rw,late,gid=5,umask=113,dmask=002  0  0
>>
> 
> Cool! This is exactly what I was looking for. Since mount_ntfs-3g was
> installed, I assumed that it would work with nmount, but I guess not.
> 
> Thanks very much! I think that this will solve all of my ntfs issues for
> a while.

I have a fix now that I like better: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=120784

You can apply it in the following way:

# cd /usr/src
# fetch -o mount.patch \
'http://www.freebsd.org/cgi/query-pr.cgi?prp=120784-1-diff&n=/patch-1.diff'
# patch < mount.patch
# cd sbin/mount
# make all install clean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B9938B.2020708>