Re: mounting ntfs partition

From: Attilio Rao <attilio_at_freebsd.org>
Date: Mon, 22 Oct 2012 00:50:36 +0100
On Sun, Oct 21, 2012 at 11:10 PM, Raoul MEGELAS <rmgls_at_free.fr> wrote:
> On Sun, 21 Oct 2012 22:58:00 +0100
> Attilio Rao <attilio_at_freebsd.org> wrote:
>
> On Sun, Oct 21, 2012 at 10:55 PM, Raoul MEGELAS <rmgls_at_free.fr> wrote:
>> On Sun, 21 Oct 2012 22:07:36 +0100
>> Attilio Rao <attilio_at_freebsd.org> wrote:
>>
>>>On 10/21/12, Raoul MEGELAS <rmgls_at_free.fr> wrote:
>>>> On Sun, 21 Oct 2012 14:04:46 +0100
>>>> Attilio Rao <attilio_at_freebsd.org> wrote:
>>>> Hi Attilio,
>>>>
>>>>
>>>>> On Sun, Oct 21, 2012 at 12:53 PM, Raoul <rmgls_at_free.fr> wrote:
>>>>> Hi,
>>>>>>
>>>>>> Trying to mount a partition from type ntfs
>>>>>> with the following conditions i get:
>>>>>>
>>>>>> R241700, with fusefs-libs in sync.
>>>>>>
>>>>>> kldload fuse
>>>>>>         fuse loaded
>>>>>> mount -t ntfs /dev/daXsX
>>>>>>       not supported!
>>>>>> mount_ntfs /dev/daXsX
>>>>>>         no such file or directory!
>>>>>>
>>>>>> in the second case, truss will report:
>>>>>>    sysctl "", ...
>>>>>> which mean that the path is empty of course.
>>>>>>
>>>>>> Perhaps i miss something???
>>>>>
>>>>>Try
>>>>>
>>>>> ntfs-3g /dev/daXsX /mnt/ntfs/
>>>>
>>>> ntfs-3g crashes in the following environment:
>>>> mac x86/64 hardware, running an external usb drive with a freebsd partition
>>>> (da0s3;
>>>>  da1s1 da1s2 = ntfs partitions.
>>>> and even if it mounts fine the first read/rwrite panic.
>>>>
>>
>>
>>>> and now i investigated a little more.
>>>
>>> BTW, are you using the imported new FUSE module from stock kernel?
>>>I think that fusefs-ntfs will install fusefs-kmod port which must not
>>>happen now.
>>
>>
>>>Please make sure to use the stock FUSE support present in -CURRENT
>>>(which means reinstalling kernel and world appropriately).
>>
>> if CURRENT R241700 has the good one as UPDATING said, i have it.
>>
>> mount.c is dated October 18.
>> other files in the same directory: February.
>
>> Yes but did you rebuild world and install it?
>> Is your kernel using FUSE support from the kernel config? (and not
>> from the fusefs-kmod port)
>
> yes:
> deinstall fusefs-ntfs
> deinstall fusefs-kmod
>
> svn update
> make buildworld
>      no error
> build kernel
>       no error
>       mergemaster!
> all this on October 18: R241700
>
> i rebuilt mount from /usr/src/head/sbin/mount just now, and mount_ntfs,
> with the same result.

mount_ntfs has no play here. It is a remnant of the in-kernel support
for NTFS and it is not used at all.
You need to install fusefs-ntfs and use ntfs-3g the way I showed you.

However, fusefs-ntfs is going to bring along fusefs-kmod as a
dependency. We need a patch to disable that. If Florian or George
don't beat me to it (as they were going to fix it) I can produce one
in 1-2 days.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
Received on Sun Oct 21 2012 - 21:50:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC